Tag: web development

The Inconsistencies of PHP

Posted on June 12, 2011 in General

Over the past few months I've come to love the Ruby programming language for many reasons. After using this language for a while and having a blast of a time, when I came back to PHP, I found it disgusting. I used to love the language; my tastes of syntax have definitely changed, but one thing that really bugged me as I examined PHP closer, is its inconsistencies. As you can tell by the title,...

Read more...

Making a 3D Button in CSS

Posted on June 05, 2011 in Tutorials

In this tutorial I'll be showing you how to create a 3D-looking button, made out of pure CSS. The button we'll be building is similar to the button I've used on my project pages. Take note that this uses a number of CSS3 properties, like border-radius and box-shadow. Anyway, let's get into it. The HTML The only HTML code we'll need is a div tag with the proper class: <div class="big-button">Your Text Here</div> If you...

Read more...

My Thoughts on Flash

Posted on April 25, 2011 in General

I used to do a lot in Flash. In fact, my first programming language was ActionScript 3. I hacked around for quite some time trying to get Flash to talk to PHP, and eventually figuring out AMFPHP, going on to create the Using AMFPHP tutorial series, and AMFPHP Toolbox. In this post, I'm going to share my current thoughts on Flash, and it's current place in my toolkit. As I said, I used to do...

Read more...

Sometimes WebKit Makes a Big Difference

Posted on March 08, 2011 in General

Due to all the awesome features that WebKit has to offer, if you're not using a WebKit browser, some pages can look very different and you don't even know. Take a look at the awesomely constructed under construction (I know, that sounds weird) page at ringshia.com. If you view it in a WebKit based browser (Chrome and Safari are the major ones) you'll see some nice looking text (using text shadows), a background gradient, and...

Read more...

Generating a Joomla Password (for reseting)

Posted on February 23, 2011 in Tutorials

I recently found myself in the awkward situation of having only a Super Admin user in the Joomla installation, and neither I nor my client knew the password. I had to the fix the problem, and I decided to do so by generating a Joomla user password (which required a lot of searching through code, mind you). Here's the PHP code I used: <?php // JUserHelper class from libraries/joomla/user/helper.php $pwd = 'my_new_password'; $instance = new...

Read more...

Making a Dynamic Copyright With PHP

Posted on February 23, 2011 in Tutorials

I though I'd just write a quick tutorial on how I make a dynamic copyright for my websites. If you don't know what a function does in the code, look it up on the PHP manual. <?php echo strftime('%Y', time()); ?> That's the year generating code. It's just grabbing the year from the current timestamp. So we could do something like this in the copyright: &copy; <?php echo strftime('%Y', time()); ?> Legion of Weirdos. You...

Read more...