archive-org.com » ORG » G » GETSPARKS.ORG

Total: 447

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • CodeIgniter Sparks | Twiggy
    view Requirements PHP 5 2 4 CodeIgniter 2 x How To Use It 1 Load library as a spark this load spark twiggy x x x where x x x is the version you want to load assuming you have it installed 2 Set up dir structure Create a directory structure APPPATH themes default layouts NOTE APPPATH is the folder where all your controllers models and other neat stuff is placed By default that folder is called application Create a default layout index html twig and place it in layouts folder block content endblock body Create a default template file index html twig at the root of default theme folder extends layout block content Default template file endblock You should end up with a structure like this APPPATH themes default layouts index hml twig index html twig 3 Display the template this twiggy display 4 What s next In the example above we only displayed the default template and layout Obviously you can create as many layouts and templates as you want For example create a new template file welcome html twig and load it before sending the output to the browser Whoah methoding chaining FTW this twiggy template welcome display Notice that you only need to specify the name of the template without the extension html twig There is much more cool stuff that you should check out by visiting the wiki CHANGELOG 0 8 5 Changed display and render methods a little bit to accept a parameter From now on you can set the template file without the template method For example this twiggy display admin dashboard instead of this twiggy template admin dashboard display Added rendered method to check whether a template has already been rendered displayed using display or render Fixed a bug where calling func get args function as a parameter in another function would cause a fatal error Fatal error func get args Can t be used as a function parameter in 0 8 4 Fixed a bug where template locations would not be updated correctly after loading a different theme Changed autoescape Twig environment option to FALSE in the config file as the default value 0 8 3 Fixed a bug where global variables would not be available accessible Added helper methods for dealing with the title tag Added helper methods for setting meta data meta tags 0 8 2 Fixed a problem with Twig cache Caching should now work as expected 0 8 1 Added unset data method to unset a particular variable given a key Fixed a bug where calling render would throw Twig Error Loader exception due to missing file extention Added a private method load to load the template and return output object where previously this was done both in render and display methods separately Added Twig Error Loader exception handling in render method DONATE COPYRIGHT Copyright c 2012 Edmundas Kondrašovas Permission is hereby granted free of charge to any person obtaining a copy of this software and associated

    Original URL path: http://getsparks.org/packages/Twiggy/versions/HEAD/show (2016-02-09)
    Open archived version from archive


  • CodeIgniter Sparks | github_updater
    in to view Author Website http jimdoescode blogspot com Spark Website http jimdoescode blogspot com 2012 02 keep your ci instances up to date with html Repository Type git Number of Installs 2 135 Get the Latest 1 0 1 Pushed March 9th 2012 php tools spark install v1 0 1 github updater Or download this version manually Get github updater 1 0 1 zip How To CodeIgniter GitHub Updater This library is meant to handle updates to remote CodeIgniter instances These updates are tied to a GitHub repository Any time the repository is updated you can run the update command of this library to have your CodeIgniter files updated to the current version of the repository For more information check out my blog http jimdoescode blogspot com 2012 02 keep your ci instances up to date with html You can also see the test repo I use for performing remote updates https github com jimdoescode Test Auto Updater Pay close attention to the welcome controller and the github updater config file The ideal application would have several separate instances hosted by different parties like a CMS Using this library you can create an upgrade script that will occasionally check

    Original URL path: http://getsparks.org/packages/github_updater/versions/HEAD/show (2016-02-09)
    Open archived version from archive

  • CodeIgniter Sparks | MY_Model
    Tutorial for GetSparks November 24 2011 from net tutsplus com See More 2 Love 0 Like 0 Hate 2 306 Installs Basic Information MY Model A MY Model Codeigniter with validation support Tweet Contributor Se7en IT Email Log in to view Author Website http www lucamusolino it Repository Type git Number of Installs 2 306 Get the Latest 1 0 0 Pushed February 28th 2012 php tools spark install v1 0 0 MY Model Or download this version manually Get MY Model 1 0 0 zip How To A Base Model Codeigniter with validation support VERSION 1 0 STABLE Inspired by https github com jamierumbelow codeigniter base model git A bit more explained documentation will be soon available Under development CONFIGURATION class Test model extends MY Model protected table tests Default lowercase plural modelname protected primary key id Default id protected validate array Set Codeigniter validation rules If needed implement Hooks protected before find protected after find rows protected before insert data return data protected after insert data insert id protected before update data return data protected after update data result protected before delete protected after delete METHODS CREATE insert data skip validation READ find id find by column name

    Original URL path: http://getsparks.org/packages/MY_Model/versions/HEAD/show (2016-02-09)
    Open archived version from archive

  • CodeIgniter Sparks | phpass
    for GetSparks November 24 2011 from net tutsplus com See More 1 Love 0 Like 0 Hate 2 276 Installs Basic Information phpass phpass is a portable password hashing framework for use in PHP applications Tweet Contributor jenssegers Email Log in to view Author Website http www jenssegers be Spark Website http jenssegers be Repository Type git Number of Installs 2 276 Get the Latest 1 0 0 Pushed February 26th 2012 php tools spark install v1 0 0 phpass Or download this version manually Get phpass 1 0 0 zip How To CodeIgniter Password Hash Library phpass is a portable password hashing framework for use in PHP applications The preferred most secure hashing method supported by phpass is the OpenBSD style bcrypt known in PHP as CRYPT BLOWFISH with a fallback to BSDI style extended DES based hashes known in PHP as CRYPT EXT DES and a last resort fallback to an MD5 based variable iteration count password hashing method implemented in phpass itself Installation Place the files from the repository in their respective folders or use spark Edit the config phpass php configuration file if needed Example this load library phpass or use spark example 1 hashing a

    Original URL path: http://getsparks.org/packages/phpass/versions/HEAD/show (2016-02-09)
    Open archived version from archive

  • CodeIgniter Sparks | zen
    this version manually Get zen 1 2 0 zip How To CodeIgniter Zen Cache Library A caching library to cache attributes or function calls to libraries models and helper functions This library was built to be as user friendly as possible You can add zen caching to existing code by adding a zen chain link before your actual library or model this blog model becomes this zen blog model Keep in mind when using the file adapter for caching writing cache files on the system takes time too Only apply caching on those really big methods that slow your website down Using memcached on the other hand may improve every call since those results remain in the system s memory Installation Place the files from the repository in their respective folders or use spark Edit the configuration file Zen configuration This file will contain the settings for the Zen library adapter the cache adapter you want the system to use apc file memcached dummy expires the default number of seconds an item should remain in cache folder when using the file adapter you can choose to store the items in a sub directory of CodeIgniter s cache folder extension the extension to add to all cache files config adapter file config expires 60 config folder zen config extension zen The Zen library uses CodeIgniter s caching adapters internally so you are able to set adapter specific using that adapter s configuration file http codeigniter com user guide libraries caching html When using the file cache adapter the Zen library will use the folder config parameter as a subdirectory for CodeIgniter s current cache directory It will also add a zen file extension Example uncached this blog model get all cached this zen blog model get all cached with custom expire

    Original URL path: http://getsparks.org/packages/zen/versions/HEAD/show (2016-02-09)
    Open archived version from archive

  • CodeIgniter Sparks | GoCardless
    to the GoCardless API Tweet Contributor GoCardless Email Log in to view Author Website http gocardless com Spark Website https github com gocardless codeigniter gocardless Repository Type git Number of Installs 2 208 Get the Latest 0 3 2 Pushed May 28th 2012 php tools spark install v0 3 2 GoCardless Or download this version manually Get GoCardless 0 3 2 zip How To GoCardless CodeIgniter Client Library The GoCardless CodeIgniter client provides a simple CodeIgniter interface to the GoCardless API The following links may be useful Developer overview of GoCardless Documentation for individual merchants Documentation for partners multiple merchants Our introductory guide to using the PHP library Some more advanced PHP library usage Code samples Our CodeIgniter plugin and spark You can also use GoCardless via the PHP Payments library and CodeIgniter Payments spark Full library reference Our developer support Campfire chat room Installation The files you need to use the GoCardless API are in the lib folder Install from source console git clone git github com gocardless codeigniter gocardless git application third party gocardless Download the Zip Click here to download the zip file Installing with Sparks console php tools spark install v0 3 2 gocardless Usage Sign up for an account at GoCardless com Copy your app id and secret from the developer tab and paste them into config gocardless php Then use the following to load the spark php this config load gocardless this load spark gocardless 0 3 2 Older Versions 0 3 1 Pushed April 27th 2012 php tools spark install v0 3 1 GoCardless Or download this version manually Get GoCardless 0 3 1 zip 0 3 0 Pushed April 11th 2012 php tools spark install v0 3 0 GoCardless Or download this version manually Get GoCardless 0 3 0 zip 0 2

    Original URL path: http://getsparks.org/packages/GoCardless/versions/HEAD/show (2016-02-09)
    Open archived version from archive

  • CodeIgniter Sparks | antispam
    Tweet Contributor ianjohnson Email Log in to view Author Website Spark Website https bitbucket org ianjohnson ci antispam Repository Type hg Number of Installs 2 143 Get the Latest 1 0 1 Pushed February 27th 2012 php tools spark install v1 0 1 antispam Or download this version manually Get antispam 1 0 1 zip How To CodeIgniter AntiSpam Library Home https bitbucket org ianjohnson ci antispam How to use Place the entire antispam folder into your third party directory Open the antispam php config file and set the URL you wish to use for your application This can either be the TypePad AntiSpam service URL or the Aksimet URL Also you need to add your API key for the service you plan on using You can also change the user agent string that will be passed to the antispam service The library will add its version info for you In your controller where you want to use the library call it like this this load add package path APPPATH third party antispam this load library antispam Then call any method with an array of as many of these optional items as possible comment array permalink The permanent comment location

    Original URL path: http://getsparks.org/packages/antispam/versions/HEAD/show (2016-02-09)
    Open archived version from archive

  • CodeIgniter Sparks | cimongo
    2011 from net tutsplus com See More 1 Love 1 Like 0 Hate 2 218 Installs Basic Information cimongo A CodeIgniter library for interact with MongoDb Tweet Contributor vesparny Email Log in to view Author Website Spark Website https github com vesparny cimongo codeigniter mongodb library Repository Type git Number of Installs 2 218 Get the Latest 1 3 0 Pushed May 31st 2012 php tools spark install v1 3 0 cimongo Or download this version manually Get cimongo 1 3 0 zip How To A CodeIgniter library for interact with MongoDb VERSION 1 3 0 STABLE Inspired by https github com alexbilbie codeigniter mongodb library A bit more explained documentation will be soon available Install like every other CI library Under development Available Functions Selecting Data get get where select where take a look at the comment in the code for usage details or where where in or where in like or like not like or not like limit order by count all results count all Query Results result result array result object row row array insert id Result Helper num rows has error Modifying Data set insert insert batch update update batch delete delete batch Extra methods command

    Original URL path: http://getsparks.org/packages/cimongo/versions/HEAD/show (2016-02-09)
    Open archived version from archive



  •