Hi Brendan,

We have developed several native applications that speak to a PHP based
server backend.

The most familiar approach to development will be as others have stated to
use something like phonegap that will allow you to work with concepts that
are familiar. However with either a native app or a phone gap application,
there will be pros and cons for using each.

Developing a native application does have a steep learning curve as the
concepts are quite different to how you would approach developing a web
based application, but you do get a look and feel that is more consisten
with the platform and also certain performance benefits. The webkit
available to developers is running in a slightly more restricted mode than
the one available to safari and so is not as performant.

When evaluating solutions like phone gap ran in to some difficulties in
marshalling data between the html/javascript of phone gap and native
code/plug ins, this however may have changed but at the time was limiting
enough to make us write a full native app.

In terms of developing our API/ web services, we went with JSON and
JSON-RPC as XML and XML based services like soap present a much higher
overhead and above all in a mobile context you need to be aware of latency
and large payload overheads. If performance is a real issue and you are
only planning on targeting iOS and a native application you way want to
look using the plist format which a native iOS/OSX format that has rather
fast interpreter baked in to the OS.

Other things we paid attention to were ensuring that our API application
could support conditional requests (If-None-Match/If-Modified-Since) and
also byte range requests. This is to ensure that requests are, where
possible kept as short as possible and, if in an ideal world, avoid a round
trip to the server.

Cheers
John



On 23 June 2013 15:35, Brendan Brink <[email protected]> wrote:

> Afternoon all,
>
> Was wondering if any of you had had any luck / experience with finding
> resources for learning iOS for iphone / ipad apps and connecting easily to
> php services.
>
> Am looking into making an app for a client and wondered if could fast
> track learning the iOS framework by reading material designed for PHP
> programmers / ability to develop basic iOS interfaces that interact with
> mainly a backend PHP service / MYSQL back end database.
>
> Hope makes sense, look forward to any suggestions...
>
> Cheers
> Brendan.
>
> --
> --
> NZ PHP Users Group: http://groups.google.com/group/nzphpug
> To post, send email to [email protected]
> To unsubscribe, send email to
> [email protected]
> ---
> You received this message because you are subscribed to the Google Groups
> "NZ PHP Users Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
--- 
You received this message because you are subscribed to the Google Groups "NZ 
PHP Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to