Hey guys i decided to go with Sergey suggestion to use Codeigniter PHP framework. It pretty awesome and simple to use, currently I have tested at against the Database I built and it is correctly posting and getting Database entries. For now i am making it return all the data in a XML format, so far no problems.
So far it can:
- Add a New Place to the Database
- Get all the Places.
- Add a Image Location (Possible a link to Flikr address of the image) to the database.
- Get all the images of Place based on its ID.
- Add a Post for a Place to the database.
- Get all the Posts from the database for a Place.
Example Output for getting all the Places:
<root>
<element>
<ID>1</ID>
<Name>happy place</Name>
<Latitude>-41.318278</Latitude>
<Longitude>174.79735</Longitude>
<DateFound>2013-05-26 16:28:28</DateFound>
</element>
<element>
<ID>2</ID>
<Name>WonderLand</Name>
<Latitude>-41.318278</Latitude>
<Longitude>174.79735</Longitude>
<DateFound>2013-05-26 16:29:05</DateFound>
</element>
</root>
Next step is putting the controller into the Amazon Web Server.
No comments:
Post a Comment