Search Engine Safe URLs with Mach-II

Mach-II provides a convenient way to create Search Engine Safe (SES) URLs for your web application without getting your hands dirty.

What are Search Engine Safe (SES) URLs anyway? Typical dynamic pages generated by server-side code require that either FORM or URL-scoped variables be provided in order to differentiate one dynamic page from another. A majority of these URLs look plain ugly: index.cfm?event=welcome&firstName=Adrian&lastName=Scott.

Wouldn’t it be a lot nicer if we got rid of the ?, =, and & symbols in favor of a more structured (and clean) method like: index.cfm/event/welcome/firstName/Adrian/lastName/Scott/. Not only are URLs like this easier to read and understand, but they supposedly also increase search engine optimization.

SEO Consultants – Search Engine Friendly URLs

Read the rest of this entry

jQuery and JSON-P

Utilize jQuery and JSON-P to create a AJAX-driven search tool with Google’s AJAX Search API. Click Here for a Demo!

In an effort to help me learn how cross domain requests work, and in order to do something a little cool, I’ve developed a very simple search-as-you-type script which leverages Google’s AJAX Search API and outputs the results within the body of the page.

Read the rest of this entry

Mach-II First Steps

Mach-II is an event-driven, MVC framework which gives CFML developers a highly flexible and maintainable environment to work with.

To start off, I am a pretty big advocate of the Mach-II framework and entirely biased for its use. I’ve been using Mach-II for almost 2 years now and have loved every second of it. My background has been Java development, so I’m no stranger to object-oriented design, which Mach-II really prides itself on.

One of the biggest frustrations in ColdFusion-land, for me anyway, was the fact that everything was procedural. Meaning, the more code that you wrote, the more it would start to resemble something you’d find on your plate at your favorite Italian restaurant. Prior to using Mach-II I really pushed my peers into making use of as many CFC’s as possible, essentially generating my own framework of sorts.

Read the rest of this entry

Getting to know the HtmlHelperProperty

Use Mach-II’s HtmlHelperProperty to manage JavaScript and CSS and avoid duplication of external scripts, reduce maintenance costs, and promote reusability.

The HtmlHelperProperty is a simple and efficient way to include JavaScript, CSS, and various meta information to your pages when you’re working in a MVC environment. One of the biggest challenges when working with two or more included views is managing each distinct view’s JavaScript and CSS dependencies.

Read the rest of this entry

Welcome to CoffeeSix

Just wanted to welcome everyone to CoffeeSix.com. This is a blog dedicated to helping people learn how to code, as well as providing some pretty cool examples and tutorials.

The site itself isn’t quite finished, but at least this will provide a good preview of what’s to come. Stay tuned for more fun stuff!