October
10

Zend Technologies held their fourth ZendCon conference, ZendCon 08, in Santa Clara, CA from September 15-18. In case you weren't able to attend (like me) or just want to see them again, the presentations from the conference are available online. You can view the ZendCon 08 Slides from the Zend Developer Zone website.

There are 60 different presentations available currently with a possibility of more on the way. They cover a wide range of topics including MySQL (Jay Pipes), Facebook development (Brett Harris), PECL (Elizabeth M Smith), scaling PHP applications (Shahar Evron), and many more. The presentations are broken down by the day they were presented and show you the speaker and session name. Here are a few of the presentations that I'll be checking out this weekend.


October
9

The Basics of CHMOD

Posted In: *nix, Webmaster by Scott Spear

What is CHMOD?

CHMOD is a Unix shell command, short for change mode, that can change the permissions of a file or directory. CHMOD uses references (or classes), operators, and modes to assign permissions for users to files. CHMOD can be used in a string notation and octal notation, which is represented in numbers instead of a string.

How can I see the permissions?

The Unix File System Permissions are easily viewable by a directory listing, using a command like ls. This listing will show the current file permissions in the string or symbolic notation of 10 characters. The first character displays the file type and the next three sets of three characters represent the file permissions per class (owner, group, others respectively). You can see an example ls listing below:

$ ls -l test
drw-rw----   2 testuser  testuser       96 Dec  8 12:53 testdir
-rw-rw----   2 testuser  testuser       96 Dec  8 12:53 testfile

How can I change the permissions?

You can use CHMOD two different ways (different syntaxes as noted above) to change the permissions. A string notation and octal notation are available, one being a symbolic syntax and the other being a numerical syntax. String notation uses "r", "w", and "x" to change the permissions while octal notation uses 4 for "r", 2 for "w", and 1 for "x". These numbers are added together to get the appropriate permissions (For example: 6 = 4+2 = rw). You can check out a simple CHMOD JavaScript calculator that calculates the octal notation for the permissions you choose. You can also see some example uses of both notations below:

String Notation

chmod u=+rw,go=r testfile - Add read/write to the user, read to group/others
chmod o= testfile         - Remove all permissions for others
chmod -w testfile         - Remove write permissions for all

Octal Notation

chmod 0644 testfile       - Read/write for the user, read for group/others
chmod 0660 testfile       - No permissions for others
chmod 0444 testfile       - No write permissions for all

October
8

.

Installation

FreeBSD provides a very easy installation process; it uses Sysinstall as an automated installation package to do it for you. All you have to do is answer some questions to create users and tell it which software to install and you are on your way to being up and running in a matter of minutes. The full installation takes longer that a few minutes to complete, but using Sysinstall to set the installation parameters is very quick. This installer takes care of everything needed to have FreeBSD installed and functioning correctly on your system, including user creation, software/application installations, network and peripheral setup, and much more.

Security

FreeBSD is one of the most secure operating systems available. There are a number of security features built into the system that deal with user and file system security. There are also a number of applications compatible with FreeBSD that offer added security beyond the default features. Besides the basic user permissions modified through CHMOD, FreeBSD offers the ability to use ACL and MAC. These options allow user permissions on a more specific level than the basic Unix permissions. You can also use a firewall to secure your system. FreeBSD has two options built in, altq and dummynet, as well as a number of applications available for install like IPFILTER (IPF), IPFIREWALL (IPF), and PacketFilter (PF). Another way to secure your system is change the default password hash from md5 to blowfish in login.conf.

Another great security feature that comes with FreeBSD is the ability to jail a process. This allows for separate environments for processes that are completely locked off from others. These jails function as almost a separate installation of FreeBSD allowing for its own user processes, user accounts, and files. Using a jail helps for testing software and often used by web hosts to give their users control over a virtual server.

Compatibility

There are numerous hardware compatibilities listed on the hardware notice for each release of FreeBSD. It is compatible with all the major processors the most popular being Intel and AMD. There are also thousands of applications available for installation on a FreeBSD system. As well as having all of those application ports available, you can run Linux applications on FreeBSD with the Linux Binary Compatibility system. This allows you "to run about 90% of all Linux applications without modification" (Linux Binary Compatibility).

Ports

The port system is a collection of software that is packaged and ready for installation on a FreeBSD system. You can download the source and install them very quickly and easily. Ports are available from the installation disc, online at the ports collection, or at FreshPorts. Once you have chosen a port to install and have followed the installation procedures, you can stay up to date with the ability to download and compile the updates easily from within the ports system. There are currently over 19,000 ports within 63 categories available for download and use (FreshPorts Stats).

Documentation

FreeBSD has many different options for documentation. They offer eight different kinds of documentation on their website including FAQ, Manual Pages, and the FreeBSD Handbook. There is also a web resources section, a for newbies section, and books and articles. The handbook is in my opinion the the best resource available and can be viewed online in multiple formats and downloaded as a local copy. There are a number of books dedicated to FreeBSD as well; a search on Amazon.com will demonstrate this. You won't have to browse the web for basic command questions; you can use the man pages on your installation of FreeBSD so you can have general command help locally whenever needed.


