SlideShare una empresa de Scribd logo
1 de 15
Descargar para leer sin conexión
Fork CLI Tool
                        9 march 2012




Friday 9 March 12
Type less, do more




Friday 9 March 12
Setting up the project




Friday 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.php




Friday 9 March 12
Creating a module
                       ft module <modulename>




Friday 9 March 12
Creating a module




                ft module demo_module
                                /frontend/modules         /backend/modules




Friday 9 March 12
File contents
                Installer: the basic installer requirements
                Actions: the basic action functions




Friday 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.com




Friday 9 March 12
twitter.com/fork_cms
                     info@fork-cms.com
                     www.fork-cms.com




Friday 9 March 12

Más contenido relacionado

Destacado

Mini link tn configuration
Mini link tn configurationMini link tn configuration
Mini link tn configurationHammad Tabish
 
Routing over ericsson mini link
Routing over ericsson mini linkRouting over ericsson mini link
Routing over ericsson mini linkAhmed Nabeeh
 
The flower
The flowerThe flower
The floweryuchan00
 
052215 - FAX TO DELNER THOMAS & BENNIE THOMPSON (Italian)
052215 - FAX TO DELNER THOMAS & BENNIE THOMPSON (Italian)052215 - FAX TO DELNER THOMAS & BENNIE THOMPSON (Italian)
052215 - FAX TO DELNER THOMAS & BENNIE THOMPSON (Italian)VogelDenise
 
Jessie's powerpoint
Jessie's powerpointJessie's powerpoint
Jessie's powerpointkajani1991
 
Медицина в умовах зимових походів
Медицина в умовах зимових походівМедицина в умовах зимових походів
Медицина в умовах зимових походівtkg_org_ua
 
Parasitological surveillance by different sources
Parasitological surveillance by different sourcesParasitological surveillance by different sources
Parasitological surveillance by different sourcesSaliya amarasinghe
 
122312 obama fax (bulgarian)
122312   obama fax (bulgarian)122312   obama fax (bulgarian)
122312 obama fax (bulgarian)VogelDenise
 
The Hidden Numbers Behind Social Media Recruiting
The Hidden Numbers Behind Social Media RecruitingThe Hidden Numbers Behind Social Media Recruiting
The Hidden Numbers Behind Social Media RecruitingTribeHR
 
DESPOTISM - UNDERSTANDING THE KLAN'S PLOT IN OVERTHROWING HISTORICALLY BLACK ...
DESPOTISM - UNDERSTANDING THE KLAN'S PLOT IN OVERTHROWING HISTORICALLY BLACK ...DESPOTISM - UNDERSTANDING THE KLAN'S PLOT IN OVERTHROWING HISTORICALLY BLACK ...
DESPOTISM - UNDERSTANDING THE KLAN'S PLOT IN OVERTHROWING HISTORICALLY BLACK ...VogelDenise
 
Contabilitate financiara
Contabilitate financiaraContabilitate financiara
Contabilitate financiaragabriel137
 
06/09/10 FBI COMPLAINT (Public Storage)
06/09/10 FBI COMPLAINT (Public Storage)06/09/10 FBI COMPLAINT (Public Storage)
06/09/10 FBI COMPLAINT (Public Storage)VogelDenise
 
Nový objekt prezentace aplikace microsoft power point
Nový objekt   prezentace aplikace microsoft power pointNový objekt   prezentace aplikace microsoft power point
Nový objekt prezentace aplikace microsoft power point53739svoboda
 

Destacado (19)

Mini link tn configuration
Mini link tn configurationMini link tn configuration
Mini link tn configuration
 
Routing over ericsson mini link
Routing over ericsson mini linkRouting over ericsson mini link
Routing over ericsson mini link
 
บทที่ 5
บทที่ 5บทที่ 5
บทที่ 5
 
The flower
The flowerThe flower
The flower
 
052215 - FAX TO DELNER THOMAS & BENNIE THOMPSON (Italian)
052215 - FAX TO DELNER THOMAS & BENNIE THOMPSON (Italian)052215 - FAX TO DELNER THOMAS & BENNIE THOMPSON (Italian)
052215 - FAX TO DELNER THOMAS & BENNIE THOMPSON (Italian)
 
ภาคผนวก
ภาคผนวกภาคผนวก
ภาคผนวก
 
Jessie's powerpoint
Jessie's powerpointJessie's powerpoint
Jessie's powerpoint
 
Медицина в умовах зимових походів
Медицина в умовах зимових походівМедицина в умовах зимових походів
Медицина в умовах зимових походів
 
Parasitological surveillance by different sources
Parasitological surveillance by different sourcesParasitological surveillance by different sources
Parasitological surveillance by different sources
 
122312 obama fax (bulgarian)
122312   obama fax (bulgarian)122312   obama fax (bulgarian)
122312 obama fax (bulgarian)
 
The Hidden Numbers Behind Social Media Recruiting
The Hidden Numbers Behind Social Media RecruitingThe Hidden Numbers Behind Social Media Recruiting
The Hidden Numbers Behind Social Media Recruiting
 
