-
-
Notifications
You must be signed in to change notification settings - Fork 6
Tutorials
Please be patient with us! The tutorials are not yet written, but the PHP.Gt journey has been planned, which you can see below.
This tutorial shows you the basics of setting up your development environment to get started coding in PHP.Gt as quick as possible - a simple webserver set-up guide.
View the Getting started tutorial(tutorial~Getting-started)
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(tutorial~Hello-World)
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(tutorial~Hello-you)
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(tutorial~Content-management)
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(tutorial~Blog)
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(tutorial~Database-tables)
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(tutorial~Authentication)
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(tutorial~Caching-http)
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(tutorial~Unit-testing)
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(tutorial~Behavioural-driven-development)
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(tutorial~Cloud-Console)
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 Continuous Integration tutorial(tutorial~Continuous-integration)
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