-
-
Notifications
You must be signed in to change notification settings - Fork 6
Build system
The Build repository is separately maintained at https://github.com/PhpGt/Build
WebEngine's responsibility is purely within your application's server-side PHP code, but it plays well with client-side technologies such as EcmaScript and Sass.
As standard, WebEngine comes with the gt build
command, as described in the gt commands section, which provides a system for defining and running client-side build processes automatically, using tools already installed by your favourite client-side dependency manager.
However, if you prefer to use a particular build system, you can do without affecting WebEngine at all.
The PHP.Gt/Build system is only concerned with executing pre-defined build commands on client-side files, and does not aim to manage client-side tooling dependencies. The idea is that as a developer you can handle that yourself, or use an already understood client-side dependency manager to handle this for you.
// Runs in a separate process to WebEngine
// Can be run with --watch
flag to execute every time a file changes, which is useful for local development.
// Layout of the json file
// Source file patterns to check -> command to run
// Default provided for you by WebEngine
// Allows the use of existing tooling setups with minimal configuration.
// ES6 compilation
// Sass compilation
// Asset syncing
// TODO: Add example of HAML->HTML or something like that.
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