Skip to content
g105b edited this page Jan 14, 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.

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.

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.

As a bonus section, there is an extended tutorial showing how to use JavaScript to create an in-page content management system.

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.

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.

Clone this wiki locally