Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Fork CLI Tool

Fork CLI Tool

Basic description of the Fork CLI Tool.

Jelmer Snoeck

March 09, 2012
Tweet

More Decks by Jelmer Snoeck

Other Decks in Programming

Transcript

  1. When you have an existing project, it’s not required to

    re- install Fork. Just initiate it and add the database and language parameters. Clone it, initiate it Setting up the project To the right, /library/globals.php At the bottom, /library/globals_frontend.php Rapidly create your globals and config files Friday 9 March 12
  2. Currently, the only possible attribute is ‘:block’. This will add

    the action as a module_extra so you can link it to a page as shown below. Frontend Note that you can use ‘f’ or ‘frontend’ Creating an action Friday 9 March 12
  3. Backend Note that you can use ‘b’ or ‘backend’ Automatically

    recognize types: - add - edit - delete - index These can be forced by using <action>:<type>. This basically sets up some base functionality in your action like a form or dataGrid. Creating an action Friday 9 March 12
  4. An ajax call is basically the same as an action.

    Therefore, the usage is the same as an action: ft ajax <module> <location>=<ajaxname> Ajax Creating an action Friday 9 March 12
  5. A widget is basically the same as an action. Therefore,

    the usage is the same as an action: ft widget <module> <location>=<ajaxname> Widgets Creating an action Friday 9 March 12