Lost Password?


home | tags | Search | Feed
John's Blog
John Description:
A short description about your blog

Joomla! And Incompetent Programmers

Posted by: John in Untagged  on

Over the past few days I have been attempting to migrate my Joomla 1.0 & SMF website to Joomla 1.5 along with Fireboard. I decided to upgrade Joomla for the obvious reason - it is outdated, and I decided to migrate away from SMF due to the licensing issues between Joomla and SMF. These issues cause any extensions connecting the two pieces of software, for example a bridge, to be illegal (so much

Google Web Toolkit

Posted by: John in Untagged  on

Ever since the web has ventured into its newest phase known as Web 2.0, one of the attributes web developers have started to focus on is the interface in which users interact. Gone are the days of static web pages built in html, table based layouts, and infamous page refresh. Developers have made every attempt to drift away from the old look and feel and have started to concentrate on the

Passwords

Posted by: John in Untagged  on

Passwords are our digital fingerprints. Shouldn't they be as secure as we want them? Apparently some websites don't think so.


How are our passwords stored?
Most websites store users passwords as an md5 (message digest 5) hash. Essentially, your plain text password is passed through a function that hashes your password. That hash is stored in the websites database. Since md5 is a one way hashing

PHP Nowdocs

Posted by: John in PHP on

A few weeks ago Jordan blogged about the heredoc syntax. The point I want to raise in this blog, is the heredoc syntax parses PHP code, similar to double quotes around a string. For example
Would output
Hello World!
Hi John!
Notice $name was parsed as a variable not as a

My Recent Shell Scripting

Posted by: John in Linux on

Recently I have been working on some shell scripts to aid in the installation of applications. One of the scripts I have been working on is a LAMP (linux, apache, mysql, and php) installer. For almost two years I ran a local WAMP server (same as LAMP but the operating system is Windows) which was installed by clicking some executable (XAMPP / VertigoServ). However, Linux shows no sympathy for

Do web hosts oversell?

Posted by: John in Hosting on

What is overselling?
Simply put, overselling is when a host offers to more resources to their clients than what they physically have.

I would venture to say, all hosts oversell. Overselling for the most part is a legitimate practice. Most owners of dedicated servers who specialize in web hosting receive, say, an 80 GB hard drive and 8000 GB of transfer from their data center. Lets assume one of the

Random Numbers

Posted by: John in Programming on

Have you ever been in a conversation where someone blurts out something completely off topic? You say to yourself, “well, that was random.” Chances are, unless that person suffers from a mental disability, that spew of “random” verbiage was not really random.

What is randomness?
The Oxford English Dictionary defines random as “made, done, or happening without method or conscious

Extract Variables

Posted by: John in PHPionManager on

A few months ago, in one of the php articles / books I was reading I stumbled across something called variable variables. Essentially, it lets you create a variable whose name is defined by another variable. I thought to myself “where the hell would this be useful?” A few days after Jordan bloged about variable variables I actually found a use for them:

ionManager (a framework and CMS built

Object Oriented Design The Singleton

Posted by: John in ProgrammingPHPObject Oriented ProgrammingDesign Patterns on

One of the many annoyances of programming is a variables scope. Generally variables can be declared within the global namespace or the local namespace. When working with methods and classes global variables appear to be a good idea, however overuse of the global namespace can cause variables to clash, it also undermines encapsulation. Moreover, a class which depends on a global variable is

PHPUnit

Posted by: John in Untagged  on

All developers at one point or another test their code. Although it generally takes the forum of an echo to make sure your code is being ran or the correct data is being processed – it is a test. The unfortunate side effect is, all those tests will be removed. Therefor, when a piece of functionality breaks within your code, you sit at your desk manually sifting through your files once again

<< Start < Prev 1 2 Next > End >>

Statistics

Members Today: 234
Members Online: 10
Users Online: 109
Total Users: 16,113
Total Threads: 10,602
Total Posts: 100,507
Newest Member: schrader@fsu.edu