October
7

As many of you know Adobe launched it's CS4 product on September 23rd. To help with the release of the product Adobe held a CS4 launch broadcast that is available from the AdobeTV website. If you missed the broadcast, you can still check out the hour long video to get some of the information surrounding the new release.

This release includes updates to well known products like Photoshop, Flash, Dreamweaver, and Acrobat, but there are also updates to some products incuded that you may not know about like Soundbooth and OnLocation. You can get CS4 in six different versions:

  • Design Premium - $1,799
  • Design Standard - $1,399
  • Web Premium - $1,699
  • Web Premium - $999
  • Production Premium - $1,699
  • Master Collection - $2,499

Each version includes different combinations of applications. If you would like more information about CS4 or the products included within each version, check out the CS4 website.


October
6

As a developer I have often wanted to be able to test query speeds among other things. The problem is I didn't always have a usable data set sitting around that could meet the requirements of my test cases. To make a long story short, I wish I had GenerateData.com a long time ago. This is a great tool and has a lot of potential. It can save a lot of time when you are trying to create your own test data set to work with.

GenerateData.com is currently in version 2.1 (released July 25, 2008) and offers a nice set of features. You can generate data in many different data types like addresses, numbers, lorem ipsum text, email addresses, phone numbers, and more. Once you have chosen what kind of data you would like to generate, you can choose from five different export options. You are able to export the data in XML, Excel, HTML, CSV and SQL formats. The SQL export options gives you the choice of MySQL or Oracle syntax. You can generate up to 200 records at a time, unless you donate $20 or more, which allows you to generate up to 5000 records at a time.

The generator is written using PHP, MySQL, and JavaScript. You can use the online version or download a copy of the script for use on your own server. The downloadable version is licensed under GNU. The website has requirements and installation instructions to follow if needed.


October
3

PrototypeXtensions adds additional components to Prototype.js and Script.aculo.us, two of the most popular and widely used JavaScript frameworks/libraries available. While these are extremely useful tools for creating visual effects, UI improvements, and Ajax methods, the creators of PrototypeXtensions realized a need for additional components. The library is currently at version 0.1.2 and is released under MIT License. There are three main categories of additions, or extensions, that are added by this library with specific features within each category. I have listed a basic feature overview below.

Features

  • Core Extension
    • Class.accessors
    • Cookie
    • Browser
    • EventManager
    • Number
    • String
  • History
    • History
    • Observer
    • Registry
    • Ajax
  • Tabs
    • Show/Hide
    • Select
    • Ajax/iframe
    • Options
    • CSS Theme

There are detailed explanations and examples for each feature available so be sure to check out the website for more detailed features and information. You can download the current release in the original uncompressed form or download the smalled Minified and Gzipped version.


October
1

The Lightbox Clones Matrix lets you easily compare different lightbox clones in a table format. The table, or matrix, lists many of the features for each of the options and compares them side by side. Using jQuery to create the sortable table, the comparison matrix is very fast and easy to use. There are comparisons for 46 lightbox clones comparing seven different features. You have the ability to sort and/or filter by each of the seven features as well as the library type.

The filters include jQuery, Prototype, Mootools, YUI, "Can display images", "Can group images into sets", "Can display inline elements", "Can display iframes", "Can fetch content via Ajax", "Can display Flash", and "Can display various Video objects". There are icons to help you visualize the different features and easily sift through them.

Be sure to check it out or read more about it from the creator.


September
30

The 5 most popular Posts of the month in September were:

  1. Learn HTML & CSS at the HTML Playground
    "The HTML Playground offers XHTML and CSS references by example. The site is still in beta at version 0.4, but offers an easy to use interface that makes digesting all the information displayed simple. It is a fast loading application and I have just found it to be overall a great tool for learning the basics of HTML and CSS."
  2. Collection of ActionScript Cheat Sheets
    "ActionScriptCheatSheet.com offers a number of ActionScript related cheat sheets, including one for both version 2.0 and version 3.0 of ActionScript. There are cheat sheets listing the available packages, details about specific packages, and overviews."
  3. How To Get Your FeedBurner Circulation With One Simple Function
    "If you have visited a few blogs then I am sure you have seen the FeedBurner stats graphic. The count is very useful, but the graphic itself isn't very appealing, even with the ability to customize it. Thankfully the FeedBurner API was released, which allows you to retrieve your stats without the graphic."
  4. 15 Places to Find Your Next CSS Layout
    "Creating a theme is a multistep process. You have to pick the color scheme, decide how many graphics to include and what purpose they will serve, as well as decide on a layout. Sometimes it isn't easy to decide on a layout and it would be nice to have some examples and ideas to look at. That is what I'm focusing for this post."
  5. Great Looking Collection of Credit Card Icons
    "Do you accept credit cards through your website? It could be through any number of other third party processing companies like PayPal or Authorize.Net. If so there are some great looking credit card icons available for free. Fineicons.com offers a collection of 23 different credit card icons for download. Be sure to check them out and download for free if you like them."