保險的意義
保險的意義保險的意義
保險的意義
 
DESPOTISM - UNDERSTANDING THE KLAN'S PLOT IN OVERTHROWING HISTORICALLY BLACK ...
DESPOTISM - UNDERSTANDING THE KLAN'S PLOT IN OVERTHROWING HISTORICALLY BLACK ...DESPOTISM - UNDERSTANDING THE KLAN'S PLOT IN OVERTHROWING HISTORICALLY BLACK ...
DESPOTISM - UNDERSTANDING THE KLAN'S PLOT IN OVERTHROWING HISTORICALLY BLACK ...
 
Portfolio2012
Portfolio2012Portfolio2012
Portfolio2012
 
Contabilitate financiara
Contabilitate financiaraContabilitate financiara
Contabilitate financiara
 
06/09/10 FBI COMPLAINT (Public Storage)
06/09/10 FBI COMPLAINT (Public Storage)06/09/10 FBI COMPLAINT (Public Storage)
06/09/10 FBI COMPLAINT (Public Storage)
 
Tamil
TamilTamil
Tamil
 
Nový objekt prezentace aplikace microsoft power point
Nový objekt   prezentace aplikace microsoft power pointNový objekt   prezentace aplikace microsoft power point
Nový objekt prezentace aplikace microsoft power point
 
Report
ReportReport
Report
 

Similar a Fork cli tool

JavaScript DOM Manipulations
JavaScript DOM ManipulationsJavaScript DOM Manipulations
JavaScript DOM ManipulationsYnon Perek
 
The Future of the Web
The Future of the WebThe Future of the Web
The Future of the WebRay Nicholus
 
Integrate Spring MVC with RequireJS & Backbone.js & Spring Data JPA
Integrate Spring MVC with RequireJS & Backbone.js & Spring Data JPAIntegrate Spring MVC with RequireJS & Backbone.js & Spring Data JPA
Integrate Spring MVC with RequireJS & Backbone.js & Spring Data JPACheng Ta Yeh
 
Gaelyk quickie - GR8Conf Europe 2010 - Guillaume Laforge
Gaelyk quickie - GR8Conf Europe 2010 - Guillaume LaforgeGaelyk quickie - GR8Conf Europe 2010 - Guillaume Laforge
Gaelyk quickie - GR8Conf Europe 2010 - Guillaume LaforgeGuillaume Laforge
 
Learn jobDSL for Jenkins
Learn jobDSL for JenkinsLearn jobDSL for Jenkins
Learn jobDSL for JenkinsLarry Cai
 
Introduction to AngularJS
Introduction to AngularJSIntroduction to AngularJS
Introduction to AngularJSJumping Bean
 
Five class-based views everyone has written by now
Five class-based views everyone has written by nowFive class-based views everyone has written by now
Five class-based views everyone has written by nowJames Aylett
 
Getting Groovy With Grails
Getting Groovy With GrailsGetting Groovy With Grails
Getting Groovy With GrailsBryan Basham
 
Writing JavaScript that doesn't suck
Writing JavaScript that doesn't suckWriting JavaScript that doesn't suck
Writing JavaScript that doesn't suckRoss Bruniges
 
What is this DI and AOP stuff anyway...
What is this DI and AOP stuff anyway...What is this DI and AOP stuff anyway...
What is this DI and AOP stuff anyway...Richard McIntyre
 
Tools/Processes for serious android app development
Tools/Processes for serious android app developmentTools/Processes for serious android app development
Tools/Processes for serious android app developmentGaurav Lochan
 
Introduction to Palm's Mojo SDK
Introduction to Palm's Mojo SDKIntroduction to Palm's Mojo SDK
Introduction to Palm's Mojo SDKBrendan Lim
 
Joomla 1.5 modules - Joomla!Days NL 2009 #jd09nl
Joomla 1.5 modules - Joomla!Days NL 2009 #jd09nlJoomla 1.5 modules - Joomla!Days NL 2009 #jd09nl
Joomla 1.5 modules - Joomla!Days NL 2009 #jd09nlJoomla!Days Netherlands
 
Gradle plugins, take it to the next level
Gradle plugins, take it to the next levelGradle plugins, take it to the next level
Gradle plugins, take it to the next levelEyal Lezmy
 
Oracle EBS 12.1.3 : Integrate OA Framework BC4J components within java concur...
Oracle EBS 12.1.3 : Integrate OA Framework BC4J components within java concur...Oracle EBS 12.1.3 : Integrate OA Framework BC4J components within java concur...
Oracle EBS 12.1.3 : Integrate OA Framework BC4J components within java concur...Amit Singh
 
Modern Web Applications with Sightly
Modern Web Applications with SightlyModern Web Applications with Sightly
Modern Web Applications with SightlyRadu Cotescu
 
