Skip to content
corentin-begne edited this page Feb 12, 2018 · 13 revisions

This tool can be used to manage any Phalcon project with one or more application using Mysql and Apache.
It provide a complete Client/Server structure to help to make applications easier and manage data from SCRUD.

Features :

Environnement

Dependencies managers

The server libraries are manage by composer and the client by bower.

Composer

{
    "require": {
        "v-cult/phalcon": "dev-master",
        "google/apiclient": "1.1.7"
    }
}

API doc
Google library only used for authentification

Bower

"dependencies": {
    "cb-models": "*"
}

This library include some helpers and models, jquery and require.

Operating system

You need to use Linux as operating system, Ubuntu 16.04 LTS 64bits would be the best. I recommend to use virtual box under a Windows 7/10 64bits to make save image of working space clear and functional.

Php

Support php >=5.4 but I recommend to use php >= 7.0 with FastCGI anyway.

Apache

Project use apache with some .htaccess controlling applications folders access so you need to set the document root to the public directory.

Editor

I suggest to use Sublime Text having a lot of usefull plugin including less2css allowing to compiling less file to css in the same folder on save.

Node

Node and npm are required for the css and javascript build using less, uglifyjs and requirejs.

More detail following this complete environement/application setup tutorial