<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" ><channel><title>TLS Web Solutions &#187; Tim Selaty</title> <atom:link href="http://www.tlswebsolutions.com/author/admin/feed/" rel="self" type="application/rss+xml" /><link>http://www.tlswebsolutions.com</link> <description></description> <lastBuildDate>Thu, 02 Jun 2011 20:41:14 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.1.3</generator> <item><title>The United West</title><link>http://www.tlswebsolutions.com/the-united-west/</link> <comments>http://www.tlswebsolutions.com/the-united-west/#comments</comments> <pubDate>Tue, 29 Mar 2011 07:30:57 +0000</pubDate> <dc:creator>Tim Selaty</dc:creator> <category><![CDATA[Portfolio]]></category> <category><![CDATA[shariah islam]]></category> <category><![CDATA[the united west]]></category> <category><![CDATA[theunitedwest]]></category> <category><![CDATA[tom trento]]></category><guid isPermaLink="false">http://www.tlswebsolutions.com/?p=816</guid> <description><![CDATA[]]></description> <content:encoded><![CDATA[<p><a href="http://www.tlswebsolutions.com/wp-content/uploads/2011/03/theunitedwest.png"><img class="alignnone size-full wp-image-826" title="theunitedwest" src="http://www.tlswebsolutions.com/wp-content/uploads/2011/03/theunitedwest.png" alt="" width="866" height="1984" /></a></p> ]]></content:encoded> <wfw:commentRss>http://www.tlswebsolutions.com/the-united-west/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>WordPress 3.1 Helicon ISAPI_Rewrite Rules and Permalink Structure</title><link>http://www.tlswebsolutions.com/wordpress-3-1-helicon-isapi_rewrite-rules-and-permalink-structure/</link> <comments>http://www.tlswebsolutions.com/wordpress-3-1-helicon-isapi_rewrite-rules-and-permalink-structure/#comments</comments> <pubDate>Mon, 07 Mar 2011 02:47:12 +0000</pubDate> <dc:creator>Tim Selaty</dc:creator> <category><![CDATA[Miscellaneous]]></category> <category><![CDATA[Tutorials]]></category> <category><![CDATA[WordPress]]></category> <category><![CDATA[helicon isapi_rewrite]]></category> <category><![CDATA[helicon rewrite rules]]></category> <category><![CDATA[wordpress 3.1 helicon]]></category> <category><![CDATA[wordpress 3.1 iis]]></category> <category><![CDATA[wordpress 3.1 iis rewrite]]></category> <category><![CDATA[wordpress windows permalinks]]></category> <category><![CDATA[wordpress windows prettyurls]]></category><guid isPermaLink="false">http://www.tlswebsolutions.com/?p=777</guid> <description><![CDATA[One of my clients is using WordPress on an IIS server and is using a product called &#8220;Helicon&#8221; [...]]]></description> <content:encoded><![CDATA[<p>One of my clients is using WordPress on an IIS server and is using a product called &#8220;Helicon&#8221; to help with rewrite rules. Having toyed with the HTACCESS and Permalink structure, I couldn&#8217;t get any page content to show up except for the home page. It appeared as if the rewriting wasn&#8217;t working.. that&#8217;s until I wrote this.</p><ol><li>In your WordPress admin dashboard, navigate to &#8220;Settings -&gt; Permalinks&#8221;. Select the &#8220;custom structure&#8221; radio box and enter in:<pre>/%postname%/</pre></li><li>For the .HTACCESS, copy and paste this in<pre># Helicon ISAPI_Rewrite configuration file
# Version 3.1.0.63

Options +Followsymlinks

