Quantcast
Channel: Squirrel Hacker » Procedural programming languages
Browsing latest articles
Browse All 9 View Live

Image may be NSFW.
Clik here to view.

Templating

There are many ways of doing templating (for quick website development) especially in php. One that I have a lot of experience with is Smarty.  So far I am not impressed too much with it. Rather than...

View Article



Image may be NSFW.
Clik here to view.

links for 2009-06-03

How To Write Unmaintainable Code If anyone even hints at breaking the tradition honoured since FØRTRAN of using i, j, and k for indexing variables, namely replacing them with ii, jj and kk, warn them...

View Article

Image may be NSFW.
Clik here to view.

Stop Micro-optimizing

Let’s look at a common php ‘optimization’ tip (note that I am only running this test on my computer, and I am not shutting things down to help it go faster). Use single quotes ( ‘ ) instead of double...

View Article

Image may be NSFW.
Clik here to view.

Getting Started With PHPUnit

We all agree that testing code is better than not testing it right? So why do we tend to avoid writing unit tests to make sure that we are writing code that works? I’m looking at you PHP guys. Good...

View Article

Image may be NSFW.
Clik here to view.

RE: Top 10 PHP Techniques That Will Save You Time and Effort

I realise that I already posted something today, but this seemed like an emergency… I thought maybe this was a serious post when I clicked on it, then when I got to number 2 on the list (I had skipped...

View Article


Image may be NSFW.
Clik here to view.

Dashing Widget For Disqus Comment Count

Obviously you need dashing first: shopify.github.com/dashing/. Here is a screenshot of the result: I went with a blue background and used the comment icon, obviously you can change this… The code is as...

View Article

Image may be NSFW.
Clik here to view.

Generic hook_theme for drupal 7

<?php /** * Create a themeable item out of all of the templates in the templates folder * @implements hook_theme * @param array $existing An array of existing implementations that may be used for...

View Article

Image may be NSFW.
Clik here to view.

Dynamic Images with PHP

You may or may not have noticed that my headerchanges slightly everytime you load the page. If you want to check it out, go ahead I’ll wait. Ok, so now that you have checked it out, I will show you how...

View Article


Image may be NSFW.
Clik here to view.

links for 2008-12-19

Typealyzer What type of blog is that? (tags: tools Web2.0 tool writing visualization typealyzer type text) Aegisub: If programming languages were religions… PHP would be Cafeteria Christianity… hahaha...

View Article

Browsing latest articles
Browse All 9 View Live




Latest Images