TeamStation AI System Report LATAM IT Salaries 2024
SVCC Drupal+iPhone
1. Drupal + iPhone = AWESOME Silicon Valley Code Camp October 2009 Eneko Alonso ealonso@level-studios.com
2. Eneko Alonso I am a Software Engineer and UI Developer, currently working at Level Studios ealonso@level-studios.com www.level-studios.com www.enekoalonso.com Eneko Alonso ealonso@level-studios.com
4. Drupal: what is it? Content Management System Community (user management, roles, permissions) Base for great web applications Check out www.drupal.org Eneko Alonso ealonso@level-studios.com
8. Drupal+iPhone: why? Let your users access your site on the go But also, great for administration Eneko Alonso ealonso@level-studios.com
9. Setup: what do we need? Eneko Alonso ealonso@level-studios.com
10. Drupal: what we need Drupal site: [X]AMP Server (PHP, Apache, MYSQL) Drupal distribution (6.14 in this demo) JSON API: Services Module JSON Server Module Eneko Alonso ealonso@level-studios.com
11. iPhone: what we need XCode with iPhone SDK (3.0 on this demo) TouchJSON library http://developer.apple.com/iphone/ http://code.google.com/p/touchcode/wiki/TouchJSON Eneko Alonso ealonso@level-studios.com
12. iPhone: what we don’t need iPhone Developer License* * Needed only to put your app in your iPhone for testing. http://developer.apple.com/iphone/ http://code.google.com/p/touchcode/wiki/TouchJSON Eneko Alonso ealonso@level-studios.com
14. Create a user account on the site: http://[server_ip]/user/register Write a new story: http://[server_ip]/node/add/story On XCode 3.1, create a new iPhone project Demo Setup Eneko Alonso ealonso@level-studios.com
15. Drupal Setup Create DB: CREATE DATABASE drupal_iphone_demo; Download drupal: wget http://drupal.org/… Install drupal(browse to your server url) Install and enable modules (Services) Configure user permissions Eneko Alonso ealonso@level-studios.com
16. iPhone Setup Create new Project Add JSON library to project (TouchJSON) Add a button to the view Add a method for system.connect Execute server request and show data on console Eneko Alonso ealonso@level-studios.com