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

Rb Framwork

Rb Framwork

How to use RB .Framework

Avatar for Gaurav Jain

Gaurav Jain

May 24, 2013
Tweet

Other Decks in Programming

Transcript

  1. Why? • Concentrate on your core logic. • Need not

    to worry about Joomla Version. • 60%-80% work already been done. • Ajaxified • Proper Validation • Graph Library (NVD3) • Packages • bla bla bla.......
  2. 1. JCB # Clone repository from https://github.com/readybytes/jcb # Create a

    folder "package" # Open index.php file and update some parameters at bottom of file # Run index.php from CLI
  3. 2. Install SQL and Script # Create package/com_name/admin/install Folder if

    not created # Add install.sql file and script file and update the xml file # Make zip of package/com_name # Install the component after installing RbFramework # If any bug is there, please fix it ;-) or file an issue at GitHub.
  4. 3. Update Libs # Add reset function and getInstance function

    in all libs # If any entity does not have view, you can delete lib, model, table and update the contoller, view
  5. 4. Forms / Fields # Create forms for the entities

    at site/comName/html/forms # Crete fields if required # Code : Required for validation message Prefix for fields
  6. 5. Base Media # If Media folder is not there

    in installable kit then add it and update the xml file.
  7. 6. Create Templates # Now start to work on tmpl

    files. #Form : <form action="<?php echo $uri; ?>" method="post" name="adminForm" id="adminForm" class="rb-validate-form"> <div class="control-group"> <?php echo $form->getLabel('currency'); ?> <div class="controls"><?php echo $form->getInput('currency'); ?></div> </div>