Skip to content
Greg Bowler edited this page Sep 16, 2013 · 22 revisions

Hello, World!

This tutorial shows how to set up a new PHP.Gt application and introduces the concept of a PageView, by displaying a static HTML page containing the traditional "Hello, World!" message.

View the Hello, World! tutorial

Hello, You!

This tutorial will introduce the concept of PageCode, the code is executed in context of individual pages. We will expand the Hello, World! application made in the first tutorial and add a form which takes your name, replacing the greeting with what was typed into the form.

View the Hello, You! tutorial

Content Management

In this tutorial, you will be introduced to the concept of a PageTool by building a static page, adding dummy content into the HTML and then transform it into a database-driven page. This workflow is very useful for when web designers don't code - it shows how easily a static design can be made into a live page.

View the Content Management tutorial

Building a blog

This tutorial introduces the concept of template elements within your PageViews by treating certain HTML elements as templates, outputting them with injected content. Also, you will learn how to use DOM manipulation techniques to correctly modify the outputted content in your pages.

View the Blog tutorial

Database tables

In this tutorial, the concepts of the database API and auto-deployment will be explained. Database tables will be designed using MySQL workbench, and an application called "Bookface" will be created which allows images to be uploaded and anonymously rated. You will also be introduced to the User PageTool to anonymously track visitors.

View the Database tables tutorial

Authentication

In this tutorial, the previous content management tutorial will be expanded by adding user authentication so that only logged in users can edit the content. You will learn how to authenticate users using OAuth, using Google, Facebook or Twitter as the provider.

View the Authentication tutorial

Caching and HTTP

In this tutorial, the Http class will be used to connect to the Vimeo API, retrieving information about videos and embedding videos on the page. The results of querying the API will be cached for optimisation.

View the Caching and HTTP tutorial

Unit testing

In this tutorial, the concept of unit testing your applications will be explained, and you will learn how they are used to automatically deploy your application to the cloud.

View the Unit Testing tutorial

Behaviour driven development

In this tutorial, the test-driven development techniques from the previous tutorial will be expanded upon by adding behavioural tests to test user interaction and business expectations.

View the Behaviour driven development tutorial

Starting out with PHP.Gt Cloud Console

This tutorial introduces the PHP.Gt Cloud Console which can be used to automatically host your code repositories and serve your applications to the internet.

View the Starting out with PHP.Gt Cloud tutorial

Continuous integration

This tutorial shows how unit tests and git can be used to push new versions of code to live webservers through the PHP.Gt Cloud console, and how you can revert changes on servers, and migrate between database versions.

View the Automatically deploying applications tutorial


Continue to the full documentation

Clone this wiki locally