We use cookies to keep our site relevant and easy to use, your continued use of this site is consent that we may set several cookies (see our Privacy & Cookie Policy), click to always allow cookies from our site (and not see this notifcation on your next visit) or read more.Allow Cookies

EU legislation requires that all websites clearly specify if cookies are being used and their purpose, You can read more about how we use cookies (and which cookies we use) in our Privacy and Cookie Policy.

You will see this notification the first time you visit our website unless you accept cookies (in which case we'll set a cookie to remember thay you're happy for us to to set cookies!).

Archive for Programming

CSS Style overload – Remove unused CSS Styles

I design sites (not well most of the time!) and often pinch bits and bobs from the various CSS stylesheets I’ve created over the years, generally I normally end up coming up with something that looks at least half decent! However, all that cutting and pasting leaves my stylesheets in a mess – with tonnes of unused CSS styles! I spotted a reference to Dust-Me Selectors today on San Baldo, and using this fantastic Firefox Extension I have managed, in the space of minutes to reduce on stylesheet from an unmanageable 600 lines to a mere 200! It extracts all the selectors from all the stylesheets on the page you’re viewing, then analyzes that page to see which of those… Continue reading »

by Keiron on October 23rd, 2007 | Browsers, Programming | 20 Comments » |

Updated CakePHP Baking

It appears the CakeBaker, may renew my interest in CakePHP having highlighted some projects that use CakePHP. Island Cruises looks fantastic! Dishola, looks very tempting! PokerInside, could be onto a winner! So, you obviously can do more than just make a notes application with CakePHP, now it’s just a case of what I do with it?!

by Keiron on February 18th, 2007 | PHP | No Comments » |

A first bite of CakePHP

I’ve long been interested in some rapid development PHP framework to speed up my development time, I’m well aware that starting to use one could slow me up in the interim, but once I was fully up to speed with any of the major frameworks I would probably find it very easy. So I dug my head into the cakePHP manual today, I’ll be honest I found the manual heavy going, but I’ve always felt like that about any programming language, it’s far easier to learn by example, SitePoint have a Tutorial that gives you a real first bite. I found the example really easy, but then it’s an example and you’re supposed to! Technorati has little on CakePHP, other… Continue reading »

by Keiron on February 18th, 2007 | PHP | 2 Comments » |

PIPES and their uses?

Not for plumbing (although that’s a whole other story at the minute!!), but data pipes are always something that has interested me, my biggest issue I think is finding something that I would pipe together. Before I go any further I should explain what pipes are: You take data from a source (an RSS feed is normally best). You do some parsing of that data and extract some useful bits, that you then that input into another feed source. You then combine the two pieces of data to produce one RSS feed. All this in the past would have been the domain of programmers, but it appears Yahoo Pipes have made this easy, not something I’ve ever played with but… Continue reading »

by Keiron on February 15th, 2007 | Programming | No Comments » |

PHP Script Assistance

No, I don’t want somebody to write them for me (although it would be very nice!), I want to speed up my development time sometimes. I get bogged down in the code and could do with sorting that problem. So I’m having a look at a few things that might help this, any advice anyone has on any them is appreciated (I’ve opened up comments, but you’ll still have to register). The Gubed PHP Debugger is Free and looks useful. dBQwikSite looks like it could spit out PHP & MySQL sites all day long, the licence is up in the $150 region, but that’s probably not out of the ballpark for what I want! Might download a trial of this… Continue reading »

by Keiron on February 14th, 2007 | Programming | No Comments » |

Useful PHP mktimes

Creating – yesterday, tomorrow, last month etc. in PHP time can be a little time consuming – here are some quick cut and pastes! < ? $yesterday = mktime(0,0,0,date("m"),date("d")-1,date("Y")); $today = mktime(0,0,0,date("m"),date("d"),date("Y")); $tomorrow = mktime(0,0,0,date("m"),date("d")+1,date("Y")); $lastmonth = mktime(0,0,0,date("m")-1,date("d"),date("Y")); $nextmonth = mktime(0,0,0,date("m")+1,date("d"),date("Y")); $lastyear = mktime(0,0,0,date("m"),date("d"),date("Y")-1); $nextyear = mktime(0,0,0,date("m"),date("d"),date("Y")+1); // The "t" below gives the number of days in a given month. $lastday = mktime(0,0,0,date("m"),date("t"),date("Y")); $yesterday = strftime("%A %B %d, %Y",$yesterday); $today = strftime("%A %B %d, %Y",$today); $tomorrow = strftime("%A %B %d, %Y",$tomorrow); $lastmonth = strftime("%A %B %d, %Y",$lastmonth); $nextmonth = strftime("%A %B %d, %Y",$nextmonth); $lastyear = strftime("%A %B %d, %Y",$lastyear); $nextyear = strftime("%A %B %d, %Y",$nextyear); $lastday = strftime("%A %B %d, %Y",$lastday); echo "Yesterday was: $yesterday"; echo "Today is: $today"; echo... Continue reading »

by Keiron on August 1st, 2006 | Programming, Software | No Comments » |


Another piece of software I want to look at sometime!! http://www.visualwade.com/ VisualWade is a great free PHP code generator that generates web applications from design models. You will be able to design and deploy sophisticated web applications in PHP connected with relational databases like MySQL, PostgreSQL or ORACLE with a few mouse clicks. No longer it is necessary to program professional applications for the WEB! VisualWade generates feasible source code ready to deploy in your favorite web server. There is no need to use a propietary runtime library to execute your generated code. Take advantage of you favorite authoring tool to complete the final look and feel of your web application without getting to see a single line of source… Continue reading »

by Keiron on June 16th, 2005 | Programming | No Comments » |