What was your favorite post this month? Let us know in the comments.


September
29

HTML Dog offers HTML and CSS tutorials for a beginner, intermediate, and advanced web designer/developer. The website is very well designed and easy to navigate. The information in the tutorials is clear, concise, informative, very useful, and overall well written. You can also get information from additional references including HTML tags and CSS properties. There are articles available that build on the tutorials providing a more detailed understanding of certain topics. If you would like to see what you have been reading about in the tutorials in action, you can view a large number of examples spread across seven different categories.

The tutorials, articles, and examples from HTML Dog are written with a strict adherence to the Web Standards created by the W3C. The information was created by Patrick Griffiths who has been a front-end web developer using HTML and CSS since 1999. He has contributed to well known and credible sites like A List Apart and the CSS Zen Garden.

If you find the information useful and would like to have a copy of it, you can purchase a copy of the HTML Dog book which includes information similar to the tutorials and articles. You can get your copy at Barnes & Noble, Borders, and Amazon.com.


September
26

Creating a theme is a multistep process. You have to pick the color scheme, decide how many graphics to include and what purpose they will serve, as well as decide on a layout. Sometimes it isn't easy to decide on a layout and it would be nice to have some examples and ideas to look at. That is what I'm focusing for this post. Here are 15 great resources to help you pick your layout and download the CSS to get you started.

Free-CSS offers over 250 different free CSS layouts for you to use. You can browse them and preview them as a thumbnail as well as click on each to see a demo in a GreyBox. Their terms of use are available in each zip file as well as on the website. The authors give this general explanation "All of the CSS layouts that are featured within Free CSS are distributed under some form of GNU/GPL License or under a Creative Commons License or are free" (free-css.com).

IronMyers offers three different layout collections. They are the 750px collection which includes 56 different layouts, the 950px collection which includes 56 layouts, and the 100% collection which also includes 56 layouts. You can view an image of the layout as a preview or you can view all the layouts in demo format.

Code-Sucks.com has created a number of different examples of CSS layouts. You can see simple images of them or view them as a demo layout. All 95 of their layouts validate against the Strict DOCTYPE.

Layout Gala offers 40 different layouts that are viewable as thumbnail image previews or demos of the actual layout. You can download each layout individually or download all 40 in a zip file if you want. All of the layouts are based on five sections; they each include a header, content, navigation, other stuff and footer section.

Max Design offers a number of CSS layouts covering the typical ones like two and three column layouts. The main advantage to this site is the addition of tutorials to each of the layouts. There is an explanation and help offered for each layout to help you learn a little more than just looking at samples, demos, and code. The code is available to copy and paste for your use.

Nice and Free CSS Templates offers a number of layouts including three columns, four columns, and box layouts. Each template is available as a thumbnail preview, a demo, and the CSS code is available to copy and paste for your use. All of the templates validate to W3C standards for XHTML 1.0 and CSS.

CSS Play offers 14 different CSS layouts including three column and fixed. You can view demos of the layouts and the CSS code is displayed to copy and paste for your use. The copyright and usage policy is listed on the bottom of the main page.

For those of you who already own Dreamweaver CS3, it has a number of CSS layouts built in. You can easily find them by simply creating a new HTML file and choosing one of the templates provided. They offer previews next to the choices as a selection is made.

About.com offers a huge wealth of information including a number of CSS layouts. There are more than 25 layouts available, each with a demo to look at as well as a detailed description about the layout. You can save the templates for use in your websites. They also have listed the terms of use on their website.

SSI Developer offers CSS layouts in three different categories. They have created two column, three column, and general templates. You are able to view an image preview, view a live demo with some generic content, and download the layouts as a zip file.

The Dynamic Drive CSS Library offers a number of great CSS layouts, among other great resources. They have created almost 50 different layouts in five categories. You can choose from two column, three column, fixed layout, flexible layout, and CSS frames. Once you decide on a layout, you can view an example and get a copy of the code.

Mitch Bryson has created eight basic CSS layouts. Each layout has a thumbnail image preview, a demo page, and a download link to the layout zip file. The layouts include one column, two column, three column, fixed, and fluid.

The Layout Reservoir offers two main CSS layouts. There is two column and the the three column layouts available. The two column layout has an example with a left hand menu and a right hand site menu. Each layout has the CSS code available to copy and paste for your use.

Glish has compiled six of the most common CSS layouts used on the web. They give examples and the CSS code for 3 columns, the holy grail, 2 columns, ALA style, 4 columns, all fluid, 3 columns, static width and centered, and nested float. The offer the code in a textbox at the bottom of the examples for you to copy and paste for your use.

WebDev offers two column and three column CSS layouts licensed under a Creative Commons License. Each layout has a demo available to check out. Along with the typical two and three column layouts, there are also some discussion board layouts, threaded and unthreaded, as well as some random template layouts. You can download all of the layouts in one zip file.