Page 3 of 3

Sugar Land Network

Is your business a member of the Sugar Land Network?

The Sugar Land Network, founded by Brian Covault, is a collection of the finest businesses in the greater Sugar Land area.  Network membership includes a listing on the Sugar Land Network website, articles and ads in various publications, networking events, and much more.

Sugar Land Network Business Discounts

Many members of the Sugar Land Network offer discounts when customers show their Preferred Customer Card at the time of purchase.  Preferred Customer Cards are free and are available at any Sugar Land Network business location.  View the full Business Directory to see all the Sugar Land Network’s businesses or Search by Category.

Sugar Land Web Design

Jellyflea Web Design is a member and also the web design company for the Sugar Land Network.  Visit www.Jellyflea.com for more information.

Before & After Design

A few Christmases ago, I received a great book called “Before and After Design“.   There’s a huge number of graphic design books out there, but this one really hits a home run.  The author, John McWade, offers insight as to why something looks good or bad and points out all the design elements that contribute or detract from a design.  John’s style is unassuming and conversation, while totally demystifying the creative process.

Along with his website, magazine, and video emails, Before and After is an awesome resource for the graphically gifted and challenged alike.

Website: www.bamagazine.com

Jellyflea Web Design

Need a totally custom website? Look no further!  Since 2006 Jellyflea Web Design has been serving the greater Houston area with custom web designs and database design.  Every design is custom and scalable to any size and budget.  Keeping pace with the growing trend for web applications, Jellyflea also creates custom website widgets, administrative backends, or any other custom data solution your business requires.

Offering a wide range of website hosting and email hosting products, Jellyflea is a ‘one-stop shopping’ experience, taking the guesswork out of the techie stuff.  Firmly grounded in Christian principles, Jellyflea treats each client with courtesy, respect, and patience through the design process and beyond.

Contact Jellyflea Web Design Today!
www.jellyflea.com
281-313-4866
Sugar Land TX

Convert Dynamic Website to Static HTML Files

I design every site in PHP, even if there isn’t a database involved.  Why?  It actually saves me time and my clients money. By creating a ‘template’ page called index.php and dynamically inserting the page title, meta tags, menu, content, and anything else that changes on a page-by-page basis, a website can be much more dynamic and easier to update and maintain.

The advantages of this technique are huge – if a client wants to add a page to the menu, it only takes a minute, instead of hours (if you are dealing with a large website).  Sure there’s always search & replace functions, but that will inevitably lead to mistakes & inconsistency.

So What’s the Downside?

The only downside of this technique is that some people don’t like or understand the query strings in the url that result from this method.  For example the URL for Jellyflea Web Design’s portfolio page is:

http://www.jellyflea.com/index.php?p=portfolio

Now, being a web designer, that doesn’t bother me in the least, but some clients prefer to see something more familiar like:

http://www.jellyflea.com/portfolio.html

Mod_Rewrite to the Rescue!

Luckily, thanks to Apache and mod_rewrite you don’t have to abandon the dynamic page generation.  You can include an .htaccess file that looks something like this:

RewriteEngine on
RewriteCond %{HTTP_HOST} !^www\.jellyflea\.com$ [NC]
RewriteRule ^(.*)$ http://www.jellyflea.com/$1 [L,R=301]
RewriteRule ^(.*)\.html$ /index.php?&p=$1 [L]

Now when someone goes to http://www.jellyflea.com/portfolio.html they get redirected without ever knowing it.

Convert Existing Links from Dynamic to Static

Sometimes the client will request this after the design is done, which forces you to update all your links to match the new html format.  Luckily, you can do a search and replace function in your regular expression equipped text editor.  Here’s instructions on how to replace all instances of links with the new format by using Smultron.

  1. Open all your files as a project.
  2. Go to Edit->Find->Advanced Find and Replace
  3. Choose “Current Project”
  4. Find: index.php\?p=([\w-$]+)
  5. Replace: $1\.html
  6. Click “Replace”

… and index.php?p=page-name is replaced with page-name.html.

© 2023 Kyle W. Henderson

Website Design by JellyFlea CreativeUp ↑