RewriteEngine On
RewriteBase
RewriteRule /wp-(.*) /wp-$1 [I,L]
RewriteRule /(.*)$ /index.php/$1 [I,L]
RewriteRule . /index.php [L]</pre></li><li>That&#8217;s it! Enjoy using Helicon ISAPI_Rewrite and WordPress Pretty URL&#8217;s.</li></ol><p><em>Note: If this didn&#8217;t work for you, leave feedback to I can update the guide to better assist in different scenarios and environments.</em></p> ]]></content:encoded> <wfw:commentRss>http://www.tlswebsolutions.com/wordpress-3-1-helicon-isapi_rewrite-rules-and-permalink-structure/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>WordPress 3.1 Upgrade &#8211; Frontend Blank Site, Backend Okay (IIS)</title><link>http://www.tlswebsolutions.com/wordpress-3-1-upgrade-frontend-blank-site-backend-okay-iis/</link> <comments>http://www.tlswebsolutions.com/wordpress-3-1-upgrade-frontend-blank-site-backend-okay-iis/#comments</comments> <pubDate>Sun, 06 Mar 2011 21:24:28 +0000</pubDate> <dc:creator>Tim Selaty</dc:creator> <category><![CDATA[Tutorials]]></category> <category><![CDATA[WordPress]]></category> <category><![CDATA[3.1 broke my site]]></category> <category><![CDATA[blank wordpress site]]></category> <category><![CDATA[getting wordpress to work on windows]]></category> <category><![CDATA[iis dot slash]]></category> <category><![CDATA[iis file transversing]]></category> <category><![CDATA[wordpress 3.1 broken]]></category> <category><![CDATA[wordpress 3.1 iis]]></category> <category><![CDATA[wordpress frontend blank]]></category> <category><![CDATA[wordpress iis not working]]></category><guid isPermaLink="false">http://www.tlswebsolutions.com/?p=770</guid> <description><![CDATA[Shoot. You just upgraded your WordPress installation to the latest version (3.1 for me) and all of a [...]]]></description> <content:encoded><![CDATA[<p>Shoot. You just upgraded your WordPress installation to the latest version (3.1 for me) and all of a sudden, everything is broken on the front end. You&#8217;re not on a Linux server, you&#8217;re on an IIS server and you already knew WordPress MIGHT have some incompatibilities, but haven&#8217;t see any yet.</p><p>If you&#8217;re like me and you&#8217;ve Googled your heart and and tried so many solutions and nothing works&#8230; maybe this post is for you.</p><h2>Have you tried?</h2><ol><li>To reupdate to the newest version by browsing to http://{mysite}/wp-admin/upgrade.php and see &#8220;No update required&#8221;.</li><li>Changing your permalinks to just the default and temporarily rename your HTACCESS to see if you can pull a page.</li><li>Downloading the WordPress 3.1 ZIP for IIS  <a href="http://wordpress.org/wordpress-3.1.zip">http://wordpress.org/wordpress-3.1.zip</a> and reuploading the &#8220;wp-admin, wp-includes, and all the root WordPress files (with the exception of wp-config.php, .htaccess, etc)&#8221; http://codex.wordpress.org/Upgrading_WordPress_Extended.</li><li>Deactivating all your WordPress plugins, trying the site again, reactivating them, deleting them, etc.</li><li>Played around with your &#8220;Site URL&#8221; in the WordPress settings.</li><li>Reinstalling WordPress from scratch with a fresh brand new database and files.</li></ol><p><strong>AND NOT A SINGLE ONE OF THESE SOLUTIONS WORKED, AND YOUR FRONT END STILL IS A BLANK WHITE PAGE?</strong></p><h2>My Solution<strong></strong></h2><ol><li>Open &#8220;/index.php&#8221;</li><li>Replace<pre>require('./wp-blog-header.php');</pre><p>with</p><pre>/** Absolute path to the WordPress directory. */
if ( !defined('ABSPATH') )
	define('ABSPATH', dirname(__FILE__) . '/');

