Google app engine development with java and php

Post on 08-May-2015

1,074 views 3 download

description

Beginning Appengine with PHP

transcript

AppEngine Development with Java and PHP

by @Samuel_NET

What it is not….

What it is…….

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

Why AppEngine…..

❏ Easy to get started

❏ Automatic scalability (Big grammar)

❏ Reliability, performance and Security of Google’s infrastructure

Programming languages supported by AppEngine

❏ Java

❏ Python

❏ PHP

❏ Go

❏ HTML,CSS and Javascript

Let’s get started…...

Running PHP Web apps on AppEngine

❏ 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

Our first AppEngine code with 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

❏ 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

❏ 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

Beginning AppEngine With Java

❏ 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

What to do next?

Make the right decision NOW

Let the apps building begin!