A web application has a bunch of urls, each connected to a different function. 
Define an url to set a parameter and connect it to the function that sets this 
parameter. Use this url only in the iOS application. You may want to use some 
authentication protocol to authorize the parameter setting, but this should be 
already provided by your web application framework. 

-- 
__Pascal Bourguignon__

> Le 23 sept. 2016 à 16:46, Eric E. Dolecki <edole...@gmail.com> a écrit :
> 
> Thanks for your reply. I'm not sure I'm following, though. Do you mean to 
> send it query strings? I could make the HTML page of the app a PHP page. If 
> that's what you meant.
> 
> Eric
> 
>> On Fri, Sep 23, 2016 at 10:42 AM Pascal Bourguignon <p...@informatimago.com> 
>> wrote:
>> Just write some http app on the laptop, and hit it with requests (urls) from 
>> the iOS app; this would be the Q&D way to do it easily and with some level 
>> of security (https).
>> 
>> Since you already have a web app, you can just add some admin requests to it.
>> --
>> __Pascal Bourguignon__
>> 
>> > Le 23 sept. 2016 à 16:27, Eric E. Dolecki <edole...@gmail.com> a écrit :
>> >
>> > I am going to have a web application running on a local laptop - which runs
>> > various a prototype of a user experience.
>> >
>> > I've been asked to add an iOS application to the mix, to control parameters
>> > in the running app on the laptop.
>> >
>> > What might be the best way to architect this type of set up (and also
>> > easiest)? Have the web app poll a file for contents - and have the iOS app
>> > talk to a PHP page with POSTs of values and write to that file - and have
>> > my app poll it? Sounds terrible. Some AJAX thing? I'd like to avoid a
>> > database if possible.
>> >
>> > Just throwing this out there. If it's too off-topic, please disregard this.
>> >
>> > Thanks,
>> > Eric
>> > _______________________________________________
>> >
>> > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
>> >
>> > Please do not post admin requests or moderator comments to the list.
>> > Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>> >
>> > Help/Unsubscribe/Update your Subscription:
>> > https://lists.apple.com/mailman/options/cocoa-dev/pjb%40informatimago.com
>> >
>> > This email sent to p...@informatimago.com
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to