EXC | DEV | Documentation | Version 1.0


ExpressCODE (EXC) is a no frills, no fad, lets just get some work done framework to build web apps in JavaScript and PHP.

Creating web apps with EXC is meant to be simple, something that you can pickup and learn quickly. We put a lot of effort into making framework for modern web apps that is simple and lightweight.

EXC combines a client-side JavaScript framework with a backend framework in PHP, both loosely couple yet fully integrated.

Our goals are:

To reduce and simplify the components that you have to code to make a web application.

To keep the learning curve low.

To reduce the security and operational complexity of deploying an application.

To leverage robust architectures and environments. To be able to deploy your app with common hosting companies (even vhosts), and use technologies like apache, and nginx, that are well documented, easy to scale and extremely cost-effective.

This documentation is in its early stages. Things are thrown together in a haphazard way, Sorry!.


Getting Started
Install and setup
How to install EXC and setup an application.
Hello World!
A simple tutorial to get you started.
Building the UI
Basics of building your UI.
Working with views
How to use views in your app.
Working with the stage
How to control views and user navigation in your app with the stage.
Interacting with the front-end
Leverage the backend to interact seamlessly with your front-end using the $client.
Working with sessions
Managing persistent data among requests and user interactions with your app.

Creating and using controllers in your javascript front-end.
The Controller's Manifest
Adding dependencies of your controller with a manifest.
How to use views in your app.
How to control views and user navigation in your app with the stage.
Making HTTP requests and using ajax.
Using components and widgets.
Using magic attributes and other expansions.
Value Observers, Data Source and JSON API

Creating and using controllers in your php code.
Events and Messages
Understanding events and using event handlers.
Configuration options
How to start and configure an app.
Creating views for pages, html fragments and components.
Using a database and managed connections.
Configuring APACHE .htaccess file.
Core Classes and Traits
Useful functionality provided by the core classes and traits.
Writing Extensions
Creating and using extensions.
Class APP
App class.
Class Controller
Controllers class.

Fork me on GitHub