Data intensive apps can be done in Cordova.
But you can't write them in CodeIgniter or other PHP frameworks.
You could use CI/PHP on the web server to generate your dataset in JSON
format, and have the Cordova app load it via AJAX. Tthe Cordova app
would query via network, to your custom endpoint.
Or you could use CI/PHP on the web server (even if that's localhost on
your PC) to generate your dataset and dump it to a JSON file, then
download and copy that JSON file into your application's "www" folder,
and load it via a typical <script> tag:
<script src="dbdump.json"></script>
Or you could do a hybrid approach: Have a CI/PHP endpoint which
generates a JSON dump, have your app capable of downloading and saving
this to a file via the File and FileTransfer APIs, and have your app
load from the on-phone database file. This way gets you flexibility to
work offline, and to fetch a new version of your DB via web.
So in my opinion, there's plenty of room for CI/PHP in your app's
development... just not ON the phone.
-g
On 4/24/2014 11:12 AM,
aloto...@gmail.com wrote:
>
> Too bad; so data intensive apps need to be native; makes sense.
>
> Thanks
> Sent from my iPhone
>
> On Apr 24, 2014, at 1:22 PM, Steve Husting <
shus...@aeteam.net
> <mailto:
shus...@aeteam.net>> wrote:
>
>> You can't use PHP files within PG because PHP is a server-side
>> language and there is no server in PG to parse PHP.
>>
>> On Saturday, April 19, 2014 1:29:11 PM UTC-7, Michael Cabus wrote:
>>
>> Hi
>> I have written an app using CodeIgniter...
>>
>> I want to get at local mobile features like adding things to the
>> calendar..
>>
>> Can I use both PhoneGap and a PHP framework, like CodeIgniter?
>>
>> Thanks so much,
>>
>> Michael
>>
>> --
>> -- You received this message because you are subscribed to the Google
>> Groups "phonegap" group.
>> To post to this group, send email to
phon...@googlegroups.com
>> <mailto:
phon...@googlegroups.com>
>> <mailto:
phonegap+u...@googlegroups.com>
>>
www.phonegap.com <
http://www.phonegap.com>
>> <
http://build.phonegap.com>
>> <mailto:
phonegap+u...@googlegroups.com>.
> You received this message because you are subscribed to the Google
> Groups "phonegap" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
phonegap+u...@googlegroups.com
> <mailto:
phonegap+u...@googlegroups.com>.
--
Greg Allensworth, Senior Web GIS Developer
BS A+ Network+ Security+ Linux+ Server+
GreenInfo Network - Information and Mapping in the Public Interest
564 Market Street, Suite 510 San Francisco CA 94104
PH:
541-223-7636 email:
gre...@greeninfo.org
Web:
www.GreenInfo.org www.MapsPortal.org
Subscribe to MapLines, our e-newsletter, at
www.GreenInfo.org