Android Development with Flash Builder Burrito
Android Development with Flash Builder BurritoAndroid Development with Flash Builder Burrito
Android Development with Flash Builder BurritoJeff Bollinger
 
Provisioning profiles like a Pro
Provisioning profiles like a ProProvisioning profiles like a Pro
Provisioning profiles like a ProJay Graves
 

Similar a Fork cli tool (20)

JavaScript DOM Manipulations
JavaScript DOM ManipulationsJavaScript DOM Manipulations
JavaScript DOM Manipulations
 
Terrific Composer Workshop
Terrific Composer WorkshopTerrific Composer Workshop
Terrific Composer Workshop
 
Backbone
BackboneBackbone
Backbone
 
The Future of the Web
The Future of the WebThe Future of the Web
The Future of the Web
 
Integrate Spring MVC with RequireJS & Backbone.js & Spring Data JPA
Integrate Spring MVC with RequireJS & Backbone.js & Spring Data JPAIntegrate Spring MVC with RequireJS & Backbone.js & Spring Data JPA
Integrate Spring MVC with RequireJS & Backbone.js & Spring Data JPA
 
Gaelyk quickie - GR8Conf Europe 2010 - Guillaume Laforge
Gaelyk quickie - GR8Conf Europe 2010 - Guillaume LaforgeGaelyk quickie - GR8Conf Europe 2010 - Guillaume Laforge
Gaelyk quickie - GR8Conf Europe 2010 - Guillaume Laforge
 
Learn jobDSL for Jenkins
Learn jobDSL for JenkinsLearn jobDSL for Jenkins
Learn jobDSL for Jenkins
 
Introduction to AngularJS
Introduction to AngularJSIntroduction to AngularJS
Introduction to AngularJS
 
Five class-based views everyone has written by now
Five class-based views everyone has written by nowFive class-based views everyone has written by now
Five class-based views everyone has written by now
 
Getting Groovy With Grails
Getting Groovy With GrailsGetting Groovy With Grails
Getting Groovy With Grails
 
Writing JavaScript that doesn't suck
Writing JavaScript that doesn't suckWriting JavaScript that doesn't suck
Writing JavaScript that doesn't suck
 
What is this DI and AOP stuff anyway...
What is this DI and AOP stuff anyway...What is this DI and AOP stuff anyway...
What is this DI and AOP stuff anyway...
 
Tools/Processes for serious android app development
Tools/Processes for serious android app developmentTools/Processes for serious android app development
Tools/Processes for serious android app development
 
Introduction to Palm's Mojo SDK
Introduction to Palm's Mojo SDKIntroduction to Palm's Mojo SDK
Introduction to Palm's Mojo SDK
 
Joomla 1.5 modules - Joomla!Days NL 2009 #jd09nl
Joomla 1.5 modules - Joomla!Days NL 2009 #jd09nlJoomla 1.5 modules - Joomla!Days NL 2009 #jd09nl
Joomla 1.5 modules - Joomla!Days NL 2009 #jd09nl
 
Gradle plugins, take it to the next level
Gradle plugins, take it to the next levelGradle plugins, take it to the next level
Gradle plugins, take it to the next level
 
Oracle EBS 12.1.3 : Integrate OA Framework BC4J components within java concur...
Oracle EBS 12.1.3 : Integrate OA Framework BC4J components within java concur...Oracle EBS 12.1.3 : Integrate OA Framework BC4J components within java concur...
Oracle EBS 12.1.3 : Integrate OA Framework BC4J components within java concur...
 
Modern Web Applications with Sightly
Modern Web Applications with SightlyModern Web Applications with Sightly
Modern Web Applications with Sightly
 
Android Development with Flash Builder Burrito
Android Development with Flash Builder BurritoAndroid Development with Flash Builder Burrito
Android Development with Flash Builder Burrito
 
Provisioning profiles like a Pro
Provisioning profiles like a ProProvisioning profiles like a Pro
Provisioning profiles like a Pro
 

Último

The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...AliaaTarek5
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditSkynet Technologies
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 

Último (20)

The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance Audit
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 

Fork cli tool

  • 1. Fork CLI Tool 9 march 2012 Friday 9 March 12
  • 2. Type less, do more Friday 9 March 12
  • 3. Setting up the project Friday 9 March 12
  • 4. 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.php Friday 9 March 12
  • 5. Creating a module ft module <modulename> Friday 9 March 12
  • 6. Creating a module ft module demo_module /frontend/modules /backend/modules Friday 9 March 12
  • 7. File contents Installer: the basic installer requirements Actions: the basic action functions Friday 9 March 12
  • 8. Creating an action ft action <module> <location>=<actionname>[,...] Friday 9 March 12
  • 9. 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
  • 10. 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
  • 11. 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
  • 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
  • 14. Problems? Questions? https://github.com/siphoc/knife/issues https://twitter.com/#!/jelmersnoeck jelmer@siphoc.com Friday 9 March 12
  • 15. twitter.com/fork_cms info@fork-cms.com www.fork-cms.com Friday 9 March 12