Upload
gede-lumbung-suma-wijaya
View
2.821
Download
1
Embed Size (px)
DESCRIPTION
10th PHP Indonesia Surabaya Meetup - PHP on Google App Engine
Citation preview
PHP ON GOOGLE APP ENGINE1 0 T H P H P I N D O N E S I A S U R A B AYA M E E T U PG E D E L U M B U N G
APA ITU PAAS..??Model penyediaan layanan memungkinkan pelanggan untuk menyewa server virtual dan layanan terkait untuk menjalankan aplikasi yang ada atau untuk mengembangkan dan pengujian yang baru.
10th PHPIndonesia Surabaya MeetUp
CONTOH LAYANAN PAAS• Google App Engine• Amazon Web Service• Windows Azure• Engine Yard• etc
10th PHPIndonesia Surabaya MeetUp
GOOGLE APP ENGINE
• Layanan PaaS milik Google• Free space 500 Mb + 5 million pageview per month• Python, Java, PHP, Go, Cloud SQL
10th PHPIndonesia Surabaya MeetUp
LETS GETTING STARTED..• Download Google App Engine SDK for PHP• Download composer for local development• Install Silex Micro PHP Framework• Sign Up for an Account• Upload Application to Server
• Via project launcher• Using Git to Push and Deploy
• Maintenance App
10th PHPIndonesia Surabaya MeetUp
DOWNLOAD GOOGLE APP ENGINE SDK FOR PHP
• Python 2.7• PHP 5.4• App Engine PHP SDk• MySQL (optional)
10th PHPIndonesia Surabaya MeetUp
DOWNLOAD COMPOSER
• Composer for local development
10th PHPIndonesia Surabaya MeetUp
curl -sS https://getcomposer.org/installer | php
INSTALL SILEX MICRO PHP FRAMEWORK
10th PHPIndonesia Surabaya MeetUp
{ "require": { "silex/silex": "~1.1", "twig/twig": "v1.13.2” }}
SIGN UP FOR AN ACCOUNT
10th PHPIndonesia Surabaya MeetUp
• https://appengine.google.com/
UPLOAD APP – VIA PROJECT LAUNCHER
10th PHPIndonesia Surabaya MeetUp
UPLOAD APP – USING GIT PUSH AND DEPLOY
10th PHPIndonesia Surabaya MeetUp
• Create new project -> Cloud Console
git initgit add ./git commit -m 'Initial version' -agit remote add appengine <repo-url>git push appengine master
MAINTENANCE APP
10th PHPIndonesia Surabaya MeetUp
• Commit and Push• Change version number on app.yaml