Security is and always will be an important topic, especially in the computer world. I've outlined and explained some of the basic and most common forms of exploiting and what you should be keeping in mind. Thinking outside the box Using an application in a way that it wasn't designed is key. Generally when using an application you're pointed towards a set guideline, taking the road less traveled may open up security holes that a

Read more 0

Throughout my time as a designer I have been constantly surprised by the fact that there is a better way to do something that I had been doing for years. These things can be small like a keyboard shortcut that might save you a second or two but in the course of a few years save you countless hours and energy. Or it could be a Wordpress framework that saves us months! Recently discussions with

Read more 0

The idea of a queuing service is to offload something that's potentially resource intensive and takes time to process. Moving a piece of a logic that would originally be executed at visitor run time could potentially speed up the users experience, this alone makes queuing a winner. Slow websites have become a trending topic lately, with lots of sites writing articles. Recently I was able to use beanstalkd to offload error prone logic making calls

Read more 0

7

Criteria Criteria Description Start Must be painlessly quick and simple to get started. Ideally, it should take less than five minutes to have the latest version of CakePHP up-and-running with a MySQL database. Configure Environments must be easily configurable. For example, it must be easy to specify a different database config for local development and live production environments. This may be achieved, for example, via a deploy hook or an environment variable. And ability to

Read more 0

Here at the Hive anyone can host an informal workshop, known as a brown bag, to share learning's which the team would benefit from or find interesting. This week I shared my experience about the Migrations Plugin for CakePHP. During GovHack 2012, we had three developer's actively expanding the Bako schema and the Migrations Plugin provided an effective tool for distributing those changes. The Migrations Plugin is not only a method of versioning the database schema,

Read more 0

Depending on the audience, I may describe myself as one of the following: engineer, developer, programmer or coder. Anyone who wears the above hats will wrangle with instructions that a computer somewhere will know what to do with. These instructions, represented in programming code, may be performed by multiple machines and an incomprehensive amount of times.  So when do coding standards come into play? The author will not hold the only pair of eyeballs that

Read more 1

JavaScript (JS) is a popular scripting language that becomes very useful when enhancing a website, an entire website shouldn't rely totally on JS due to the following: Structure can become lost and the site may be harder to maintain. Separation between HTML and your logic is a must. Screen-readers & Crawlers don't execute JS, this can be a loss for SEO. Source code that is accessible for anyone to view can create security risks. Hackers

Read more 3

Educational Cake This month the Engineers at Pollenizer sat together through an online CakePHP training program. It was a good opportunity to gauge what the CakePHP community consider advanced and to explore familiar topics from another Engineer’s perspective. Here are a few things that I found interesting Pagination Pagination is the process of splitting information into distinct pages. If you’ve ever tried this task with straight PHP, I'm confident you would agree this can get

Read more 0

The recent release of PHP 5.4 includes a new feature called Traits. It enables method injection into classes and the concept will be familiar to anyone who has experience with Ruby's mixins or traits in Scala. CakePHP's 'Model Behaviour' functionality is also influenced by the concept of traits and mixins. Traits are similar to abstract classes, however they are particularly useful when a method has applications across a wide area of concerns. They can be

Read more 1

It's easy to label something as terrible if you've had a bad first impression. Before you do label the CMS/Technology with the sh*t sticker you should have some sort of idea on how it works and how to use it. Drupal is a CMS backed by a strong community and a large amount of modules to build the site you need in an easy and effective way. It's broken up into two main areas, modules

Read more 0

A common problem the engineering team is experiencing at Pollenizer is finding the resources to dedicate to system administration duties. With the vision of reducing those duties, Pollenizer has been exploring PaaS providers. I have reviewed services offered by Orchestra, PHP Fog and Pagoda Box. The stand out is clearly the latter. PaaS providers typically offer deployment via Git hooks, most likely post-receive. This means you commit to the provider’s repository, and the code is

Read more 5

Overview Web applications typically require very specific server environments in which to run. Most of us build applications from a variety of disparate components at different layers of abstraction. (We do not, for example, re-implement an operating system every time we wish to build a web app - to do so would be madness.) Assuming you're not using a Platform-as-a-service provider (e.g. Heroku, PHPFog), at some point you're going to need to run up a

Read more 3

Fearing change is normal and it is also a valid emotion. Within system administration, change appears in the form of upgrading. Upgrading is often closely followed by breaking. Deploying a bleeding edge Ubuntu distribution with only 18 months until End of Life can be daunting. Why bother? Trying to source new packages for an ancient release (read: 12+ months) does not come without custom repositories or pinning versions. I like to stick to defaults, and

Read more 0

Social Networking: The use of a dedicated Web site to communicate informally with other members of the site, by posting messages, photographs, etc. Hacker: An enthusiastic and skillful computer programmer or user. Combine the two and you've got a social hacker, using the ever expanding library (social networking sites) to aid in the battle of retrieving information. The internet to the common user wouldn't fall under the definition of dangerous, when in reality it is potent.

Read more 0

There is quite a lot to learn from spammers when it comes to landing pages. Check this one out: http://paleorecipebook.com/ The structure goes as follows: #1 Hook #2 Value (bullet points) #3 More value (details) #4 WOW! BONUS! #5 OMG! More bonuses. #6 Did I mention bonuses? #7 Reviews #8 More reviews. All these ppl can't be wrong right? #9 Buy button #10 Security #11 Buy button again Notes: - They don't bother wasting precious

Read more 1

As appealing as Test Driven Development (TDD) appears, in the workplace, I have yet to be able to see it successfully applied consistently. According to the book The 7 Habits of Highly Effective People, effective habits are defined by the intersection of 3 components; knowledge, skill and desire. Given this, the hypnosis is, if all concepts of habits are explored in a TDD perspective, one would be able to effectively perform TDD. Knowledge - What

Read more 2

I've had the idea for a countdown timer for a while now. So the last couple of weeks I've been plugging away at one. I have sorted out some interesting issues with it. Basically keeping time with Javascript is a pain but I think I've solved it. Here it is my jQuery Coundown Timer Plugin. I have tried to make it as flexible and reliable as I could. Unfortunately I could only get it down

Read more 1

Last week I wrote a plugin to do tabbing navigation. I've written this javascript so many times in the past, I can't believe I haven't turned it into a plugin til now. What came out was the fastest plugin I have ever written. I think it took me about 30 minutes. It degrades nicely and is very light-weight. When compressed it's under 1K. As per usual I have given the option to customise your selectors.

Read more 1

A couple of wees ago I wrote a piece of javascript for the new Wooboard interface. The problem was that there was a tabbing navigation that needed to support many more items than could fit in the screen. This navigation changed depending on what challenges were set. There could be 1 or as many as 100 navigation elements. When the navigation was small enough to fit inside the containing element, then the navigation should look

Read more 0

I wrote this plugin ages ago, but I recently upgraded it to work on optgroups, so I think now it's worthy of being published. Many times I have received designs that have fancy select boxes. All UI developers know about this problem. Designers seem to think that you can make the web look like anything. Well, they are right, but you can't always do it with HTML and CSS alone. This plugin takes a select

Read more 1