NYCPHP Meetup

NYPHP.org

[nycphp-talk] Using PHP for a Stand-Alone application

Jon Baer jonbaer at jonbaer.com
Wed Jul 4 15:35:57 EDT 2007


Forgot to paste the second link ... good in-depth article for Gears ...

http://www.onlamp.com/lpt/a/7055

- Jon

On Jul 4, 2007, at 2:03 PM, Jon Baer wrote:

> I think its fair to say that PHP is definitely not a standalone  
> friendly language, the best effort I have seen is something like  
> Phar format but even then you need to bring the kitchen sink to  
> each client and its not a format built into PHP itself (shame).
>
> It's sad that there is not anything like a small lightweight  
> portable vm you can run around with, there is a project called  
> Slingshot in Ruby/Rails which is the idea, a "web browser" with  
> your embedded web app.  I think this issue is what Adobe AIR is  
> trying to showcase.
>
> If the code is possibly doable where it is just really data access,  
> you might look to port your code to Javascript and the client:   
> Firefox with GoogleGears installed.
>
> http://code.google.com/apis/gears/
>
> You can seriously get away with writting a full blown data app w/  
> just a single html file and few lines of Javascript.  Im not sure  
> but I think trying for a single "master" table and then having some  
> mechanism for getting all the "slave" sqlite databases and merging  
> (or copy to master) is a piece that is missing for this solution.
>
> - Jon
>
> On Jul 4, 2007, at 12:45 PM, Rick Retzko wrote:
>
>> Hi All –
>>
>> I’ve developed a web-based audition registration application for  
>> musical organizations (All-State Chorus, Regional Band, etc).  The  
>> application has been well received, but some organizations are too  
>> small to benefit from the web orientation and have asked if the  
>> application could be provided in a single-user version without  
>> hosting.
>>
>>
>>
>> I’m exploring how to rewrite the app in PHP5 using sqlite as the  
>> backend database, but haven’t figured out how to package the code  
>> so that it can be loaded onto another PC without the need to  
>> install and configure an Apache server for each user.  My  
>> prospective clients will not be PC-literate beyond medium-weight  
>> spreadsheet usage.
>>
>>
>>
>> Any and all thoughts are most appreciated!
>>
>>
>>
>> Best Regards -
>>
>>
>>
>> Rick
>>
>> ============
>>
>> MFR Holdings, LLC
>>
>> rick at click-rick.net
>>
>> 201.755.4083
>>
>>
>>
>> _______________________________________________
>> New York PHP Community Talk Mailing List
>> http://lists.nyphp.org/mailman/listinfo/talk
>>
>> NYPHPCon 2006 Presentations Online
>> http://www.nyphpcon.com
>>
>> Show Your Participation in New York PHP
>> http://www.nyphp.org/show_participation.php
>




More information about the talk mailing list