Gae開発入門

6,493 views
6,351 views

Published on

2011/05/07 四国GTUG主催のGAE開発入門のスライドです。

Published in: Technology, Education
0 Comments
5 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
6,493
On SlideShare
0
From Embeds
0
Number of Embeds
1,132
Actions
Shares
0
Downloads
32
Comments
0
Likes
5
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Gae開発入門

    1. 1. GAESlim3
    2. 2. •• H/N twitter: @patorash• Android, CakePHP, WordPress, GAE(?) etc...• Android GTUG• 2 PHP 5 Softbank Desire Android 12
    3. 3. GAE
    4. 4. • Java, JSP/Servlet (JSP/Servlet )
    5. 5. • Java, JSP/Servlet (JSP/Servlet )•
    6. 6. • Java, JSP/Servlet (JSP/Servlet )••
    7. 7. • Java, JSP/Servlet (JSP/Servlet )•••
    8. 8. GAE• Google App Engine• Java , Python JRuby, Scala OK• BigTable•
    9. 9. GAE• Google App Engine• Java , Python JRuby, Scala OK• BigTable• ★Google
    10. 10. GAE• Google App Engine• Java , Python JRuby, Scala OK• BigTable• ★Google ★
    11. 11. GAE• Google App Engine• Java , Python JRuby, Scala OK• BigTable• ★Google ★ ★
    12. 12. GAE• Google App Engine• Java , Python JRuby, Scala OK• BigTable• ★Google ★ ★ ★
    13. 13. GAE• Google App Engine• Java , Python JRuby, Scala OK• BigTable• ★Google ★ ★ ★ ★appspot.com SSL
    14. 14. GAE• Google App Engine• Java , Python JRuby, Scala OK• BigTable• ★Google ★ ★ ★ ★appspot.com SSL ★ SSL
    15. 15. GAE• ※ 1 2• 2• 2 500• Google Checkout
    16. 16. Amazon EC2 GAE Google Java / Python BigTable(1 )
    17. 17. Amazon EC2 GAE Google Java / Python BigTable(1 ) GAE
    18. 18. Python Java
    19. 19. Python Java• Python
    20. 20. Python Java• Python• Java Android Java
    21. 21. Python Java• Python• Java Android Java• BigTable GAE/Java Slim3
    22. 22. GAE/Java Slim3• GAE/Java ★JSP/Servlet • Slim3 ★BigTable ★BigTable ★BigTable ✦Low Level API ✦JDO ★WebAPI ✦JSON ✦JPA ★Ant ✦Low Level API ★
    23. 23. GAE/Java Slim3• GAE/Java ★JSP/Servlet • Slim3 ★BigTable ★BigTable ★BigTable ✦Low Level API ✦JDO ★WebAPI ✦JSON ✦JPA ★Ant ✦Low Level API ★
    24. 24. • Eclipse Helios(3.6)• Google Plugin(Eclipse Marketplace ) ★ GAE/Java SDK• Slim3 Plugin(Slim3 URL ) ★• Properties Editor(Eclipse Marketplace ) ★
    25. 25. Hello, world1.Project Slim3 Plugin2.build.xml3.Outline gen-controller Run As → Ant Build4. URL /5.6. Project Run As → Web Application7.http://localhost:8888/
    26. 26. GAE
    27. 27. GAE GAE
    28. 28. GAE GAE1.Project Google → App Engine Setting2.Application ID ApplicationID3.Project Google → Deploy to App Engine4. Google5.6. OK
    29. 29. Slim3•• https://github.com/patorash/SampleBBS Downloads zip• Eclipse File → import• Existing Projects into Workspace• Select archive file DL zip finish•
    30. 30. GAE• Big Table Key Value Store ★ → ★ → ★ →• 1MB•• 1
    31. 31. Slim3• Ant• Model• GAE 1
    32. 32. Model• ★ = ★Model = ★ =• Bbs Comment• build.xml• setter, getter• (ModelRef<class>)
    33. 33. Service• build.xml•• Create, Read, Update, Delete
    34. 34. Controller• build.xml• gen-controller controller war JSP (JSP View)• View gen-controller-without-view controller (WebAPI )
    35. 35. View• war JSP• Controller JSP• JSP import
    36. 36. POST• Controller• Validators request Validators v = new Validators(request);• v.add(“name”, v.required());• false v.validate();• errors JSP• application_ja.properties
    37. 37. • URL (http://localhost:8888/read/100 /read?id=100 )• AppRouter.java addRouting("/read/{id}", "/read?id={id}");

    ×