[MonoTouch] Running a web server on the iPhone

Abe Gillespie abe.gillespie at gmail.com
Wed Aug 25 12:43:59 EDT 2010


Also, if I may be so bold, you might want to have a look at TapWorthy:

http://oreilly.com/catalog/0636920001133

There are reasons why data entry isn't so great on an iPhone - it's a
mobile device.  You should design your software to best fit within the
device's context.

-Abe

On Wed, Aug 25, 2010 at 12:39 PM, Abe Gillespie <abe.gillespie at gmail.com> wrote:
> If you're doing this for data capture then you will have to not only
> implement the web server to serve out html but you'll also have to
> implement handling of POST requests so you can do something with that
> data.  Add round-tripping data, validation, etc., and you quickly have
> quite a large project on your hands.  I'd suggest looking at trying to
> embed XSP instead.
>
> Keep in mind HTTP/HTML has no built in way to take advantage of
> various hardware services like the camera and voice recording.  If you
> needed access to these things then you'd have to wrap the browser on a
> form and then serialize the data from those services over HTTP.
>
> At some point there are diminishing returns.
>
> -Abe
>
> On Wed, Aug 25, 2010 at 11:43 AM, Nic Wise <nicw at fastchicken.co.nz> wrote:
>> Oh, this is NEVER going to handle more than one user. It's not ment as
>> "make your phone a web server", 'cos I agree: thats a stupid idea (esp
>> with the cost of web servers these days)
>>
>> but as a web-based (browser based?) editing platform, for when
>> entering lots of data on the device is just a nightmare.... it makes a
>> lot more sense. It'd be one, maybe 2 users tops.
>>
>>
>>
>> On Wed, Aug 25, 2010 at 16:41, Lennie de Villiers <lennie at soliditech.com> wrote:
>>> I've done something similar years ago on Windows Mobile 6.5.... Its
>>> not worth it, the bandwidth usage, the speed etc... the phone isn't
>>> made to run a web server that can server thousands of requests etc.
>>> After a month of running from the phone I installed it on a server
>>> under my desk and its running since without any problems.
>>>
>>> On Wed, Aug 25, 2010 at 5:32 PM, Miguel de Icaza <miguel at novell.com> wrote:
>>>> Hello,
>>>>
>>>>> why would you want to run a server process on your iPhone?
>>>> Dozens of reasons, including the ability of uploading data to the device
>>>> through WebDav.
>>>> I listed a bunch a few years ago:
>>>> http://tirania.org/blog/archive/2005/Nov-27-1.html
>>>> _______________________________________________
>>>> MonoTouch mailing list
>>>> MonoTouch at lists.ximian.com
>>>> http://lists.ximian.com/mailman/listinfo/monotouch
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Kind Regards,
>>>
>>> Lennie De Villiers
>>> Soliditech (Pty) Ltd
>>> SOLID INFORMATION TECHNOLOGIES
>>>
>>> 23 Franklin Road, Cape Town, 7708
>>> Telephone: +27 21 674 6662
>>> Fax: +27 86 50 11 099
>>> Email: lennie at soliditech.com
>>> Website: http://www.soliditech.com
>>> Disclaimer: http://www.soliditech.com/disclaimer.html
>>> _______________________________________________
>>> MonoTouch mailing list
>>> MonoTouch at lists.ximian.com
>>> http://lists.ximian.com/mailman/listinfo/monotouch
>>>
>>
>>
>>
>> --
>> Nic Wise
>> t.  +44 7788 592806 | @fastchicken | http://www.linkedin.com/in/nicwise
>> b. http://www.fastchicken.co.nz/ | http://www.flickr.com/photos/nicwise
>> _______________________________________________
>> MonoTouch mailing list
>> MonoTouch at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/monotouch
>>
>


More information about the MonoTouch mailing list