Archive for February, 2009

Microsoft Slows Down Technology / CSS Level 3

February 28th, 2009 | 2 Comments »
Posted by Aaron Reimann under Internet Explorer, Microsoft, Web Development

As a web designer and developer, I am very excited about CSS3.  The features are finally there to do, what I would consider, real design layout effects that you normally would have to do in Photoshop.  I have to be realistic and know that I won’t be able to use these features for 5 or more years.  It is all Microsoft’s fault, let me explain why.

Internet Explorer – fully funded

Internet Explorer 6 was released August 27th, 2001.  That is right, 2001 and it only had partial support for CSS level 1.  It is now February, 2009 and last months’ stats according to the W3C, had 18.5% of the people online using it.  That forces web designers to stick with technology that is 8 years old.  I am guessing that we will no longer have to support IE6 sometime in 2010.

Internet Explorer 7 was released in October 2006 and it only had partial support for CSS level 2.  Now please realize that CSS level 2 specs came out in 1996.  That puts Microsoft 10 years behind when it comes to one aspect of browser technology.

Let me cut Microsoft some slack and guess that IE7 will only have a life-span of 6 years.  To me, that means that 5-10% of the people online will be using it in 2012.  So, designers will be able to drop support in 2012.

The extremely sad piece is next.  Initially, IE8 was supposed to be released late in 2008.  Shockingly enough, that did not happen.  A public RC (release candidate) was released in January 2009 and the final version should be released in later 2009.  IE8 is slated to support only CSS level 2.1.  CSS level 2.1 specs came out in 2005.  Why Microsoft has to be so far behind is beyond my comprehension.

So let’s do the math again.  Let’s say IE8’s life span is 6 years.  We will finally be able to support CSS level 3 in 2015 in all browsers.  Assuming that there is an IE9 sometime before then (Ok, I’m sure they will release something, but not before CSS level 4 is out).

Open Source – some funded, some not

Now let us think about the Open Source movement.  Let me give you a quick little run down on some of them.

  • Firefox – In my opinion it is Netscape’s grand-daughter.  Netscape gave birth to the Open Source Mozilla, and Mozilla gave birth to Firefox.
  • Konqueror – A browser for Linux/Unix.  It’s engine is called KHTML.
  • Safari – Based on the KHTML engine.  Safari’s engine became known as Webkit (and Webkit has submitted code back to KHTML)
  • Chrome

So, are you wondering which one of these browsers are CSS level 3 fully compliant?  Well, none of them of course.  At least, none of them that are not in Alpha or Beta.  Chrome and Safari though, in Beta both passed the Acid3 test, according to the Acid3 web site.  Firefox 3.2 Alpha is almost compliant, and Konqueror shortly behind Firefox.  I am assuming that in the next few months they all will be passing the Acid3 test.  This means that shortly every popular Open Source browsers will be light years away from Microsoft when it comes to Internet browsing.

Why Is Microsoft So Far Behind?

I would think that the people that have 90% (that number is a guess) of the desktop market share would be winning, and be pushing technology.  Obviously that is not the case.  Open Source is just working better for the users when it comes to the Internet.  I am guessing that they have way too much red tape in the organization to get anything done.  Maybe it is because Microsoft tries to be backwards compatible, which slows development down.

There must be a reason why they slow down technology, it is just a fact.  It makes web designers and developers miserable, the end user suffers, and web applications are not where the could be if Microsoft did not slow everyone down.

What A End-User Do?

Quit using old browsers.  Please use Chrome, Firefox, or Safari for everything you can, and update it often.  Tell everyone that you are more secure using one of the Open Source browsers.

 

How-to Transfer a WordPress Site

February 21st, 2009 | No Comments »
Posted by Aaron Reimann under Web Development, Wordpress

If you are hosting your own WordPress site and you want to move because the current hosting company is slow, unstable, expensive, etc., you can transfer your WP site very easily.  It takes almost no time.  This is also a good way to transfer sites even if it isn’t a WP site, just skip the database steps.  Once you have done this a few times you will never understand why you used to download everything onto your computer and then upload it to the new server.

Requirements to transfer using this method:

  1. SSH access on both hosting companies (it will say on their site, or call them)
  2. PHPMyAdmin on both servers.  You can use command-line MySQL, but if you know that your probably aren’t in need of this article.
  3. Basic knowledge of Unix would help

Step 1: Transfer Your Files

This will copy your files from your old hosting to new hosting company.

  1. ssh -p 22 username@oldhosting.com
  2. cd www
  3. scp -r -P 22 * username@your-domain.com:/home/username/www
  4. password: (type in your password)

