$30 off During Our Annual Pro Sale. View Details »

Wep App Frameworks for 6 year olds

Wep App Frameworks for 6 year olds

Sayanee

May 15, 2012
Tweet

More Decks by Sayanee

Other Decks in Technology

Transcript

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

    View Slide

  2. @sayanee_
    Tuesday, May 15, 12

    View Slide

  3. If you can't explain it to a six year old,
    you don't understand it yourself
    Tuesday, May 15, 12

    View Slide

  4. hackers & painters
    What hackers and painters have in common
    is that they're both makers ~ @paulg
    Tuesday, May 15, 12

    View Slide

  5. language story art
    Tuesday, May 15, 12

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

  12. language frameworks
    Tuesday, May 15, 12

    View Slide

  13. language frameworks
    Tuesday, May 15, 12

    View Slide

  14. Tuesday, May 15, 12

    View Slide

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

    View Slide

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

    View Slide

  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

    View Slide

  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

    View Slide

  19. version
    deploy
    code
    test
    agile development
    Tuesday, May 15, 12

    View Slide

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

    View Slide

  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

    View Slide

  22. M V C
    Tuesday, May 15, 12

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

  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

    View Slide

  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

    View Slide

  28. which language or framework should I use ?
    Tuesday, May 15, 12

    View Slide

  29. which language or framework should I use ?
    “ The best camera to use is the one you have on you”
    Tuesday, May 15, 12

    View Slide

  30. should I pick up a new language/framework ?
    Tuesday, May 15, 12

    View Slide

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

    View Slide

  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

    View Slide

  33. @sayanee_
    codes + slides
    Tuesday, May 15, 12

    View Slide