-
-
Notifications
You must be signed in to change notification settings - Fork 6
Tutorials
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.
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.
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.
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.
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.
Website | Packagist | CircleCI | Scrutinizer
- Request-response lifecycle
- Running your application
- Project layout
- Application architecture
- Web servers
- URIs
- Page view
- Dynamic URIs and pages
- Headers and footers
- Page logic
- Protected globals
- User input
- Cookies
- Sessions
- DOM manipulation
- Custom HTML components
- DOM templates
- Binding data to the DOM
- Database
- Client side assets
- API Webservices
- Security
- Configuration
- Build system
- Coding styleguide