Jump to content
EduGeek EdSec 2026 is Go! 27th Oct in Derby! Join us for a day of EdTech security focused talks, networking, and an evening social ×

Recommended Posts

Posted

I'm in the process of designing a new web site. This will most likely be written in PHP/HTML/Java, using MySQL as a data store.

 

Once the website is completed, I want to transfer the site to a droid app (among other things) and it seems the only (from what I can see) way to do this is by making a REST-ful site.

 

I don't want to create the site until I know exactly what I need. I understand the REST concept (I think), but I can't see any tutorials on how to create a REST-ful site in PHP etc etc

 

Can anybody help me out, or perhaps suggest another way to allow droid apps to retrieve data from a MySQL database?

Posted
Nice presentation I saw a while ago on web services: PHP And Web Services: Perfect Partners

 

PHP MVC frameworks may have libraries that support REST. For example, CodeIgniter (my favourite) has a nice community REST library: philsturgeon's codeigniter-restserver at master - GitHub

 

Thanks - CI is the framework I've become most used to too, but I was hoping to avoid a framework for this project. Have you completed anything in a REST-ful sort of way webman?

Posted
Out of interest, why avoid using a framework?

 

I'm not too sure to be honest. I guess it's just for the learning curve, and I would feel better having written the whole thing myself (for the sake of learning).

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...