English

Wizard Component 1.2 Tutorial

Automates several aspects of multi-page forms including data persistence, form preparation and unique data processing, wizard resetting (manual and automatic), user navigation, and plot-branching navigation while maintaining flexibility with custom validation and completion callbacks.

This is a tutorial for my Wizard Component 1.2 found here: http://bakery.cakephp.org/articles/view/wizard-component-1-2-1.

Social media helper

This helpers allows you to simply add buttons using AddThis. I created this out of the need to simply add social media bookmarking to one of my clients' websites.

For more information go to http://www.addthis.com/.

jQuery Tiptip plugin for CakePHP

This CakePHP plugin enables you to enhance your websites forms, links etc with custom tooltips by using the jQuery plugin Tiptip. Requirements jQuery – http://jquery.com/ Downloads You can download the plugin here. How to use Download the plugin and place the config file and plugin in their directories. Add the plugin helper file to your [...]

Markdown plugin

I have been writing documentation for Croogo for the past few weeks in markdown format. The more I use it, the more I like it. It is really very nice to write in plain text and be able to convert it to proper (X)HTML when it is finally shown in the browser. So I decided to write a plugin for converting markdown to html. It can be used in Croogo for writing content, as well as manually in your CakePHP applications.

What is Markdown?

Markdown is a text-to-HTML conversion tool for web writers by John Gruber. Markdown allows you to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid XHTML (or HTML).

Learn more about markdown here: http://daringfireball.net/projects/markdown/.

FirePHP plugin for CakePHP

Recently I felt like I was missing a proper PHP debugging method. A short search led me to FirePHP. Since we use CakePHP (1.2.5) for our programming at my company I decided to create  a plugin for it. The result is a plugin that enables you to debug from within controllers, views, components etc. in [...]

CakePHP saveAll() quick tip

