SlideShare uma empresa Scribd logo
1 de 42
GAE
Slim3
•

•   H/N                twitter: @patorash
•                      Android, CakePHP, WordPress, GAE(?) etc...
•         Android                                    GTUG
•

                         2                  PHP
    5               Softbank Desire                          Android
          12
GAE
•        Java, JSP/Servlet
    (JSP/Servlet             )
•        Java, JSP/Servlet
    (JSP/Servlet             )
•
•        Java, JSP/Servlet
    (JSP/Servlet             )
•

•
•        Java, JSP/Servlet
    (JSP/Servlet             )
•

•

•
GAE
•   Google App Engine
•                   Java , Python JRuby, Scala   OK
•                  BigTable
•
GAE
•   Google App Engine
•                   Java , Python JRuby, Scala   OK
•                  BigTable
•

    ★Google
GAE
•   Google App Engine
•                   Java , Python JRuby, Scala   OK
•                  BigTable
•

    ★Google

    ★
GAE
•   Google App Engine
•                   Java , Python JRuby, Scala   OK
•                  BigTable
•

    ★Google

    ★

    ★
GAE
•   Google App Engine
•                   Java , Python JRuby, Scala   OK
•                  BigTable
•

    ★Google

    ★

    ★

    ★
GAE
•   Google App Engine
•                   Java , Python JRuby, Scala         OK
•                  BigTable
•

    ★Google

    ★

    ★

    ★

    ★appspot.com                                 SSL
GAE
•   Google App Engine
•                   Java , Python JRuby, Scala         OK
•                  BigTable
•

    ★Google

    ★

    ★

    ★

    ★appspot.com                                 SSL
    ★                            SSL
GAE




•   ※             1   2
•   2
•   2                     500


•   Google Checkout
Amazon EC2                GAE

                  Google
                     Java / Python
                       BigTable


(1            )
Amazon EC2                GAE

                  Google
                     Java / Python
                       BigTable


(1            )




          GAE
Python   Java
Python   Java



•   Python
Python        Java



•   Python
•   Java              Android Java
Python              Java



•   Python
•   Java                  Android Java




•   BigTable            GAE/Java
    Slim3
GAE/Java Slim3

•   GAE/Java
    ★JSP/Servlet            •   Slim3
    ★BigTable                   ★BigTable
    ★BigTable                       ✦Low   Level API
      ✦JDO                      ★WebAPI

                                    ✦JSON
      ✦JPA
                                ★Ant

      ✦Low   Level API          ★
GAE/Java Slim3

•   GAE/Java
    ★JSP/Servlet            •   Slim3
    ★BigTable                   ★BigTable
    ★BigTable                       ✦Low   Level API
      ✦JDO                      ★WebAPI

                                    ✦JSON
      ✦JPA
                                ★Ant

      ✦Low   Level API          ★
• Eclipse Helios(3.6)
• Google Plugin(Eclipse Marketplace         )
    ★        GAE/Java SDK
•   Slim3 Plugin(Slim3                      URL     )
    ★

•   Properties Editor(Eclipse Marketplace       )
    ★
Hello, world
1.Project           Slim3 Plugin
2.build.xml
3.Outline        gen-controller
 Run As → Ant Build
4.               URL               /
5.
6.                     Project
 Run As → Web Application
7.http://localhost:8888/
GAE
GAE

 GAE
GAE

                GAE

1.Project             Google → App Engine Setting
2.Application ID            ApplicationID

3.Project             Google → Deploy to App Engine
4.          Google


5.
6.
              OK
Slim3

•

•   https://github.com/patorash/SampleBBS
                      Downloads      zip
•   Eclipse               File → import
•   Existing Projects into Workspace
•   Select archive file       DL        zip   finish
•
GAE
•   Big Table             Key Value Store
    ★           →
    ★    →
    ★           →
•                         1MB


•



•                    1
Slim3

•   Ant
•   Model


•



    GAE         1
Model

•

    ★            =
    ★Model             =
    ★                      =
•   Bbs Comment
•   build.xml
•   setter, getter
•                    (ModelRef<class>)
Service



•   build.xml
•

•   Create, Read, Update, Delete
Controller


•   build.xml
•   gen-controller controller     war        JSP
           (JSP   View)
