Posts Tagged ColdFusion

Search Engine Safe Routes in Mach-II

Search Engine Safe (SES) Routes are another great way of generating immaculate URLs using Mach-II which are great for SEO applications and making things just look cleaner.

What are Search Engine Safe (SES) routes? Take a typical Mach-II URL, e.g. /index.cfm?event=world&country=canada&province=british%20columbia&city=vancouver. Even using Mach-II’s own Search Engine Safe (SES), the URL remains somewhat ugly: /index.cfm/event/world/country/canada/province/british%20columbia/city/vancouver/.

Suppose the format of the URL is always consistent. In our example above it can safely be assumed that the event name is world which is followed by country, province, and city.

Search Engine Safe URLs with Mach-II

(more…)

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

(more…)

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.

(more…)