Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Wep App Frameworks for 6 year olds

Wep App Frameworks for 6 year olds

83f7b66c4dee7effbb3717027f99282b?s=128

Sayanee

May 15, 2012
Tweet

Transcript

  1. web app frameworks for 6 year olds Tuesday, May 15,

    12
  2. @sayanee_ Tuesday, May 15, 12

  3. If you can't explain it to a six year old,

    you don't understand it yourself Tuesday, May 15, 12
  4. hackers & painters What hackers and painters have in common

    is that they're both makers ~ @paulg Tuesday, May 15, 12
  5. language story art Tuesday, May 15, 12

  6. language story art தࠃ தமிழ் русский elvish Tuesday, May 15,

    12
  7. language story art தࠃ தமிழ் русский elvish Tuesday, May 15,

    12
  8. language story art தࠃ தமிழ் русский cinderella James Bond elvish

    Odyssey Harry Potter Tuesday, May 15, 12
  9. language story art தࠃ தமிழ் русский cinderella James Bond elvish

    Odyssey Harry Potter Tuesday, May 15, 12
  10. language story art தࠃ தமிழ் русский ballet games paintings movies

    cinderella James Bond elvish Odyssey Harry Potter soundtrack Tuesday, May 15, 12
  11. language story art தࠃ தமிழ் русский ballet games paintings movies

    cinderella James Bond elvish Odyssey Harry Potter soundtrack Tuesday, May 15, 12
  12. language frameworks Tuesday, May 15, 12

  13. language frameworks Tuesday, May 15, 12

  14. Tuesday, May 15, 12

  15. Barcampsg7 Wall comment commenter Tuesday, May 15, 12

  16. from coding to website in 10 lines Tuesday, May 15,

    12
  17. $ rails new barcampsg7 $ rails generate scaffold Wall comment:string

    commenter:string $ rake db:migrate $ git init $ git add . $ git commit -m “Initial Commit” $ heroku create barcampsg7 $ git push heroku master $ heroku rake db:migrate $ heroku db:push Tuesday, May 15, 12
  18. $ rails new barcampsg7 $ rails generate scaffold Wall comment:string

    commenter:string $ rake db:migrate $ git init $ git add . $ git commit -m “Initial Commit” $ heroku create barcampsg7 $ git push heroku master $ heroku rake db:migrate $ heroku db:push version deploy code Tuesday, May 15, 12
  19. version deploy code test agile development Tuesday, May 15, 12

  20. from coding to website in minutes Tuesday, May 15, 12

  21. $ django-admin.py startproject barcampsg7_django $ python manage.py runserver # in

    settings.py 'ENGINE': 'django.db.backend.sqlite3', # in DATABASES 'NAME': 'barcampsg7', # in DATABASES 'django.contrib.admin', # in INSTALLED_APPS # in urls.py uncomment the lines from django.contrib import admin admin.autodiscover() $ python manage.py syncdb # in urls.py uncomment the lines url(r'^admin/', include(admin.site.urls)), #to view /admin $ python manage.py startapp wall #an app with models Tuesday, May 15, 12
  22. M V C Tuesday, May 15, 12

  23. odel iew ontroller M V C Tuesday, May 15, 12

  24. odel iew ontroller M V C Tuesday, May 15, 12

  25. ::parental guidance needed:: install & download ruby, rails, git, heroku,

    python, django rvm, gem Tuesday, May 15, 12
  26. ::parental guidance needed:: install & download ruby, rails, git, heroku,

    python, django rvm, gem ::self-help:: patience & repetition stackoverflow, forums, google errors, irc, github Tuesday, May 15, 12
  27. ::parental guidance needed:: install & download ruby, rails, git, heroku,

    python, django rvm, gem ::self-help:: patience & repetition stackoverflow, forums, google errors, irc, github it seemed like programming consisted of debugging ~ @paulg Tuesday, May 15, 12
  28. which language or framework should I use ? Tuesday, May

    15, 12
  29. which language or framework should I use ? “ The

    best camera to use is the one you have on you” Tuesday, May 15, 12
  30. should I pick up a new language/framework ? Tuesday, May

    15, 12
  31. should I pick up a new language/framework ? musicians to

    programmers Tuesday, May 15, 12
  32. Resources 1. comparison of web frameworks 2. model-view-controller architecture 3.

    For Rails: ruby, rails, rvm, gem 4. For Django: python, django 5. For versioning: git, github 6. For Rails deployment: heroku Tuesday, May 15, 12
  33. @sayanee_ codes + slides Tuesday, May 15, 12