•   View                     gen-controller-without-view controller
                  (WebAPI                    )
View


•   war                    JSP
•                  Controller    JSP


•   JSP   import
POST

•   Controller
•   Validators          request
        Validators v = new Validators(request);

•

        v.add(“name”, v.required());

•                          false
        v.validate();

•   errors                  JSP


•                application_ja.properties
•   URL
    (http://localhost:8888/read/100   /read?id=100   )
•   AppRouter.java
    addRouting("/read/{id}", "/read?id={id}");

Mais conteúdo relacionado

Mais procurados

Enterprise Architectures with Ruby (and Rails)
Enterprise Architectures with Ruby (and Rails)Enterprise Architectures with Ruby (and Rails)
Enterprise Architectures with Ruby (and Rails)
Konstantin Gredeskoul
 

Mais procurados (20)

Building a PWA with Ionic, Angular and Spring Boot - Jfokus 2017
Building a PWA with Ionic, Angular and Spring Boot - Jfokus 2017Building a PWA with Ionic, Angular and Spring Boot - Jfokus 2017
Building a PWA with Ionic, Angular and Spring Boot - Jfokus 2017
 
What's New in JHipsterLand - Devoxx US 2017
What's New in JHipsterLand - Devoxx US 2017What's New in JHipsterLand - Devoxx US 2017
What's New in JHipsterLand - Devoxx US 2017
 
淺談 Startup 公司的軟體開發流程 v2
淺談 Startup 公司的軟體開發流程 v2淺談 Startup 公司的軟體開發流程 v2
淺談 Startup 公司的軟體開發流程 v2
 
Calabash-android
Calabash-androidCalabash-android
Calabash-android
 
OpenAPI Specification概要
OpenAPI Specification概要OpenAPI Specification概要
OpenAPI Specification概要
 
Swagger 2.0: Latest and Greatest
Swagger 2.0: Latest and GreatestSwagger 2.0: Latest and Greatest
Swagger 2.0: Latest and Greatest
 
KYSUC - Keep Your Schema Under Control
KYSUC - Keep Your Schema Under ControlKYSUC - Keep Your Schema Under Control
KYSUC - Keep Your Schema Under Control
 
Maximize the power of OSGi in AEM
Maximize the power of OSGi in AEM Maximize the power of OSGi in AEM
Maximize the power of OSGi in AEM
 
The Ultimate Getting Started with Angular Workshop - Devoxx France 2017
The Ultimate Getting Started with Angular Workshop - Devoxx France 2017The Ultimate Getting Started with Angular Workshop - Devoxx France 2017
The Ultimate Getting Started with Angular Workshop - Devoxx France 2017
 
Calabash Andoird + Calabash iOS
Calabash Andoird + Calabash iOSCalabash Andoird + Calabash iOS
Calabash Andoird + Calabash iOS
 
Euroclojure2014: Schema & Swagger - making your Clojure web APIs more awesome
Euroclojure2014: Schema & Swagger - making your Clojure web APIs more awesomeEuroclojure2014: Schema & Swagger - making your Clojure web APIs more awesome
Euroclojure2014: Schema & Swagger - making your Clojure web APIs more awesome
 
Experiences building apps with React Native @DomCode 2016
Experiences building apps with React Native @DomCode 2016Experiences building apps with React Native @DomCode 2016
Experiences building apps with React Native @DomCode 2016
 
Loading native plugins using PhoneGap content-sync
Loading native plugins using PhoneGap content-syncLoading native plugins using PhoneGap content-sync
Loading native plugins using PhoneGap content-sync
 
SEO Why bother if your site is dead slow
SEO Why bother if your site is dead slowSEO Why bother if your site is dead slow
SEO Why bother if your site is dead slow
 
Mojolicious mvc
Mojolicious mvcMojolicious mvc
Mojolicious mvc
 
Scala on Rails #rakutentech
Scala on Rails #rakutentechScala on Rails #rakutentech
Scala on Rails #rakutentech
 
Spring Boot and JHipster
Spring Boot and JHipsterSpring Boot and JHipster
Spring Boot and JHipster
 
PhoneGap Day EU 2016 - Closing Remarks
PhoneGap Day EU 2016 -  Closing RemarksPhoneGap Day EU 2016 -  Closing Remarks
PhoneGap Day EU 2016 - Closing Remarks
 
Enterprise Architectures with Ruby (and Rails)
Enterprise Architectures with Ruby (and Rails)Enterprise Architectures with Ruby (and Rails)
Enterprise Architectures with Ruby (and Rails)
 
Different ways of integrating React into Rails - Mikhail Bortnyk
Different ways of integrating React into Rails - Mikhail BortnykDifferent ways of integrating React into Rails - Mikhail Bortnyk
Different ways of integrating React into Rails - Mikhail Bortnyk
 

Semelhante a Gae開発入門

Introduction to Google App Engine
Introduction to Google App EngineIntroduction to Google App Engine
Introduction to Google App Engine
mdc11
 

Semelhante a Gae開発入門 (20)

Go on GAE (Go Israel Meetup)
Go on GAE (Go Israel Meetup)Go on GAE (Go Israel Meetup)
Go on GAE (Go Israel Meetup)
 
Google App Engine Java, Groovy and Gaelyk
Google App Engine Java, Groovy and GaelykGoogle App Engine Java, Groovy and Gaelyk
Google App Engine Java, Groovy and Gaelyk
 
Introduction to Google App Engine
Introduction to Google App EngineIntroduction to Google App Engine
Introduction to Google App Engine
 
Google App Engine
Google App EngineGoogle App Engine
Google App Engine
 
Introduction to Play Framework
Introduction to Play FrameworkIntroduction to Play Framework
Introduction to Play Framework
 
Real World Java 9
Real World Java 9Real World Java 9
Real World Java 9
 
Rapid Application Development on Google App Engine for Java
Rapid Application Development on Google App Engine for JavaRapid Application Development on Google App Engine for Java
Rapid Application Development on Google App Engine for Java
 
Polyglot Grails
Polyglot GrailsPolyglot Grails
Polyglot Grails
 
Implementing your own Google App Engine
Implementing your own Google App Engine Implementing your own Google App Engine
Implementing your own Google App Engine
 
Devfest09 App Engine Java
Devfest09  App Engine  JavaDevfest09  App Engine  Java
Devfest09 App Engine Java
 
初心者向けGAE/Java説明資料
初心者向けGAE/Java説明資料初心者向けGAE/Java説明資料
初心者向けGAE/Java説明資料
 
자바를 잡아주는 GURU가 있다구!? - 우여명 (아이스크림에듀) :: AWS Community Day 2020
자바를 잡아주는 GURU가 있다구!? - 우여명 (아이스크림에듀) :: AWS Community Day 2020 자바를 잡아주는 GURU가 있다구!? - 우여명 (아이스크림에듀) :: AWS Community Day 2020
자바를 잡아주는 GURU가 있다구!? - 우여명 (아이스크림에듀) :: AWS Community Day 2020
 
Padrino - the Godfather of Sinatra
Padrino - the Godfather of SinatraPadrino - the Godfather of Sinatra
Padrino - the Godfather of Sinatra
 
Github Copilot vs Amazon CodeWhisperer for Java developers at JCON 2023
Github Copilot vs Amazon CodeWhisperer for Java developers at JCON 2023Github Copilot vs Amazon CodeWhisperer for Java developers at JCON 2023
Github Copilot vs Amazon CodeWhisperer for Java developers at JCON 2023
 
Deploy Python apps in 5 min with a PaaS
Deploy Python apps in 5 min with a PaaSDeploy Python apps in 5 min with a PaaS
Deploy Python apps in 5 min with a PaaS
 
Real World Java 9 - JetBrains Webinar
Real World Java 9 - JetBrains WebinarReal World Java 9 - JetBrains Webinar
Real World Java 9 - JetBrains Webinar
 
Gaelyk update - Guillaume Laforge - SpringOne2GX 2011
Gaelyk update - Guillaume Laforge - SpringOne2GX 2011Gaelyk update - Guillaume Laforge - SpringOne2GX 2011
Gaelyk update - Guillaume Laforge - SpringOne2GX 2011
 
Python x Django
Python x DjangoPython x Django
Python x Django
 
Impression of Rails 3
Impression of Rails 3Impression of Rails 3
Impression of Rails 3
 
goaを使った開発TIPS@六本木一丁目
goaを使った開発TIPS@六本木一丁目goaを使った開発TIPS@六本木一丁目
goaを使った開発TIPS@六本木一丁目
 

Mais de 豊明 尾古

KotlinAndroidLibを使ってみた
KotlinAndroidLibを使ってみたKotlinAndroidLibを使ってみた
KotlinAndroidLibを使ってみた
豊明 尾古
 
Rubyistのためのkotlin紹介
Rubyistのためのkotlin紹介Rubyistのためのkotlin紹介
Rubyistのためのkotlin紹介
豊明 尾古
 

Mais de 豊明 尾古 (20)

OSS-DB 取得のススメ
OSS-DB 取得のススメOSS-DB 取得のススメ
OSS-DB 取得のススメ
 
Ormとの付き合い方
Ormとの付き合い方Ormとの付き合い方
Ormとの付き合い方
 
Ecmascript2015とその周辺について
Ecmascript2015とその周辺についてEcmascript2015とその周辺について
Ecmascript2015とその周辺について
 
ActiveRecord::Enumのススメ
ActiveRecord::EnumのススメActiveRecord::Enumのススメ
ActiveRecord::Enumのススメ
 
便利なHerokuと active recordの 速度改善tips
便利なHerokuと active recordの 速度改善tips便利なHerokuと active recordの 速度改善tips
便利なHerokuと active recordの 速度改善tips
 
ウェブアプリケーションのためのユニバーサルデザインを読んだので共有する
ウェブアプリケーションのためのユニバーサルデザインを読んだので共有するウェブアプリケーションのためのユニバーサルデザインを読んだので共有する
ウェブアプリケーションのためのユニバーサルデザインを読んだので共有する
 
Middlemanによる静的サイト作成術
Middlemanによる静的サイト作成術Middlemanによる静的サイト作成術
Middlemanによる静的サイト作成術
 
Kotlinのwebフレームワーク探訪
Kotlinのwebフレームワーク探訪Kotlinのwebフレームワーク探訪
Kotlinのwebフレームワーク探訪
 
Rails templateで開発の初速を上げよう
Rails templateで開発の初速を上げようRails templateで開発の初速を上げよう
Rails templateで開発の初速を上げよう
 
KotlinAndroidLibを使ってみた
KotlinAndroidLibを使ってみたKotlinAndroidLibを使ってみた
KotlinAndroidLibを使ってみた
 
Rubyistのためのkotlin紹介
Rubyistのためのkotlin紹介Rubyistのためのkotlin紹介
Rubyistのためのkotlin紹介
 
Kotlinの紹介
Kotlinの紹介Kotlinの紹介
Kotlinの紹介
 
Slimの紹介
Slimの紹介Slimの紹介
Slimの紹介
 
Calabashでbddしようぜ
CalabashでbddしようぜCalabashでbddしようぜ
Calabashでbddしようぜ
 
Rubotoを試してみた
Rubotoを試してみたRubotoを試してみた
Rubotoを試してみた
 
Successful git
Successful gitSuccessful git
Successful git
 
アプリ内課金してみた
アプリ内課金してみたアプリ内課金してみた
アプリ内課金してみた
 
Webデザイナーのためのandroid用レイアウト講座
Webデザイナーのためのandroid用レイアウト講座Webデザイナーのためのandroid用レイアウト講座
Webデザイナーのためのandroid用レイアウト講座
 
Android 3.Xアプリを開発してみて
Android 3.Xアプリを開発してみてAndroid 3.Xアプリを開発してみて
Android 3.Xアプリを開発してみて
 
ABC2011 Winter #jag4
ABC2011 Winter #jag4ABC2011 Winter #jag4
ABC2011 Winter #jag4
 

Último

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Último (20)

What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 

Gae開発入門

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

Notas do Editor

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. \n
  20. \n
  21. \n
  22. \n
  23. \n
  24. \n
  25. \n
  26. \n
  27. \n
  28. \n
  29. \n
  30. \n
  31. \n
  32. \n
  33. \n
  34. \n
  35. \n
  36. \n
  37. \n
  38. \n
  39. \n