22
AppEngine Development with Java and PHP by @Samuel_NET

Google app engine development with java and php

Embed Size (px)

DESCRIPTION

Beginning Appengine with PHP

Citation preview

Page 1: Google app engine development with java and php

AppEngine Development with Java and PHP

by @Samuel_NET

Page 2: Google app engine development with java and php

What it is not….

Page 3: Google app engine development with java and php
Page 4: Google app engine development with java and php

What it is…….

Page 5: Google app engine development with java and php
Page 6: Google app engine development with java and php

AppEngine is Google’s web server for running/hosting web applications

Page 7: Google app engine development with java and php

Why AppEngine…..

Page 8: Google app engine development with java and php

❏ Easy to get started

❏ Automatic scalability (Big grammar)

❏ Reliability, performance and Security of Google’s infrastructure

Page 9: Google app engine development with java and php

Programming languages supported by AppEngine

❏ Java

❏ Python

❏ PHP

❏ Go

❏ HTML,CSS and Javascript

Page 10: Google app engine development with java and php

Let’s get started…...

Page 11: Google app engine development with java and php

Running PHP Web apps on AppEngine

Page 12: Google app engine development with java and php

❏ Install python 2.7 (required)

❏ Install PHP SDK for AppEngine (required)

❏ Write “Hello Appengine code” in PHP

❏ Modify app.yaml file

❏ Run AppEngine Development server(Launcher)

**Please note that this files are in the USB sticks given to you when we started

Page 13: Google app engine development with java and php

Our first AppEngine code with PHP

Page 14: Google app engine development with java and php

❏ Create a new folder called gcdc

❏ Create a new file called “index.php” and type the following:

<?php

echo “Hello Appengine!!!”;

❏ Save this file in the “gcdc” folder

Page 15: Google app engine development with java and php

❏ Create a new file called app.yaml

❏ Add the following items:

application: helloworld

version: 1

runtime: php

api_version: 1

handlers:

- url: /.*

script: helloworld.php

Page 16: Google app engine development with java and php

❏ Launch the Development server

❏ Navigate to the gcdc folder

❏ Check your project launch settings

❏ click “Run”

...and Voila! You are in! Welcome to AppEngine with PHP

* Please call my attention if you experience any challenge

Page 17: Google app engine development with java and php

Beginning AppEngine With Java

Page 18: Google app engine development with java and php

❏ Install Java (required)

❏ Extract Eclipse zipped file

❏ Launch Eclipse

❏ Create New Web Application

❏ Uncheck Google Web toolkit

❏ Add project name and package name

❏ Click Ok

❏ Click “Debug as web application”

**Please note that this files are in the USB sticks given to you when we started

Page 19: Google app engine development with java and php

What to do next?

Page 20: Google app engine development with java and php

Make the right decision NOW

Page 21: Google app engine development with java and php

Let the apps building begin!

Page 22: Google app engine development with java and php