There could be a situation where you would like for an app to respond to HTTP requests. Creating a server that appropriately responds to different requests can be a fairly daunting task.
Fortunately, Fabio Rodella has created a wrapper class for the Mongoose server that handles all http requests, arranges the data, and returns appropriate responses along with a tutorial showing a sample servelet in action. Mongoose is a cross platform open source web server that is often embedded within applications.
You can read more at the Crocodella site here:
Java Style Servlets In Obj-C With Mongoose
The wrapper is available with a sample app on Github here:
Looks like a simple way to add useful server functionality into an app.
[via Under The Bridge]
Submit A Resource
Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?
You can submit the url here.
The resources we feel will appeal to our readers the most will be posted on the front page.