Fork cli tool
Upcoming SlideShare
Loading in...5
×
 

Fork cli tool

on

  • 611 views

Usage of the Fork CLI Tool

Usage of the Fork CLI Tool

Statistics

Views

Total Views
611
Slideshare-icon Views on SlideShare
609
Embed Views
2

Actions

Likes
0
Downloads
3
Comments
0

1 Embed 2

https://twimg0-a.akamaihd.net 2

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Fork cli tool Fork cli tool Presentation Transcript

    • Fork CLI Tool 9 march 2012Friday 9 March 12
    • Type less, do moreFriday 9 March 12
    • Setting up the projectFriday 9 March 12
    • Setting up the project Clone it, initiate it When you have an existing project, it’s not required to re- install Fork. Just initiate it and add the database and language parameters. Rapidly create your globals and config files To the right, /library/globals.php At the bottom, /library/globals_frontend.phpFriday 9 March 12
    • Creating a module ft module <modulename>Friday 9 March 12
    • Creating a module ft module demo_module /frontend/modules /backend/modulesFriday 9 March 12
    • File contents Installer: the basic installer requirements Actions: the basic action functionsFriday 9 March 12
    • Creating an action ft action <module> <location>=<actionname>[,...]Friday 9 March 12
    • Creating an action Frontend Note that you can use ‘f’ or ‘frontend’ 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.Friday 9 March 12
    • Creating an action 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.Friday 9 March 12
    • Creating an action Ajax An ajax call is basically the same as an action. Therefore, the usage is the same as an action: ft ajax <module> <location>=<ajaxname>Friday 9 March 12
    • Creating an action Widgets A widget is basically the same as an action. Therefore, the usage is the same as an action: ft widget <module> <location>=<ajaxname>Friday 9 March 12
    • Experiment!Friday 9 March 12
    • Problems? Questions? https://github.com/siphoc/knife/issues https://twitter.com/#!/jelmersnoeck jelmer@siphoc.comFriday 9 March 12
    • twitter.com/fork_cms info@fork-cms.com www.fork-cms.comFriday 9 March 12