Dan
Iam a geek, failed novelist, web developer, (very) part-time blogger and - most importantly - husband and father. With a baby just arrived, spending time with my family means far more to me than anything you can read on this website. I am also the owner of the open-source Intype snippets for CodeIgniter project.
Saturday July 31st, 2010

Blog Categories

Twitter updates

Loading tweets  

Firefox Extension

Tuesday December 9th, 2008 • Tagged: CodeIgniter • Written by 0 comments

Sometimes the simplest community contributions are the most useful. Released this month: the CodeIgniter Userguide Firefox Extension.

By adding a menu entry for the userguide into Firefox, it's basically a set of bookmarks to each section. Brilliantly simple, and effective.

What's more, there's a jQuery one too!

Excellent stuff.

Snippets for gEdit

Thursday November 6th, 2008 • Tagged: CodeIgniter • Written by 0 comments

As a result of moving some of the time over to develop using Ubuntu, and using gEdit a lot as a result, I have attempted to port the Intype snippets across to gEdit. Though not identical to the ones for Intype, they're pretty close and hopefully people will find them useful!

The original bundle available for Textmate / E-TextEditor is available from Start Up Web 2.0

How to install

  1. Download the CodeIgniter snippets XML file for gEdit
  2. Load gEdit and Install the gEdit Snippets plugin (from Edit - Preferences - Plugins)
  3. From the 'Tools' menu, choose 'Manage Snippets'
    gEdit Manage Snippets
  4. Click the 'Import snippets' button, and choose the XML file you downloaded
  5. New entries should now be shown under the "PHP" heading as shown below:
    gEdit PHP Snippets
  6. Close 'Manage Snippets
  7. To test: Open a php source file. Type: ciarg and press <tab>. You should be presented with the a snippets menu.

If for any reason you wanted to remove these snippets from gEdit, the file is held in ~/.gnome2/gedit/snippets

Tab triggers

  • Benchmarking Class - cibench
  • Calendaring Class - cical
  • Config Class - ciconfig
  • Database Class - cidb & ciar (active record)
  • Email Class - ciemail
  • Encryption Class - ciencrypt
  • File Uploading Class - ciupload
  • FTP Class - ciftp
  • HTML Table Class - cihtml
  • Image Manipulation Class - ciimage & ciimageconf
  • Input and Security Class - ciinput
  • Loader Class - ciload
  • Language Class - cilang
  • Output Class - cioutput
  • Pagination Class - cipag & cipagconf
  • Session Class - cissession
  • Trackback Class - citrack
  • Template Parser Class citemp
  • Unit Testing Class - ciunit
  • URI Class - ciuri
  • User Agent Class - ciagent
  • Validation Class - civalid
  • XML-RPC Class - cixmlrpc
  • Zip Encoding Class - cizip

Enjoy!

CodeIgniter 1.7.0 released

Thursday October 23rd, 2008 • Tagged: CodeIgniter • Written by 0 comments

The latest version of CodeIgniter, has been announced by EllisLab.

This version includes the new Form Validation library as well as a load of other changes / fixes as detailed in the Change Log

The Style Guide has some good suggestions, some of which may go against your own writing style, but I'm all for an attempt at standards within CI! As a relative newcomer to CodeIgniter I'm still learning the ropes, but some element of 'best practice' to follow is very helpful!

I've had to go ahead and change the source code from my own applications but it has been quite a rewarding experience.

Intype Bundle for CodeIgniter 1.6.3 snippets

Friday October 10th, 2008 • Tagged: CodeIgniter • Written by 0 comments

This is a direct conversion for use with Intype 0.3.1.734 of the CodeIgniter 1.6.3 bundle for Textmate.

I claim no responsibility for this great bundle other than converting it to work with Intype and re-creating the menu.

The original bundle available for Textmate / E-TextEditor is available from Start Up Web 2.0

How to install

  1. Download the bundle
  2. Extract the contents of the bundle to the following path, ensuring that 'keep folder names' (or similar) is checked:

    C:\Program Files\Intype\bundles

    (amend path to Intype if necessary)
  3. Load Intype, and you should see a new entry under Bundles (CodeIgniter 1.6.3)
  4. To test: Open a php source file or switch language to PHP. Type: ciarw and press <tab>. You should be presented with the menu as shown in the image above.

Tab triggers

  • Benchmarking Class - cibench
  • Calendaring Class - cical
  • Config Class - ciconfig
  • Database Class - cidb & ciar (active record)
  • Email Class - ciemail
  • Encryption Class - ciencrypt
  • File Uploading Class - ciupload
  • FTP Class - ciftp
  • HTML Table Class - cihtml
  • Image Manipulation Class - ciimage & ciimageconf
  • Input and Security Class - ciinput
  • Loader Class - ciload
  • Language Class - cilang
  • Output Class - cioutput
  • Pagination Class - cipag & cipagconf
  • Session Class - cissession
  • Trackback Class - citrack
  • Template Parser Class citemp
  • Unit Testing Class - ciunit
  • URI Class - ciuri
  • User Agent Class - ciagent
  • Validation Class - civalid
  • XML-RPC Class - cixmlrpc
  • Zip Encoding Class - cizip

Enjoy!

 < 1 2