Explaination:

  1. SSH into your old hosting (you might not have to specify port number 22)
  2. Change Directory into your web files directory.  Most companies give will make you put them in one of these folder:  www, public_html, or httpdocs
  3. The tricky step here
    • scp – stands for Secure Copy, it copies files through encryption
    • -r – Recursive, it will copy everything in your “web” folder, and sub directories
    • -P 22 – this is not needed if your new hosting company runs SSH over port 22 (doesn’t hurt to keep it though).  if the company does not run it over 22, change it to whatever it maybe (maybe 7822 in some cases, but rare)
    • * – means everything, if you want to only copy one file, like wp-config.php you would change the * with wp-config.php
    • username@127.0.0.1 – this will be whatever your username and domain is (specifically your SSH username, might be the same as your control panel) and the IP address of your new server.  If you have already transferred your domain to the new server you will have to SSH into the old server via IP address
    • :/home/username/www – this tells scp where to write the files once it starts transferring.  “username” is whatever was assigned to you, and “www” could be “public_html”, “httpdocs” etc.
  4. it might ask ‘Are you sure you want to continue?’, type in yes)
  5. password: (you should know this)

Your transfer should be going after you type in that password.  The transfer of the files normally takes 60-120 seconds.

Step 2: Change Your URL (optional)

If you are transferring from old host to new host with the *SAME* domain, you can skip this step.  If not, make sure you change your URL.

  1. Login to the admin on your old server
  2. Go to Stettings > General
  3. Change these two settings to your new domain “WordPress address (URL)” and “Blog address (URL)”

If you do not do these steps all of the links will be pointing to your old domain.  This is where WordPress is stupid, IMHO.  They should not store the URL in the database, it should all be in the wp-config.php file.  Maybe I’m missing the developers logic.

Step 3: Export Your Database

Get into the control panel on your old hosting company.  Get into PHPMyAdmin.  I wish I could give you more details than that, but every control panel is different.

Once in PHPMyAdmin

  1. Select the correct database by click on it on the left
  2. Click on Export (one of the main tabs)
  3. Now make your screen look like mine:
  4. Exporting WordPress Screen Shot
  5. Hit Go
  6. Save the file on your desktop

Step 4: Importing Your Database

This is very similar to the previous step, but backwards.  I’m going to be lazy and tell you this, without steps.  Login to the new server and import the file you just created with step 3.

Step 5: Change Your Config File

SSH into the new server and make these changes to your new settings:

define(’DB_NAME’, ‘ishinelight’);

define(’DB_USER’, ‘ishinelight_wp’);

define(’DB_PASSWORD’, ‘SomethingSafe’);

define(’DB_HOST’, ‘localhost’);

Step 6: Done.

Browse to your new blog and you are golden.

 

Content Management

February 21st, 2009 | No Comments »
Posted by Aaron Reimann under Web Development, Wordpress

So I’ve been working a lot on WordPress.  Ever since I worked on The Complete Laywer web site, I have wanted to do a lot more.  I used Wordpress when it is a little baby crawling on the floor, but now it is at the bar hitting on the ladies (I have *no idea* how that came analogy came up, please forgive me).

For most companies I am setting up CMS Made Simple, it is awesome for managing a basic site, but lacking with community-related plug-ins. CMSms does not allow for users to sign up and have access to more features of a site. That is where Wordpress comes in.

Adam Walker and I are going some WP sites. I’ll be dropping some WP snippets as I develop.

 

Why do people still use FTP?

February 20th, 2009 | No Comments »
Posted by Aaron Reimann under Linux/Unix, Web Development

FTP is a security nightmare, and no one should ever use it if the server is on the internet.

Why isn’t it secure you ask?  When people go to Facebook, Amazon, eBay, etc., they are safe because the data that is transferred is encrypted.  So if someone is snooping on the network (like at a coffee shop) they won’t see every letter you are typing being transferred.

FTP on the other hand has no encryption.  So if I am at a coffee shop and snooping on the network, I would get the password of someone if they login using FTP.  When you are on the internet though, everything is snoop-able (sp?).  So if you are at home, and I FTP into my web server, the username/password transfers through at least 10 networks before it finally hits the server.  Someone could be spooping at any point.

There are great options like FTPS (s = secure) and SSH.  I just setup “vsFTPd” on my Linux server and it is using SSL (secure socket layer).  It took less than 5 minutes.

If you are a web designer and have the option to use SSH, SFTP, FTPS, SSL, etc, use it.  Most clients now give you the option.

 
 
Theme by A. Reimann