require_once(ABSPATH . 'wp-blog-header.php');</pre></li><li>That&#8217;s it.</li></ol><p>Looks like IIS had a bit of trouble requiring the file using a path relative to the site root. Hopefully this solution works for you.</p><div id="_mcePaste" class="mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;">http://wordpress.org/wordpress-3.1.zip</div> ]]></content:encoded> <wfw:commentRss>http://www.tlswebsolutions.com/wordpress-3-1-upgrade-frontend-blank-site-backend-okay-iis/feed/</wfw:commentRss> <slash:comments>8</slash:comments> </item> <item><title>CodeIgniter HTACCESS remove index.php and add trailing slash</title><link>http://www.tlswebsolutions.com/codeigniter-htaccess-remove-index-php-and-add-trailing-slash/</link> <comments>http://www.tlswebsolutions.com/codeigniter-htaccess-remove-index-php-and-add-trailing-slash/#comments</comments> <pubDate>Fri, 18 Feb 2011 12:49:40 +0000</pubDate> <dc:creator>Tim Selaty</dc:creator> <category><![CDATA[CodeIgniter]]></category> <category><![CDATA[Miscellaneous]]></category> <category><![CDATA[codeigniter 2 htaccess]]></category> <category><![CDATA[codeigniter add trailing slash]]></category> <category><![CDATA[codeigniter htaccess]]></category> <category><![CDATA[codeigniter remove index.php]]></category> <category><![CDATA[codeigniter remove trailing slash]]></category><guid isPermaLink="false">http://www.tlswebsolutions.com/?p=765</guid> <description><![CDATA[Here is a quick HTACCESS snippet that will add the trailing slash (ex: http://domain.com/mycontroller to http://domain.com/mycontroller/) and will [...]]]></description> <content:encoded><![CDATA[<p>Here is a quick HTACCESS snippet that will add the trailing slash (ex: http://domain.com/mycontroller to http://domain.com/mycontroller/) and will remove the index.php from the URL (ex: http://domain.com/index.php/mycontroller/ to http://domain.com/mycontroller/)</p><pre>    RewriteEngine On
    RewriteBase /

    # this adds trailing slash
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_URI} !(.*)/$
    RewriteRule ^(.*)$ $1/ [R=301,L]

    # this gets rid of index.php
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php/$1
</pre>]]></content:encoded> <wfw:commentRss>http://www.tlswebsolutions.com/codeigniter-htaccess-remove-index-php-and-add-trailing-slash/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>CodeIgniter 2 and Doctrine 2 Integration &#8211; A working setup (DoctrineIgnited)</title><link>http://www.tlswebsolutions.com/codeigniter-2-and-doctrine-2-integration-a-working-setup-doctrineignited/</link> <comments>http://www.tlswebsolutions.com/codeigniter-2-and-doctrine-2-integration-a-working-setup-doctrineignited/#comments</comments> <pubDate>Mon, 07 Feb 2011 09:04:07 +0000</pubDate> <dc:creator>Tim Selaty</dc:creator> <category><![CDATA[CodeIgniter]]></category> <category><![CDATA[Database]]></category> <category><![CDATA[Doctrine]]></category> <category><![CDATA[HTML5]]></category> <category><![CDATA[Tutorials]]></category> <category><![CDATA[codeigniter 2]]></category> <category><![CDATA[codeigniter uhoh]]></category> <category><![CDATA[doctrine 2]]></category> <category><![CDATA[doctrine 2 and codeigniter 2 integration]]></category> <category><![CDATA[doctrine and codeigniter]]></category> <category><![CDATA[doctrineignited]]></category> <category><![CDATA[html5 boilerplate]]></category> <category><![CDATA[uhoh error reporting]]></category><guid isPermaLink="false">http://www.tlswebsolutions.com/?p=757</guid> <description><![CDATA[As Widly Inaccurate states, CodeIgniter is a wonderful PHP framework which allows rapid application development. CodeIgniter lacks a [...]]]></description> <content:encoded><![CDATA[<p>As <a href="http://wildlyinaccurate.com/integrating-doctrine-2-with-codeigniter-2/">Widly Inaccurate</a> states, CodeIgniter is a wonderful PHP framework which allows rapid application development. CodeIgniter lacks a base DBLayer and ORM and makes working with multiple databases<strong> that need CRUD capabilities</strong> a pain; that&#8217;s where Doctrine comes in.</p><p>Instead of writing a comprehensive guide showing how to setup Doctrine 2 and CodeIgniter 2 together, I&#8217;m going to provide a breakdown and quick-start ZIP for those who are already aware of how to use both frameworks. A little bit of explaination, some SQL insertions, and a<strong> ZIP with well commented code later</strong>.. you&#8217;ll have Doctrine 2 and CodeIgniter 2 up and running in no-time. If you need complete breakdown explanation on how to setup CodeIgniter 2 and Doctrine 2, visit Widly Inaccurate for more details.</p><h2>What&#8217;s in the ZIP?</h2><ul><li><a href="http://codeigniter.com/">CodeIgniter 2.0.0</a></li><li><a href="http://www.doctrine-project.org/">Doctrine 2.0</a></li><li><a href="http://codeigniter.com/forums/viewthread/160969/P0/">UhOh! 1.3</a></li><li><a href="http://html5boilerplate.com/">Base HTML / CSS template from HTML5 Boilerplate</a></li></ul><h2>Installation Instructions</h2><ol><li>Unzip the &#8220;<strong>DoctrineIgnited-TLS-Web-Solutions-v1.0.zip</strong>&#8220;.</li><li><strong>Copy the contents </strong>of the ZIP onto your server (remote or local)</li><p>Your website should have the &#8220;application, system, .htaccess, index.php, and license.txt&#8221; files on the root.<br /> View the website and you should see &#8220;My Test message&#8221; come up. The default controller/action URL is &#8220;home/index/&#8221;.</p><li>We need to<strong> create the database and a test record</strong>. Create a database and execute the following SQL.<pre>DROP TABLE IF EXISTS `user`;
CREATE TABLE IF NOT EXISTS `user` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`username` varchar(32) DEFAULT NULL,
`password` varchar(64) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `user_username_uniq` (`username`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=8 ;INSERT INTO `user` (`id`, `username`, `password`) VALUES
(7, 'Bob', NULL);</pre></li><li><strong>Modify &#8220;application/config/database.php&#8221; to match your database connection information. </strong>After updating the file, browse to &#8220;http://domain.com<strong>/home/test/</strong>&#8221; to see if you&#8217;ve got everything right. If all goes well, you should see the word &#8220;Bob&#8221; appear on the screen. That means Doctrine found your db table, found the entry, updated the entry&#8217;s username, and retrieved the name again for displaying in CodeIgniter view. Classy.If something went wrong or Doctrine cannot find the &#8220;user&#8221; table, you&#8217;ll see an error message similiar to this&#8230;<a href="http://www.tlswebsolutions.com/wp-content/uploads/2011/02/uhoh-error-reporting.png" target="_blank"> </a><a href="http://www.tlswebsolutions.com/wp-content/uploads/2011/02/uhoh-error-reporting.png" target="_blank"><img class="alignnone size-medium wp-image-758" title="uhoh-error-reporting" src="http://www.tlswebsolutions.com/wp-content/uploads/2011/02/uhoh-error-reporting-300x133.png" alt="" width="300" height="133" /></a><br /> <em>(click to enlarge) </em></li><li>That&#8217;s it! <strong>You should be up and running</strong>. However, I do recommend you look at the next section to see a break down of how everything works.</li></ol><h2><a href="http://www.tlswebsolutions.com/downloads/doctrineignited">DOWNLOAD THE DOCTRINE 2 AND CODEIGNITER 2 ZIP</a></h2><p><em>Downloaded 2529 times.</em></p><h2>How does it all work?</h2><ol><li>Doctrine 2 was installed to the &#8220;application/libraries&#8221; library and was setup to use &#8220;annotations&#8221; or PHP comments to interpret how our model&#8217;s data structure is set up.</li><li>A &#8220;User&#8221; model was created in &#8220;application/models/User.php&#8221; which annotes the database table &#8220;user&#8221; is setup through PHP comments and also has a few manually created setter and getter methods (eg: $user-&gt;getUsername()).</li><li>The &#8220;application/config/autoload.php&#8221; was modified to autoload the &#8220;doctrine&#8221; and &#8220;session&#8221; libraries, url and form libraries (in case you want to get fancy in your views for testing).</li><li>The &#8220;/.htaccess&#8221; and &#8220;application/.htaccess&#8221; were both modified in preparation for a &#8220;index.php&#8221;less URL. It&#8217;s just annoying and most Linux servers have mod_rewrite setup.</li><li>The &#8220;application/config/config.php&#8221; has the &#8220;index_page&#8221; set to blank, enable_hooks turned on, encryption_key set, global_xss_filtering turned on.</li><li>The &#8220;application/config/database.php&#8221; has the database connection information changed to match the right database connectivity.</li><li>The &#8220;application/config/hooks.php&#8221; as the &#8220;UhOh!&#8221; error reporting added to it.</li><li>The &#8220;application/config/routes.php&#8221; has the default controller set to &#8220;home&#8221;.</li><li>The &#8220;application/controllers/home.php&#8221; has a few base functions and a bunch of commenting to help guide you in making magic with Doctrine 2.</li><li>The &#8220;MY_Exceptions.php&#8221; and &#8220;MY_Controller.php&#8221; were both added to &#8220;application/core/&#8221;. MY_Exceptions extends CodeIgniter&#8217;s error reporting and MY_Controller extends CodeIgniter&#8217;s base Controller class to include a public Doctrine Entity Manager variable.</li><li>A few files were added to &#8220;application/errors/&#8221; to spice up the error reporting HTML output thanks to UhOh!.</li><li>The &#8220;application/hooks/uhoh.php&#8221; was added, to well, hook onto the core Exceptions.</li><li>The &#8220;application/libraries/Doctrine/&#8221; and &#8220;application/libraries/Doctrine.php&#8221; were both added and setup and is required for Doctrine 2 to run. Doctrine.php is where most of the Doctrine setting up and configuring will take place. It inherits the DB connectivity from the &#8220;database.php&#8221; config file.</li><li>A base view called &#8220;home.php&#8221; was added along with some style and script assets to &#8220;application/views&#8221; thanks to HTML5 Boilerplate. Those guys rock.</li></ol><p><strong>That&#8217;s it!</strong></p><h2><strong>Still getting errors?</strong></h2><p>Make sure you&#8217;ve got all of the following installed or enabled on your server.</p><ol><li>PHP 5.3+</li><li>Apache Rewrite module enabled</li><li>PHP short_open_tag enabled</li></ol><h3><a href="http://www.tlswebsolutions.com/downloads/doctrineignited">DOWNLOAD THE DOCTRINE 2 AND CODEIGNITER 2 ZIP (1.1mb)</a></h3><p><em>Downloaded 2529 times.</em></p> ]]></content:encoded> <wfw:commentRss>http://www.tlswebsolutions.com/codeigniter-2-and-doctrine-2-integration-a-working-setup-doctrineignited/feed/</wfw:commentRss> <slash:comments>48</slash:comments> </item> <item><title>HTML Elements Testing Template</title><link>http://www.tlswebsolutions.com/html-elements-testing-template/</link> <comments>http://www.tlswebsolutions.com/html-elements-testing-template/#comments</comments> <pubDate>Sat, 05 Feb 2011 02:55:30 +0000</pubDate> <dc:creator>Tim Selaty</dc:creator> <category><![CDATA[HTML5]]></category> <category><![CDATA[Templates]]></category> <category><![CDATA[Tutorials]]></category> <category><![CDATA[Typography]]></category> <category><![CDATA[XHTML]]></category> <category><![CDATA[cross browser testing]]></category> <category><![CDATA[default form content]]></category> <category><![CDATA[development html]]></category> <category><![CDATA[editable html text]]></category> <category><![CDATA[html basic elements]]></category> <category><![CDATA[html demo page]]></category> <category><![CDATA[html elements]]></category> <category><![CDATA[html5]]></category> <category><![CDATA[html5 boilerplate]]></category> <category><![CDATA[testing html]]></category> <category><![CDATA[xhtml basic elements]]></category><guid isPermaLink="false">http://www.tlswebsolutions.com/?p=745</guid> <description><![CDATA[When you hand off a HTML template to a developer for integration into a content management system, is it ready for all the variable content HTML has to offer? There's one way to be sure templates are up to the snuff, and that's making sure you've tested as many basic HTML elements that can be fit into  editable content regions.]]></description> <content:encoded><![CDATA[<p><a href="http://www.tlswebsolutions.com/wp-content/uploads/2011/02/savetime.png"><img class="alignnone size-full wp-image-746" title="savetime" src="http://www.tlswebsolutions.com/wp-content/uploads/2011/02/savetime.png" alt="" width="636" height="97" /></a></p><h2>Testing HTML elements is a web designer must</h2><p>Let&#8217;s say you&#8217;ve got a brand new HTML template you&#8217;ve just chopped up from a Photoshop document. You&#8217;ve styled the body content&#8217;s footer, headers, paragraphs, and maybe some pseudo lipsum text that match the Photoshop document. But when you hand it off to a developer to integrate into a content management system, is it ready for all the variable content HTML has to offer?</p><p>There&#8217;s one way to be sure templates are up to the snuff, and that&#8217;s making sure you&#8217;ve tested as many basic HTML elements that can be fit into  editable content regions. <a href="http://html5boilerplate.com/">HTML5 Boilerplate</a> is a &#8220;professional badass&#8217;s base HTML/CSS/JS template for a fast, robust and future-proof site&#8221; and gives quite a few documents for HTML designers to work with when building templates.</p><p>One of the files HTML5 Boilerplate provides is a demo HTML page of various HTML elements including: form labels and inputs, paragraphs and headings, tables, strong and em, captions, lists, and much more.</p><p>I&#8217;ve stripped down the demo page HTML5 Boilerplate provides down to just the elements and none of the head, body, and other stuff. You can view the DEMO PAGE or download it below.<br /> <em>Be sure to leave the commented credit to HTML5 Boilerplate where credit is due.</em></p><h3><a href="http://www.tlswebsolutions.com/examples/html-elements/elements.html">VIEW THE ELEMENTS TESTING TEMPLATE (13kb)</a></h3><h3><a href="http://www.tlswebsolutions.com/downloads/html-elements-template">DOWNLOAD THE TEMPLATE (4kb)</a></h3><p><em>Downloaded 285 times.</em></p> ]]></content:encoded> <wfw:commentRss>http://www.tlswebsolutions.com/html-elements-testing-template/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Modernizr, how to detect HTML5 and NEWT with Javascript</title><link>http://www.tlswebsolutions.com/modernizr-how-to-detect-html5-and-newt-with-javascript/</link> <comments>http://www.tlswebsolutions.com/modernizr-how-to-detect-html5-and-newt-with-javascript/#comments</comments> <pubDate>Sat, 08 Jan 2011 19:18:06 +0000</pubDate> <dc:creator>Tim Selaty</dc:creator> <category><![CDATA[HTML5]]></category> <category><![CDATA[JavaScript]]></category> <category><![CDATA[XHTML]]></category> <category><![CDATA[browser hacks]]></category> <category><![CDATA[cross-browser html5]]></category> <category><![CDATA[detecting html5]]></category> <category><![CDATA[dialog element]]></category> <category><![CDATA[header element]]></category> <category><![CDATA[how to detect html5]]></category> <category><![CDATA[html and javascript]]></category> <category><![CDATA[html5]]></category> <category><![CDATA[html5 border radius]]></category> <category><![CDATA[ie if statement]]></category> <category><![CDATA[modernizr]]></category> <category><![CDATA[NEWT]]></category> <category><![CDATA[section element]]></category> <category><![CDATA[specific browser css]]></category><guid isPermaLink="false">http://www.tlswebsolutions.com/?p=737</guid> <description><![CDATA[Original Site: http://www.modernizr.com/ Reblogged by Tim Selaty, Jan 8th, 2011 What is Modernizr? Modernizr adds classes to the [...]]]></description> <content:encoded><![CDATA[<pre>Original Site: <a href="http://www.modernizr.com/">http://www.modernizr.com/</a>
Reblogged by Tim Selaty, Jan 8th, 2011
</pre><h2>What is Modernizr?</h2><p><a href="http://www.modernizr.com/">Modernizr</a> adds classes to the <code>&lt;html&gt;</code> element which allow you to target specific browser functionality in your stylesheet. You don&#8217;t actually <em>need</em> to write any Javascript to use it.</p><p>Have you ever wanted to do if-statements in your CSS for the availability of cool features like <code>border-radius</code>? Well, with <strong>Modernizr</strong> you can accomplish just that! The syntax is very intuitive, too:</p><pre><strong>.multiplebgs</strong> div p {
  <em>/* properties for browsers that
     support multiple backgrounds */</em>
}
<strong>.no-multiplebgs</strong> div p {
  <em>/* optional fallback properties
     for browsers that don't */</em>
}</pre><p>Modernizr is a small and simple JavaScript library that helps you take advantage of emerging web technologies (CSS3, HTML 5) while still maintaining a fine level of control over older browsers that may not yet support these new technologies.</p><p>Modernizr uses feature detection to test the current browser against upcoming features like rgba(), border-radius, CSS Transitions and many more. These are currently being implemented across browsers and with Modernizr you can start using them right now, with an easy way to control the fallbacks for browsers that don’t yet support them.</p><p>Additionally, Modernizr creates a self-titled global JavaScript object which contains properties for each feature; if a browser supports it, the property will evaluate <code>true</code> and if not, it will be <code>false</code>.</p><p>Lastly, Modernizr also adds support for styling and printing HTML5 elements. This allows you to use more semantic, forward-looking elements such as <code>&lt;section&gt;</code>, <code>&lt;header&gt;</code> and <code>&lt;dialog&gt;</code> without having to worry about them not working in Internet Explorer.</p><h2>What Modernizr <em>doesn&#8217;t</em> do</h2><p>Modernizr does <strong>not</strong> add missing functionality to browsers; instead, it detects native availability of features and offers you a way to maintain a fine level of control over your site regardless of a browser’s capabilities.</p><p>However if you&#8217;re interested in that, you&#8217;ll probably want to look here: <a href="http://github.com/Modernizr/Modernizr/wiki/HTML5-Cross-browser-Polyfills">HTML5 Cross browser Polyfills</a>.</p><h2 id="who">Who uses Modernizr?</h2><p><a href="http://twitter.com">Twitter</a>,<br /> <a href="http://www.ae.com/">American Eagle</a>,<br /> <a href="http://www.bk.com/">Burger King</a>,<br /> <a href="http://www.theknot.com/">The Knot</a>,<br /> <a href="http://www.capitaloneventure.com/">Capital One</a>,<br /> <a href="https://posterous.com/">Posterous</a>,<br /> <a href="http://www.nfl.com/">NFL</a>,<br /> <a href="http://www.texas.gov/">The State of Texas</a>,</p><p><a href="http://good.is">Good Magazine</a>,<br /> <a href="http://ucsc.edu">UC Santa Cruz</a>,<br /> <a href="http://madebymany.com/">Made By Many</a>,<br /> <a href="http://hardboiledwebdesign.com/">Hardboiled Web Design</a>,<br /> <a href="http://lostworldsfairs.com/">Lost World’s Fairs</a>,<br /> <a href="http://clusterr.com/">Clusterr</a>,<br /> <a href="http://littleipsum.com/">LittleIpsum</a>,<br /> and<br /> <a href="http://strategy.co.nz/">Strategy Design &amp; Advertising</a></p><p>Find out more about <a href="http://www.modernizr.com/">Modernizr</a>.</p> ]]></content:encoded> <wfw:commentRss>http://www.tlswebsolutions.com/modernizr-how-to-detect-html5-and-newt-with-javascript/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>United Border Coalition</title><link>http://www.tlswebsolutions.com/united-border-coalition-ubc/</link> <comments>http://www.tlswebsolutions.com/united-border-coalition-ubc/#comments</comments> <pubDate>Sun, 26 Dec 2010 07:37:19 +0000</pubDate> <dc:creator>Tim Selaty</dc:creator> <category><![CDATA[Portfolio]]></category> <category><![CDATA[border rally 8-15-2010]]></category> <category><![CDATA[hereford AZ rally]]></category> <category><![CDATA[sb1070 rally az]]></category> <category><![CDATA[UBC]]></category> <category><![CDATA[UBC project]]></category> <category><![CDATA[UBC rally]]></category> <category><![CDATA[United Border Coalition]]></category> <category><![CDATA[United Border Coalition rally]]></category> <category><![CDATA[wordpress united border coalition]]></category><guid isPermaLink="false">http://www.tlswebsolutions.com/?p=708</guid> <description><![CDATA[]]></description> <content:encoded><![CDATA[<p><a href="http://www.tlswebsolutions.com/wp-content/uploads/2010/12/UBC-Project.jpg"><img class="alignleft size-full wp-image-709" title="UBC-Project" src="http://www.tlswebsolutions.com/wp-content/uploads/2010/12/UBC-Project.jpg" alt="United Border Coalition" width="640" height="403" /></a></p> ]]></content:encoded> <wfw:commentRss>http://www.tlswebsolutions.com/united-border-coalition-ubc/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>The Web Designer’s Guide to Font Replacement Methods</title><link>http://www.tlswebsolutions.com/the-web-designer%e2%80%99s-guide-to-font-replacement-methods/</link> <comments>http://www.tlswebsolutions.com/the-web-designer%e2%80%99s-guide-to-font-replacement-methods/#comments</comments> <pubDate>Tue, 16 Nov 2010 18:57:32 +0000</pubDate> <dc:creator>Tim Selaty</dc:creator> <category><![CDATA[Miscellaneous]]></category> <category><![CDATA[Tutorials]]></category> <category><![CDATA[Typography]]></category> <category><![CDATA[@font-face]]></category> <category><![CDATA[automatic text replacement]]></category> <category><![CDATA[cufon]]></category> <category><![CDATA[cufon replacement]]></category> <category><![CDATA[font deck]]></category> <category><![CDATA[font replacement]]></category> <category><![CDATA[font spring]]></category> <category><![CDATA[font to image]]></category> <category><![CDATA[fontdeck]]></category> <category><![CDATA[text image]]></category> <category><![CDATA[type kit]]></category> <category><![CDATA[typekit]]></category><guid isPermaLink="false">http://www.tlswebsolutions.com/?p=637</guid> <description><![CDATA[This article discusses various font replacement techniques, including: Cufon, SIFR, FLIR, Typekit, Fontdeck, @font-face, CSS, Font Spring and [...]]]></description> <content:encoded><![CDATA[<p><a href="http://www.tlswebsolutions.com/wp-content/uploads/2010/11/font_replacement_methods_pre3.jpg"><img class="alignleft size-full wp-image-639" title="font_replacement_methods_pre3" src="http://www.tlswebsolutions.com/wp-content/uploads/2010/11/font_replacement_methods_pre3.jpg" alt="" width="200" height="200" /></a>This article discusses various font replacement techniques, including: Cufon, SIFR, FLIR, Typekit, Fontdeck, @font-face, CSS, Font Spring and others.</p><p>via <a href="http://webdesign.tutsplus.com/articles/typography-articles/a-web-designers-guide-to-font-replacement-methods/">The Web Designer’s Guide to Font Replacement Methods</a>.</p> ]]></content:encoded> <wfw:commentRss>http://www.tlswebsolutions.com/the-web-designer%e2%80%99s-guide-to-font-replacement-methods/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Grassroots Interviews</title><link>http://www.tlswebsolutions.com/grassroots-interviews/</link> <comments>http://www.tlswebsolutions.com/grassroots-interviews/#comments</comments> <pubDate>Thu, 11 Nov 2010 06:05:00 +0000</pubDate> <dc:creator>Tim Selaty</dc:creator> <category><![CDATA[Portfolio]]></category> <category><![CDATA[grass roots interviews]]></category> <category><![CDATA[grassroots interviews]]></category> <category><![CDATA[marcus kelley]]></category> <category><![CDATA[marcus kelly]]></category> <category><![CDATA[political grassroots]]></category> <category><![CDATA[political interviews]]></category><guid isPermaLink="false">http://www.tlswebsolutions.com/?p=781</guid> <description><![CDATA[The Idea: Grassroots interviews is a political interview based website that is free flowing, easy to use, and [...]]]></description> <content:encoded><![CDATA[<p><a href="http://www.tlswebsolutions.com/wp-content/uploads/2011/03/grassrootsinterviews.jpg"><img class="alignnone size-full wp-image-782" title="grassrootsinterviews" src="http://www.tlswebsolutions.com/wp-content/uploads/2011/03/grassrootsinterviews.jpg" alt="" width="750" height="448" /></a></p><h2>The Idea:</h2><p>Grassroots interviews is a political interview based website that is free flowing, easy to use, and manageable using a content management system. The site needed to have a way to stream live and play past recorded videos and information archives instantly to users.</p><h2>The solution:</h2><p>A WordPress theme was customized and integrated into the CMS installation. Various content pages were created leveraging plugins and custom forms for donation, contact, newsletter, event schedules, etc. UStream&#8217;s video streaming and archive widget was embedded for quick and easy access to users.</p> ]]></content:encoded> <wfw:commentRss>http://www.tlswebsolutions.com/grassroots-interviews/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic

Served from: www.tlswebsolutions.com @ 2012-02-09 10:17:08 -->