Saving data with Model->saveAll() is really time savior. There is something specifics while saving multiple records of a single model. The data provided from the form should be in the numerically indexed array of records like this: Array (     [Article] => Array(             [0] => Array     [...]

5 Hosting Accounts Give Away

We have decided to give away 5 Hosting Accounts. So we Decided to run this contest to find who deserves it. Read along to find out how to get your Hosting Account.
Hosting Account Details
Period: 1 year
Disk Space: 1 GB
Monthly Data Bandwidth: 10GB
FTP Accounts: 1
Mysql Database: 1 x 1 GB
Supports: PHP5, Perl w/FASTCGI, Python CGI, Ruby CGI, Ruby on Rails w/FASTCGI

How to WIN ?

  1. Follow us on Twittier @variable3.
  2. Like our Facebook Fan Page and introduce yourself.
  3. Post about this Contest on your Blog.
  4. Tweet About thing Contest
    “Win 1 year Free Hosting” at http://bit.ly/aUeFlH #v3contests

The Problem with Wordpress and Drupal

Web Hosting Deal in Celebration of Julygustember ($4.95 + Free Domain)

Yes, you read that right. Julygustember 2010 DreamHost Newsletter In celebration of Julygustember, and the Julygustember 2010 DreamHost Newsletter, I am offering a discount code to all of my readers. The coupon is good for $60 off 1 yr of DreamHost hosting, with a free domain for life! Dig, that’s less than $60 bucks for [...]

Please visit EdwardAWebb.com to view the rest of this article without ads.

CakeFest 2010: Thats a wrap

CakeFest 2010 has come to a close. After 4 days of jam-packed talks, workshops, lightning talks and social outings, we're sad to see it finish.

DebugKit plugin for Croogo

If you are a CakePHP developer, you must know about DebugKit plugin by Mark Story already. It provides a debugging toolbar and enhanced debugging tools for CakePHP applications. As far as I remember, it is the first plugin I tried in my applications and this may be the case for most developers too.

So why am I posting it here again? Just to demonstrate how it can be used with Croogo's plugin/hook system. A few weeks ago, I forked DebugKit and made it Croogo ready so anyone can upload it from the admin panel and start using it without having to worry about editing php files (app_controller.php here) manually.

All I did was add two files under a new directory 'config' to this awesome plugin, and done! First was an YAML file and the other was a PHP file. The file structure looks like this:

Relocation and New Job

I recently moved back home to Toronto, Canada after living in Asia for almost 6 years. I decided it was time to move back and get a "real" job since freelance and contract work was starting to die down.

Better The WorldUpon my arrival I started work with a company downtown Toronto, BetterTheWorld.com. I was hired as a Sr. PHP Developer to work with their current platform and help design and build out new properties. We are currently using Croogo to rebuild one of our current properties and will be open sourcing some of the plugins we develop.

Hopefully I will have some free time to write some more articles on Croogo, CakePHP, web development and release some more code. Stay tuned and subscribe to my RSS feed.

CSS trick

Probably everybody know how to match dom elements with css. For example if you want to match all

  • elements. you are doing something like this: li{color: red} This way every list element will have red text color. The more advanced example is if you want to select only the active element – [...]
  • Simple Theme Released for Croogo 1.3.2

    After a long hiatus I am back with an update to my Croogo theme 'Simple'. To install simply unzip the theme's folder into the themed directory or use the built in theme uploader in Croogo's administration panel. Look forward to some new posts on Croogo, CakePHP and some other stuff I have going on.

    Simple: Croogo Theme

    If you have any questions or problems drop me a line in the comments section.

    Croogo 1.3.2 released!

    Let's call this version Plugins-Are-Awesome version! I have spent more time thinking than actually coding about how plugins can integrate themselves with the whole application more easily without having to touch the core. And I believe, I have been able to take the right direction. Still a long way to go. This release consists of 55 commits resolving 18 tickets, and fixing a number of bugs.

    Download

    Download the latest version from GitHub: http://github.com/croogo/croogo/downloads.

    Changelog

    See all commits for this release on GitHub, and tickets on LightHouse.

    Sharpening the Blades: Useful Tweets

    Below are some tweets that I have seen recently that I have found to be helpful.
    Smashing Magazine – HTML5/CSS3 Cheatsheet – http://bit.ly/aj0yfA
    Ben Ludman – URL shorteners and CakePHP – Snook.ca http://bit.ly/btTmSP
    And this site – HTML5 Doctor – I couldn’t track down the tweet that I found it from, but it is a great resource for HTML5.
    I looked for some tweets about Magento, but just couldn’t find any that were appealing.

    Single query cache and pagination cache (until a future post) and ad hoc joins. An over-override of appModel::find

    In a project i’m working on, being unaware of super behaviours or plugins that may appear on github, i made some search to find fast and effective solutions (or ideas) for the needs at hand. Namely, performance -> caching. Needs stacked over time. I liked the idea of single query cache. I needed ad hoc [...]

    Related posts:

    1. A couple of cakephp newbie mistakes – Or why you always should RTFM and not always trust it
    2. Your own basic cakephp “file manager” for CK editor

    CakePHP 1.3.3 Admin Section Template Files

    I've been getting to grips with the newest release of CakePHP which at the time of writing is 1.3.3. The first thing I usually do on an application is get a simple Admin section underway and here it is.

    Everything has been included in a single zip file but you must first go through the motions of creating the database and update the database.php file as well as change a few things in the core.php file.

    CakePHP: CakeMenu plugin

    I am using it for a while, but today I’ve decided to publish in the github.com. What this plugin does? The plugin is complete solution to add menu in your applications. It uses the nifty Superfish – jQuery menu plugin. You can find more info for it at http://users.tpg.com.au/j_birch/plugins/superfish/ Cakemenu can work with multilevel menus [...]

    Understanding hidden classes in v8

    With JSConf.eu coming closer, I slowly have to start preparing my talk, which
    mostly means hacking on node-dirty.

    I have a few goals for the project. My main interest is challenging a few
    assumptions people have about the performance and complexity of database
    systems. Most of that is material for another post and my talk itself, but
    today I'd like to talk about hidden classes in v8.

    One of the things that is really fast in v8 is property lookups. This is
    due to an optimization that creates hidden classes for an object.

    I could go into a lengthy explanation of how that works, but instead I'll
    invite you to see for yourself.

    Consider the following two examples and guess which runs faster, and by how much:

    Example 1:

    Syndicate content