<?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>Tech Hive</title>
	<atom:link href="http://tech-hive.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://tech-hive.com</link>
	<description>Mae Lynn de Leon &#124; Web Designer and Front End Developer</description>
	<lastBuildDate>Sat, 06 Aug 2016 12:50:49 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.8</generator>
<site xmlns="com-wordpress:feed-additions:1">62419664</site>	<item>
		<title>rem with Sass</title>
		<link>http://tech-hive.com/front-end/rem-with-sass-20150124/</link>
		<comments>http://tech-hive.com/front-end/rem-with-sass-20150124/#comments</comments>
		<pubDate>Fri, 23 Jan 2015 19:10:10 +0000</pubDate>
		<dc:creator><![CDATA[Mae]]></dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Front-end]]></category>
		<category><![CDATA[Tips and tricks]]></category>
		<category><![CDATA[rem]]></category>
		<category><![CDATA[responsive]]></category>
		<category><![CDATA[sass]]></category>

		<guid isPermaLink="false">http://tech-hive.com/?p=496</guid>
		<description><![CDATA[Update 02/08/15: I should pay attention to how things should be written, I used to write it as SASS when it should have been Sass. I will be updating the codes below in a day or two but I need to test&#8230;  <p class="more-link"><a href="http://tech-hive.com/front-end/rem-with-sass-20150124/">Continue reading <span class="meta-nav">&#8594;</span></a></p>]]></description>
				<content:encoded><![CDATA[<p><strong>Update 02/08/15:</strong> I should pay attention to how things should be written, I used to write it as SASS when it should have been Sass. I will be updating the codes below in a day or two but I need to test them first. Thanks to <a href="http://hugogiraudel.com/">Hugo Giraudel</a> for being so nice as to educate me from my Sass-y sins :D</p>
<hr />
<p>At this point, you&#8217;ve probably figured out that despite the fact that we basic idea of breakpoints per device, your layouts would still pretty much flop because your font sizes are too small or you find yourself fixing the font sizes manually on each device widths. <strong>And it is te-di-ous!</strong> DRY is shaking its head.</p>
<p>Enter <strong>rem</strong>, I&#8217;ve always had a soft spot for <strong>em</strong> over <strong>pixels</strong>. During the elastic vs. fixed vs. fluid debacle, I&#8217;ve always been in camp elastic but the problem with em is it can get pretty confusing, specially with nested elements with different font sizes. Not having Sass or LESS to ease the computation is a factor, too, of course. <em>But rem just makes it all so much better.</em></p>
<p><strong>rem</strong> stands for root em (read up more from <a href="http://snook.ca/archives/html_and_css/font-size-with-rem">Jonathan Snook</a> because I&#8217;m horrible at explaining things), in a nutshell, it has all the goodness of em but it will only depend on one factor, the base font size that&#8217;s declared on your <code>body</code> and/or <code>html</code> element. I&#8217;ve used it in a number of projects in the past with Sass, and it has made making sites more readable on mobile so much easier. No more multiple font-size declarations (most of the time)!</p>
<p>I&#8217;m sure there are tons of resources available for this particular topic, but I&#8217;d rather dump all of my notes in this site so I can get back to it easily. So let&#8217;s get down to business, shall we?</p>
<p><script src="https://gist.github.com/mae/072a09c574bd00a1f3ed.js"></script>Making a variable out of the base font size is optional, but I prefer having one because <strong>my laziness knows no bounds</strong>! This way, I don&#8217;t have to declare the base font size twice, once in the body (you&#8217;ll see below) and in the function&#8217;s formula. The function&#8217;s pretty basic and self-explanatory, to use it, all you have to do is write<code> @rem-calc(14px)</code> as value, for example:</p>
<pre><code>h1 {
  font-size:@rem-calc(36px);
}</code></pre>
<p>our function will then convert it as (if the base font size is 18px):</p>
<pre><code>h1 {
  font-size:2rem;
}</code></pre>
<p><em>Don&#8217;t forget the px or it will throw an error. </em> Honestly, I would have liked forpxto be optional but I&#8217;m so used to typing the values with either apx or % and, frankly, it&#8217;s a habit that I&#8217;d rather not break. Moving forward! Declare theinitial font sizes, one for the desktop and another for mobile, I haven&#8217;thad the chance to target anMBP retina but based on when I last used it, you won&#8217;t have a need for a separate font size for it.<script src="https://gist.github.com/mae/806ecb40aeccff6f513a.js"></script></p>
<p>It&#8217;s important to note that <strong>once you start with rem, you will have to use it for every element and every declaration where you&#8217;re using pixels, specially with height and width</strong>! Otherwise, there will be awkward situations where your text is <strong>much, <em>much</em></strong> bigger than its container.</p>
<p>Well then, there you go. If you have a much better and easier way to use rem, feel free to leave a comment and let&#8217;s chat!</p>
]]></content:encoded>
			<wfw:commentRss>http://tech-hive.com/front-end/rem-with-sass-20150124/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	<post-id xmlns="com-wordpress:feed-additions:1">496</post-id>	</item>
		<item>
		<title>&#060;form&#062; function() &#038; .class 2015</title>
		<link>http://tech-hive.com/advocacies/events/form-function-class-2015-20141015/</link>
		<comments>http://tech-hive.com/advocacies/events/form-function-class-2015-20141015/#respond</comments>
		<pubDate>Wed, 15 Oct 2014 13:28:11 +0000</pubDate>
		<dc:creator><![CDATA[Mae]]></dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[ffcph]]></category>
		<category><![CDATA[pwdo]]></category>

		<guid isPermaLink="false">http://tech-hive.com/?p=478</guid>
		<description><![CDATA[The 5th &#60;form&#62; function &#38; .class is happening this November 8! And we, at PWDO, are very excited about it! Now that I think about it, we&#8217;re just less than a month away, it&#8217;s so easy to freak the hell out right&#8230;  <p class="more-link"><a href="http://tech-hive.com/advocacies/events/form-function-class-2015-20141015/">Continue reading <span class="meta-nav">&#8594;</span></a></p>]]></description>
				<content:encoded><![CDATA[<p><a href="http://formfunctionclass.com"><img class="alignright size-full wp-image-481" src="https://i2.wp.com/tech-hive.com/wp-content/uploads/2014/09/banner_ffc5_webpage.png?resize=650%2C411" alt="banner_ffc5_webpage" srcset="https://i2.wp.com/tech-hive.com/wp-content/uploads/2014/09/banner_ffc5_webpage.png?w=1264 1264w, https://i2.wp.com/tech-hive.com/wp-content/uploads/2014/09/banner_ffc5_webpage.png?resize=300%2C189 300w, https://i2.wp.com/tech-hive.com/wp-content/uploads/2014/09/banner_ffc5_webpage.png?resize=1024%2C648 1024w" sizes="(max-width: 650px) 100vw, 650px" data-recalc-dims="1" /></a></p>
<p><strong><a href="http://formfunctionclass.com">The 5th &lt;form&gt; function &amp; .class is happening this November 8!</a></strong></p>
<p>And we, at PWDO, are very excited about it! Now that I think about it, we&#8217;re just less than a month away, it&#8217;s so easy to freak the hell out right about now&#8230; Hold that thought&#8230;</p>
<p>Anyway, we&#8217;re bring in <a href="http://ericclarksu.com/">Eric Clark Su</a>, <a href="http://johnfallsopp.com/">John Allsopp</a>, <a href="http://jina.me">Jina Bolton</a>, and <a href="http://sachagreif.com/">Sacha Greif</a>, and we&#8217;re hoping the community is as excited about it as we are.</p>
<p>There are a couple of other events happening in November as well, among others are <strong><a href="http://2014.devfest.asia/">DevFest Asia</a> </strong>which is one of the biggest in Asia I think, and there&#8217;s also <strong><a href="http://uxphilippines.com">UXPH</a></strong> <em>(disclosure, PWDO and UXPH has a partnership going on, you can buy 1 ticket for both events  so you can listen to the talks of some of the best designers and UX practitioners in the industry :) )</em></p>
<p>With all these dev and design events, might as well call November the <em>Month of Web Makers</em>, or something more catchy :P More on that point, don&#8217;t you wish you can just buy 1 pass and get to go to these events wherever in the world you are? Now there&#8217;s a business idea!</p>
<p>But before you build that, grab an <strong><a href="http://formfunctionclass.com">FFC</a></strong> ticket or two, why don&#8217;t you? :)</p>
]]></content:encoded>
			<wfw:commentRss>http://tech-hive.com/advocacies/events/form-function-class-2015-20141015/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<post-id xmlns="com-wordpress:feed-additions:1">478</post-id>	</item>
		<item>
		<title>Running your PHP app with pow &#8211; The Mae&#8217;s an idiot guide</title>
		<link>http://tech-hive.com/tutorials/running-your-php-app-with-pow-the-maes-an-idiot-guide-20140711/</link>
		<comments>http://tech-hive.com/tutorials/running-your-php-app-with-pow-the-maes-an-idiot-guide-20140711/#respond</comments>
		<pubDate>Thu, 10 Jul 2014 20:26:55 +0000</pubDate>
		<dc:creator><![CDATA[Mae]]></dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[pow]]></category>

		<guid isPermaLink="false">http://tech-hive.com/?p=459</guid>
		<description><![CDATA[Just because the entire exercise has driven me to madness (almost) where I was wishing I could literally do a table flip and none of my stuff will be broken. At 3AM. I&#8217;m afraid my neighbors think someone&#8217;s getting slaughtered&#8230;  <p class="more-link"><a href="http://tech-hive.com/tutorials/running-your-php-app-with-pow-the-maes-an-idiot-guide-20140711/">Continue reading <span class="meta-nav">&#8594;</span></a></p>]]></description>
				<content:encoded><![CDATA[<p>Just because the entire exercise has driven me to madness (almost) where I was wishing I could literally do a table flip and none of my stuff will be broken. At 3AM. I&#8217;m afraid my neighbors think someone&#8217;s getting slaughtered at my apartment.</p>
<p>Anyhoo! So, you want to run your PHP app locally, eh? You&#8217;re in a for a ride! It may include hair pulling and a little bit of screaming &#8211; so I suggest you keep your scream jar nearby.</p>
<hr />
<p>First, I hope you&#8217;re pretty familiar with the terminal; and if you haven&#8217;t already, you should <a href="https://gist.github.com/olivierlacan/1195304" target="_blank">create a shortcut so you can open sublime through the command line</a>, makes everything so much easier.</p>
<p>Start with this <a href="https://github.com/basecamp/pow/wiki/Running-Pow-with-Apache" target="_blank">pretty vague tutorial</a> on running pow with apache and know that it <strong>may</strong> not just stop there.</p>
<p>If that didn&#8217;t work for you, time to get down and dirty! Open your apache2 folder in sublime by typing <code>sudo sublime /etc/apache2</code> it should show all of the files and folders within apache2. If you open your <code>other</code> folder, you should see the <code>zzz_pow.conf </code>file that was created earlier.</p>
<blockquote><p><strong>Note:</strong> if you want to see <em><strong>any</strong></em> changes in your localhost, you should always do a <code><strong>sudo apachectl restart</strong></code></p></blockquote>
<p>Moving on, open <code>httpd.conf</code> then go to line <strong>118</strong>, uncomment that line to activate the PHP module so it should look like this:</p>
<p><code>LoadModule php5_module libexec/apache2/libphp5.so</code></p>
<p>Some tutorials will want you to uncomment&nbsp;<code>Include /private/etc/apache2/extra/httpd-vhosts.conf</code> which will make your virtual hosts file readable by the server, but I prefer to be on the safe side. While doing this darn thing, I had to remember which files I had to edit and what I did to them, so I prefer to have my changes to be in the same folder, in this case it&#8217;s all in the <code><strong>other</strong></code> folder. It will all be read anyway! Make sure that your <code>httpd.conf's</code> last line is:</p>
<p><code>Include /private/etc/apache2/other/*.conf</code></p>
<p>Create a new file within the <code>other</code> folder called <code><strong>aaa_default.conf</strong></code> (keeping with the original pow tutorial). This will contain&nbsp;your virtual host code(s) that may look something like this:</p>
<pre><code>
&lt;VirtualHost *:80&gt;
    ServerName project.dev
    ServerAlias www.project.dev
    DocumentRoot "/Users/username/Sites/project"
    ErrorLog "/private/var/log/apache2/project.com-error_log"
    CustomLog "/private/var/log/apache2/project.com-access_log" common
    ServerAdmin email@domain.com
        &lt;Directory "/Users/username/Sites/project"&gt;
            Options Indexes FollowSymLinks
            AllowOverride All
            Order allow,deny
            Allow from all
        &lt;/Directory&gt;
&lt;/VirtualHost&gt;

&lt;VirtualHost *:80&gt;
  #no need for settings, use apache defaults.
&lt;/VirtualHost&gt;
</code></pre>
<p>Replace &#8216;project&#8217; with your actual project name and username with your account username. Remember that since we already did this, there&#8217;s no need for you to create a symlink in your <code>.pow</code> folder. It&#8217;s not as nice and simple as the symlink but if it does the job&#8230; well&#8230;</p>
<p>Next, create another file called <code><strong>php.conf</strong></code> (or <code>php5.conf</code> or whatever) which will contain a piece of code that will tell the server that whatever file that has the extension .php should be executed and not displayed as text.</p>
<pre><code>
&lt;IfModule php5_module&gt;
	AddType application/x-httpd-php .php
	AddType application/x-httpd-php-source .phps

  	&lt;IfModule dir_module&gt;
  		DirectoryIndex index.html index.php
  	&lt;/IfModule&gt;
&lt;/IfModule&gt;
</code></pre>
<p>If you got this error:</p>
<p><code><strong>SQLSTATE[HY000] [2002] No such file or directory</strong></code></p>
<p>Open your /etc/php.ini in sublime and look for <code><strong>pdo_mysql.default_socket</strong></code>. Mine was located in line <strong>986</strong> and it didn&#8217;t have any value. Just append <code>=/tmp/mysql.sock</code> so it will be like this:</p>
<p><code><strong>pdo_mysql.default_socket=/tmp/mysql.sock</strong></code></p>
<p>Restart your apache server, hopefully, for the last time and your local PHP app should be available in <strong>http://project.dev</strong>!</p>
<p>If <a style="text-decoration: none" href="http://www.welderbros.com/best-welding-helmet-reviews/"><font color="#555555">welder bros</font></a> still didn&#8217;t work, like mine, open your hosts file (<code>/etc/hosts</code>) with sublime (don&#8217;t forget to sudo!) and add <code>project.dev</code> and <code>www.project.dev</code> beside <code>localhost</code>, and ta-da! Your PHP is running with pow!</p>
<p>It&#8217;s as easy as 10 million steps and lots of bashing! Enjoy! :)</p>
]]></content:encoded>
			<wfw:commentRss>http://tech-hive.com/tutorials/running-your-php-app-with-pow-the-maes-an-idiot-guide-20140711/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<post-id xmlns="com-wordpress:feed-additions:1">459</post-id>	</item>
		<item>
		<title>&#060;form&#062; function() &#038; .class on September 2011!</title>
		<link>http://tech-hive.com/advocacies/events/form-function-class-on-september-2011-20110801/</link>
		<comments>http://tech-hive.com/advocacies/events/form-function-class-on-september-2011-20110801/#comments</comments>
		<pubDate>Mon, 01 Aug 2011 05:28:22 +0000</pubDate>
		<dc:creator><![CDATA[Mae]]></dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[ffcph]]></category>
		<category><![CDATA[pwdo]]></category>

		<guid isPermaLink="false">http://tech-hive.com/?p=409</guid>
		<description><![CDATA[Philippine Web Designers Organization is bringing back &#60;form&#62; function() &#038; .class this year! It&#8217;s going to be on September 10 and 11, 2011 (yes, that&#8217;s 9/11) and will have 3-hour awesome workshops on HTML5 and CSS3, Javascript, Usability and Design&#8230;  <p class="more-link"><a href="http://tech-hive.com/advocacies/events/form-function-class-on-september-2011-20110801/">Continue reading <span class="meta-nav">&#8594;</span></a></p>]]></description>
				<content:encoded><![CDATA[<p><a href="http://pwdo.org">Philippine Web Designers Organization</a> is bringing back &lt;form&gt; function() &#038; .class this year! It&#8217;s going to be on September 10 and 11, 2011 (yes, that&#8217;s 9/11) and will have 3-hour awesome workshops on HTML5 and CSS3, Javascript, Usability and Design by the country&#8217;s leading designers and front-end developers. There will also be talks on Business, Mobile Dev, Branding, and future trends. Speakers include <a href="http://ideals.ph" title="Dan Matutina of Ideals Creative">Dan Matutina</a>, <a href="http://sinefunc.com" title="Rico of Sinefunc">Rico Sta. Cruz</a>, <a href="http://proudcloud.net" title="Jason Torres of Proud Cloud">Jason Torres</a>, <a href="http://raincreativelabs.com" title="JP de Guzman of Rain Creative Labs">JP de Guzman</a>, <a href="http://usautoparts.com" title="Allan Caeg of US Auto Parts">Allan Caeg</a>, <a href="http://hugomanila.com" title="Drei Gonzales of HUGO Manila">Drei Gonzales</a> and <a href="http://liquidandliquid.com" title="John Leyson of Liquid and Liquid">John Leyson</a>.</p>
<p>Since the format totally changed, thanks to <a href="http://www.aim.edu/" title="Asian Institute of Management, Makati">AIM</a> for accommodating our last minute request BTW (they&#8217;re awesome!), the price will have to reflect said change as well. So this year, the payment scheme will be as follows:</p>
<blockquote><p>
<strong>Early Bird (ends September 3): </strong></p>
<ul>
<li>PhP 1,500 per day </li>
<li>PhP 2,000 for 2 days</li>
</ul>
<p><strong>Walk In:</strong> PhP 2,000 per day <em>(no discount for 2-day signups)</em></p></blockquote>
<p>Note that to prevent long lines and annoyed participants like what happened in 2009, we&#8217;re strictly implementing the payment scheme. Meaning, if you didn&#8217;t pay on or before <strong>September 3</strong>, then you will be considered a <strong>walk-in</strong> and will have to pay the rate of 2,000 PhP a day. It doesn&#8217;t matter if you registered before September 3, what we&#8217;re going to take into account is <em>when</em> you actually paid, sorry. :(</p>
<p>If you want to know more, head on over to the FFC site to see the <a href="http://www.pwdo.org/ffc/schedule/">schedule</a> and <a href="http://www.pwdo.org/ffc/register/">register</a>! Or if you want, you can also contact us to be one of our <a href="http://www.pwdo.org/ffc/sponsors/">sponsors</a> which we&#8217;ll really appreciate!</p>
<p>Hope to see you there and don&#8217;t forget to say hi! :)</p>
]]></content:encoded>
			<wfw:commentRss>http://tech-hive.com/advocacies/events/form-function-class-on-september-2011-20110801/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<post-id xmlns="com-wordpress:feed-additions:1">409</post-id>	</item>
		<item>
		<title>Introducing HTML5 and HTML5 for Web Designers, a review</title>
		<link>http://tech-hive.com/reviews/books/introducing-html5-and-html5-for-web-designers-a-review-20110110/</link>
		<comments>http://tech-hive.com/reviews/books/introducing-html5-and-html5-for-web-designers-a-review-20110110/#comments</comments>
		<pubDate>Mon, 10 Jan 2011 09:00:00 +0000</pubDate>
		<dc:creator><![CDATA[Mae]]></dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[a book apart]]></category>
		<category><![CDATA[bruce lawson]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[jeremy keith]]></category>
		<category><![CDATA[markup]]></category>
		<category><![CDATA[remy sharp]]></category>

		<guid isPermaLink="false">http://tech-hive.com/?p=146</guid>
		<description><![CDATA[I wasn&#8217;t really HTML5&#8217;s biggest fan. The fact that you can write it however you want made me very worried that it might result in poor coding again (unclosed tags, or mismatched closing tags). But after reading Introducing HTML5 and&#8230;  <p class="more-link"><a href="http://tech-hive.com/reviews/books/introducing-html5-and-html5-for-web-designers-a-review-20110110/">Continue reading <span class="meta-nav">&#8594;</span></a></p>]]></description>
				<content:encoded><![CDATA[<p>I wasn&#8217;t really HTML5&#8217;s biggest fan. The fact that you can write it however you want made me very worried that it might result in poor coding again (unclosed tags, or mismatched closing tags). But after reading <cite>Introducing HTML5</cite> and <cite>HTML5 for Web Designers</cite>, I realized that what it lacked in <em>rigid</em> coding conventions it made up with semantic elements like <code>section</code>, <code>article</code>, <code>nav</code>, <code>aside</code>, <code>header</code> and <code>footer</code> to name a few.</p>
<p>If you&#8217;re planning on learning more about HTML5 then I suggest that you pick up these two books as it will help you immensely. Funny enough, while I&#8217;m reading these books, I suddenly realized how bad I did in coding this site up. I&#8217;m currently in the process of re-writing the entire thing while keeping in mind the <a href="http://www.lukew.com/ff/entry.asp?933">mobile first</a> <a href="http://www.lukew.com/ff/entry.asp?1117">philosophy</a>. It&#8217;s a little challenging, but that&#8217;s how things get more fun, right? (I sure miss <a href="http://tech-hive.com/tagged/ie/">IE</a> a little bit.)</p>
<section>
<h3>Introducing HTML5 by Bruce Lawson and Remy Sharp</h3>
<p><img src="https://i1.wp.com/tech-hive.com/wp-content/uploads/2010/10/introducing-html5.jpg?w=200" alt="Introducing HTML5 book cover" title="Introducing HTML5" class="alignright size-full wp-image-314" srcset="https://i1.wp.com/tech-hive.com/wp-content/uploads/2010/10/introducing-html5.jpg?w=300 300w, https://i1.wp.com/tech-hive.com/wp-content/uploads/2010/10/introducing-html5.jpg?resize=150%2C150 150w" sizes="(max-width: 300px) 100vw, 300px" data-recalc-dims="1" /> Bought <a href="http://www.amazon.com/gp/product/B003WJRW2U?ie=UTF8&#038;tag=laslea-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=B003WJRW2U">Introducing HTML5</a> (ref) a couple of days after I got my Kindle. The sample file was engaging and I thought it would be great to read about HTML5 in one place. The web is just buzzing with <a href="http://www.google.com/search?q=html5&#038;hl=en&#038;tbs=nws:1,qdr:m&#038;prmd=nl&#038;source=lnt&#038;sa=X&#038;ei=GVXbTIDDI4GevQOdwZSKCg&#038;ved=0CA4QpwU" title="Search results for HTML5 for the past month">HTML5 news and tips and tricks</a> that just getting up to date is hard to do.</p>
<p>The book uses a conversational tone and it&#8217;s probably the biggest reason why I <strong>love</strong> it. <a href="http://brucelawson.co.uk/">Bruce Lawson</a> and <a href="http://remysharp.com/">Remy Sharp</a> were able to discuss the difference between seemingly similar elements in a very clear and concise way. The explanations are so easy to understand that I just realized that, unfortunately, the only thing I did right in my markup (in this site) is using <code>article</code> for my blog posts.</p>
<p>The book is divided into 10 chapters, they discussed how HTML started to structuring text elements and new types of forms, to using <code>video</code> and <code>audio</code> tags properly as well as <code>canvas</code>, how to access and set data storages, offline mode, drag and drop, geolocation and APIs.</p>
<h4>Pros</h4>
<p>I love how in-depth the book is, it gave a lot of examples that you can follow throughout the book, the discussions on which element is which and what for is so succinct. Introduction to HTML5 is a very meaty one, it&#8217;s the type of book you&#8217;re going to consult over and over again.</p>
<p><span id="more-146"></span></p>
<h4>Cons</h4>
<p>I think it&#8217;s just a case of it&#8217;s me not you here, but the discussion about the APIs just went <i>whoosh</i> over my head. I did try to read it over and over and over but it kept on making me nod to sleep so I just gave up and vowed to pick it up again when I can understand most of it and not look at the words and abbreviations as if they&#8217;re just a bunch of gibberish.</p>
</section>
<section>
<h3>HTML5 for Web Designers by Jeremy Keith</h3>
<p class="center"><img src="https://i0.wp.com/tech-hive.com/wp-content/uploads/2011/01/HTML5FWD-feature.png?resize=600%2C276" alt="HTML5FWD-feature.png" title="HTML5FWD-feature.png" data-recalc-dims="1" /></p>
<p>I wasn&#8217;t really planning on buying <a href="http://books.alistapart.com/products/html5-for-web-designers">HTML5 for Web Designers</a> by <a href="http://adactio.com/journal/">Jeremy Keith</a> at all, but you know, you can never have enough knowledge about something, specially when it comes to web technologies.</p>
<p>The book is neither too short nor too long. It was just the right length to keep you interested while giving you the best blow-by-blow on the new things that HTMl5 has to offer. The book is divided into 6 comprehensible chapters, like in Introducing HTML5, it touched on a brief history of HTML with less focus on the politics behind it.</p>
<h4>Pros</h4>
<p>The book is such a light read, I think I was able to finish through in about a day. Jeremy Keith not only described what the elements are for and the best case scenario for each of them but he also gave a script for backwards compatibility. I really, really love that its tone is conversational, that&#8217;s why I also love <a href="http://www.amazon.com/gp/product/1430219203?ie=UTF8&#038;tag=laslea-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=1430219203">Web Standards Solutions: The Markup and Style Handbook, Special Edition</a><img src="http://www.assoc-amazon.com/e/ir?t=laslea-20&#038;l=as2&#038;o=1&#038;a=1430219203" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> (ref) by Dan Cederholm. I am such a sucker for these types of books because in my experience, technical books tend to be&#8230; well, too technical and boring.</p>
<h4>Cons (not so much)</h4>
<p>I think I would have liked it if he tackled on canvas, and the APIs in the book no matter how lightly he discussed it. I think I&#8217;ll be able to understand it even more instead of me getting so lost on how to make all those things work. He did mention that he won&#8217;t touch it in the beginning of the book but still, you can&#8217;t help but feel wanting in the end.</p>
</section>
]]></content:encoded>
			<wfw:commentRss>http://tech-hive.com/reviews/books/introducing-html5-and-html5-for-web-designers-a-review-20110110/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	<post-id xmlns="com-wordpress:feed-additions:1">146</post-id>	</item>
		<item>
		<title>Airphilexpress’ pricing bug</title>
		<link>http://tech-hive.com/advocacies/usability/airphilexpress-pricing-bug-20101207/</link>
		<comments>http://tech-hive.com/advocacies/usability/airphilexpress-pricing-bug-20101207/#comments</comments>
		<pubDate>Tue, 07 Dec 2010 10:41:32 +0000</pubDate>
		<dc:creator><![CDATA[Mae]]></dc:creator>
				<category><![CDATA[Usability]]></category>
		<category><![CDATA[airlines]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[pricing issues]]></category>
		<category><![CDATA[seat sale]]></category>

		<guid isPermaLink="false">http://tech-hive.com/?p=316</guid>
		<description><![CDATA[The past year, I realized that I love traveling as much as I love airline seat sales, I follow a number of airlines like Cebu Pacific, PAL, Tiger Airways and Air Asia for all the seat sale goodness. On the&#8230;  <p class="more-link"><a href="http://tech-hive.com/advocacies/usability/airphilexpress-pricing-bug-20101207/">Continue reading <span class="meta-nav">&#8594;</span></a></p>]]></description>
				<content:encoded><![CDATA[<p>The past year, I realized that I love traveling as much as I love airline seat sales, I follow a number of airlines like <a href="http://www.cebupacificair.com">Cebu Pacific</a>, <a href="http://www.philippineairlines.com">PAL</a>, <a href="http://www.tigerairways.com.au">Tiger Airways</a> and <a href="http://www.airasia.com">Air Asia</a> for all the seat sale goodness.</p>
<p>On the 23rd of November, <a href="http://airphilexpress.com">Air Philippines Express</a> announced a seat sale, a one-way fare of 1,888 from Manila to Singapore. For something that usually costs 5,000 Philippine Pesos and up, that&#8217;s already a steal! So, as usual, I hurriedly tested how much this will cost me since my friend and I are planning a trip there anyway.</p>
<p class="text-center"><img src="https://i1.wp.com/tech-hive.com/wp-content/uploads/2010/12/Screen-shot-2010-11-23-at-1.14.32-PM.png?resize=600%2C465" alt="Screen shot 2010-11-23 at 1.14.32 PM.png" title="Screen shot 2010-11-23 at 1.14.32 PM.png" data-recalc-dims="1" /></p>
<p>I like the fact that you can a number of days so you can choose from them, unlike Cebu Pacific&#8217;s standard practice of making me click and wait to see other days.</p>
<p class="center"><img src="https://i2.wp.com/tech-hive.com/wp-content/uploads/2010/12/Screen-shot-2010-11-23-at-1.15.01-PM.png?resize=600%2C564" alt="Screen shot 2010-11-23 at 1.15.01 PM.png" title="Screen shot 2010-11-23 at 1.15.01 PM.png" data-recalc-dims="1" /></p>
<p>I didn&#8217;t know that there&#8217;s going to be a stop over but I thought that it&#8217;s fine, that&#8217;s what you get for being such a cheapskate. Until&#8230;</p>
<p><span id="more-316"></span></p>
<p class="center"><img src="https://i1.wp.com/tech-hive.com/wp-content/uploads/2010/12/Screen-shot-2010-11-23-at-1.15.26-PM.png?resize=564%2C600" alt="Screen shot 2010-11-23 at 1.15.26 PM.png" title="Screen shot 2010-11-23 at 1.15.26 PM.png" data-recalc-dims="1" /></p>
<p>I may have misunderstood this whole thing but looking back at the previous screenshot, it has been to my understanding that the fare of 1,888 is going to cover the entire trip, <em>with</em> the stopover and the base fare is indeed 3776, I expected the final fare to be around 4,000 due to taxes but I never expected that even the stopover&#8217;s going to be 1,888, too! With this, it appears that the non-stop regular fare of 4,488 is the better choice.</p>
<p>Of course, I cannot discount the fact that it&#8217;s just a software problem, but still. It&#8217;s wise to iron out blocker bugs like these before announcing <em>anything</em>. Specially in this kind of tight industry since apparently, everyone wants to travel but doesn&#8217;t want to spend as much. (LOL) </p>
<p>Anyway, isn&#8217;t it deploying 101? There were times before when we had to keep working until 2 or 3 in the morning because we just deployed, and we had to make sure that we go through the site a couple of times to make sure that every bugs, from minor to blockers, have been &#8220;squashed&#8221; before we retire for bed. Something like this shouldn&#8217;t have been overlooked.</p>
<p>If it <em>is</em> intentional, then they have a serious problem because what they&#8217;re doing is misleading and just plain wrong.</p>
<p>I know it&#8217;s a bit late to be complaining about this, but I wondered if this has been brought to their attention or if I&#8217;m just one of the lucky few to have experienced this. I wish they&#8217;ve sorted this out already because Cebu Pacific needs a competitor.</p>
]]></content:encoded>
			<wfw:commentRss>http://tech-hive.com/advocacies/usability/airphilexpress-pricing-bug-20101207/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	<post-id xmlns="com-wordpress:feed-additions:1">316</post-id>	</item>
		<item>
		<title>Using dl for a Semantic Form</title>
		<link>http://tech-hive.com/front-end/html/using-dl-for-a-semantic-form-20100813/</link>
		<comments>http://tech-hive.com/front-end/html/using-dl-for-a-semantic-form-20100813/#respond</comments>
		<pubDate>Thu, 12 Aug 2010 21:00:00 +0000</pubDate>
		<dc:creator><![CDATA[Mae]]></dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[best practices]]></category>
		<category><![CDATA[definition lists]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[semantic form]]></category>

		<guid isPermaLink="false">http://tech-hive.com/?p=168</guid>
		<description><![CDATA[Wufoo&#8217;s login form Semantics in forms are one of the things that needs to be talked about, in my opinion, since they are one of the most important parts of a web site. You create/edit user accounts, create/edit blog posts,&#8230;  <p class="more-link"><a href="http://tech-hive.com/front-end/html/using-dl-for-a-semantic-form-20100813/">Continue reading <span class="meta-nav">&#8594;</span></a></p>]]></description>
				<content:encoded><![CDATA[<p class="alignleft"><img src="https://i0.wp.com/tech-hive.com/wp-content/uploads/2010/08/form.jpg?resize=300%2C185" alt="" title="Wufoo&#039;s login form" class="size-full wp-image-243" data-recalc-dims="1" /><br />
<a href="http://wufoo.com" class="extra">Wufoo&#8217;s</a> login form</p>
<p>Semantics in forms are one of the things that needs to be talked about, in my opinion, since they are one of the most important parts of a web site. You create/edit user accounts, create/edit blog posts, submit a comment, gather information from your audience, and lots more through them. However, apart from <code>fieldset</code>, we don&#8217;t really have a semantic way of marking up a pair of form elements.</p>
<p>There are different ways in marking up one&#8217;s form: <code>div</code>, <code>p</code>, <code>ul</code> or <code>ol</code> and <code>dl</code>. Because using <code>dl</code>, or definition list, to mark up a form is still unusual even though it&#8217;s <a href="http://www.clagnut.com/blog/241/" title="October 3, 2003 - Form Layout">not exactly</a> <a href="http://www.devarticles.com/c/a/Web-Design-Standards/Web-Forms/2/" title="August 23, 2004 - Web Forms">a new idea</a>, I will be talking and boring you, unfortunate people, about it here.</p>
<h3>Understanding the <code>dl</code> element</h3>
<p><code>dl</code> is one of the most overlooked element in HTML since, I assume, people mostly associate it with just definition lists, aka glossary. But it can be much, much more as was shown by Mike Robinson in his article about <a href="http://html5doctor.com/the-dl-element/">the <code>dl</code> element</a> in HTML5 Doctor. The HTML5 draft describes definition list as:</p>
<blockquote cite="http://www.w3.org/TR/html5/grouping-content.html#the-dl-element"><p>The <code>dl</code> element represents an association list consisting of zero or more name-value groups (a description list). Each group must consist of one or more names (<code>dt</code> elements) followed by one or more values (<code>dd</code> elements). </p>
<p><cite><a href="http://www.w3.org/TR/html5/grouping-content.html#the-dl-element">HTML5 Working Draft: The <code>dl</code> element</a></cite></p></blockquote>
<p>The key to why <code>dl</code> is the mark up that makes most sense (at least to me) is the <strong>name-value groups</strong> phrase. Form elements are all about pairing as you have the label which is the name and the corresponding value which is the <code>input</code> or <code>textarea</code> or <code>select</code>.</p>
<p><span id="more-168"></span></p>
<p>Using <code>dl</code>, your code is going to look something like this:</p>
<pre><code>&lt;form action=""&gt;
  &lt;dl&gt;
    &lt;dt&gt;&lt;label for="input-value"&gt;Label Name&lt;/label&gt;&lt;/dt&gt;
    &lt;dd&gt;&lt;input type="text" name="input-value" id="input-value" size="32" /&gt;&lt;/dd&gt;
  &lt;/dl&gt;
&lt;/form&gt;</code></pre>
<h3>Pros</h3>
<p>Aside from your code being semantic, using definition lists for forms will enable you to have a correctly styled form element by default since both <code>dt</code> (definition term aka term) and <code>dd</code> (definition aka value) are block elements. <code>dl</code> also lets you mark checkboxes up with more sense like so:</p>
<pre><code>&lt;dt&gt;Select one or more option:&lt;/dt&gt;
&lt;dd&gt;
  &lt;label&gt;
    &lt;input type="checkbox" name="value-1" id="value-1" /&gt;
  &lt;/label&gt;
&lt;/dd&gt;
&lt;dd&gt;
  &lt;label&gt;
    &lt;input type="checkbox" name="value-2" id="value-2" /&gt;
  &lt;/label&gt;
&lt;/dd&gt;
&lt;dd&gt;
  &lt;label&gt;
    &lt;input type="checkbox" name="value-3" id="value-3" /&gt;
  &lt;/label&gt;
&lt;/dd&gt;</code></pre>
<p>I have to admit that I&#8217;m stumped checkboxes and radio boxes. There are times when it makes sense to put the option heading in a <code>legend</code>, but you can&#8217;t always put them in a separate <code>fieldset</code>! Using a heading element makes even less sense. Most of the time, I just use <code>label</code> even though it&#8217;s not really linked to anything. Well, <code>p</code> works, too.</p>
<h3>Cons</h3>
<p>Like everything else, using <code>dl</code> isn&#8217;t really foolproof:</p>
<ul>
<li><code>dt</code> and <code>dd</code> are separate elements which makes it harder for you to clear them in case you&#8217;ve decided to float them and have multiple values. This scenario is easier for <code>div</code>, <code>li</code> and <code>p</code> because they act as a wrapper to the label-input pair. You can fix this by clearing your <code>dt</code>.</li>
<li>You&#8217;ll encounter a version of the above mentioned problem when you have an empty value in a pair. You can either put a space (<code>&nbsp ;</code>) or min-height. I&#8217;m thinking that min-height is the better solution between the two, though.</li>
<li>An IE 6 problem: when you add a block element within <code>dl</code> and its child elements, IE6 escapes the definition list so that the block element is outside it. There&#8217;s still a workaround like, instead of <code>p</code>, you can use <code>span</code> instead, which sort of defeats the purpose of what we&#8217;re trying to do. Ken, a co-worker of mine assured me that that problem doesn&#8217;t exist in IE 7, which is a sigh of relief.</li>
</ul>
<p>Personally, I think the pros outweighs the various CSS issues you might encounter in the process. Nothing makes you feel better than being able to solve a CSS problem, which is probably why I miss IE 6 sometimes (isn&#8217;t that sad?). :( </p>
<p>How do you mark up your form? Do you think you&#8217;ll try and switch to <code>dl</code> one of these days?</p>
<div class="more_reading">
<h3>Further reading</h3>
<p>Still not bored to death? :P </p>
<ul>
<li><a href="http://www.w3.org/TR/html5/forms.html#forms">HTML5 Working Drafts: Forms</a></li>
<li><a href="http://reference.sitepoint.com/html/elements-form">List of Form Elements in SitePoint</a></li>
<li><a href="http://web.enavu.com/snippets/web-forms-semantic-mark-up-in-our-forms-part-2/">Semantic Mark Up in our Forms</a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://tech-hive.com/front-end/html/using-dl-for-a-semantic-form-20100813/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<post-id xmlns="com-wordpress:feed-additions:1">168</post-id>	</item>
		<item>
		<title>The CSS3 Carousel Experiment</title>
		<link>http://tech-hive.com/front-end/css/css-animation-20100806/</link>
		<comments>http://tech-hive.com/front-end/css/css-animation-20100806/#respond</comments>
		<pubDate>Fri, 06 Aug 2010 09:17:00 +0000</pubDate>
		<dc:creator><![CDATA[Mae]]></dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[carousel]]></category>
		<category><![CDATA[css carousel]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[sample codes]]></category>

		<guid isPermaLink="false">http://tech-hive.com/?p=90</guid>
		<description><![CDATA[When I first read about CSS Animation, I thought that they shouldn&#8217;t be messing with the separation of logic and style. In my mind, it should be clear that logic (animation, rotation, even the alternating row styles) should be in&#8230;  <p class="more-link"><a href="http://tech-hive.com/front-end/css/css-animation-20100806/">Continue reading <span class="meta-nav">&#8594;</span></a></p>]]></description>
				<content:encoded><![CDATA[<p>When I first read about <a title="CSS Animation in Webkit - October 31, 2007" href="http://webkit.org/blog/138/css-animation/">CSS Animation</a>, I thought that they shouldn&#8217;t be messing with the separation of logic and style. In my mind, it should be clear that logic (animation, rotation, even the alternating row styles) should be in javascript, all the styles should be in CSS, and the document structure in HTML.</p>
<p>One time, while working on our internal project, I thought I&#8217;d try a little <code>-webkit-transition-duration</code> because I wanted the color of the links to gradually change to something else on hover. But when I hovered on our main navigation that was using a sprite image, the background <em>scrolled</em> from one background position to the next every time we hover on it because of the delay! It was really amusing.</p>
<h3>CSS3 Carousel</h3>
<p>I experimented a little bit with transition and descendant selectors<del datetime="2010-08-05T07:01:00+00:00">, but apparently, <code>p ~ p</code> doesn&#8217;t work with <code>:hover</code> or <code>:active</code> or <code>:focus</code> very well</del> (browser notes below) and came up with this <a href="http://tech-hive.com/experiments/animation/carousel.html">CSS3 carousel experiment</a>.</p>
<p>To do this, you should have the following markup:</p>
<pre><code>&lt;div class="carousel"&gt;
  &lt;a href="#" class="first-image"&gt;1&lt;/a&gt;
  &lt;a href="#" class="second-image"&gt;2&lt;/a&gt;
  &lt;a href="#" class="third-image"&gt;3&lt;/a&gt;
  &lt;a href="#" class="fourth-image"&gt;4&lt;/a&gt;
  &lt;img src="main-background.jpg" alt="" /&gt;
&lt;/div&gt;</code></pre>
<p>It&#8217;s really rather plain, it&#8217;s because we&#8217;ll be choosing the image using CSS&#8217; child selectors to move the image and it won&#8217;t work if we enclose the links at  in a div or list.</p>
<p>And this CSS:</p>
<pre><code>  img { -webkit-transition: all 5s; -o-transition: all 5s; }
  .carousel { width: 500px; height: 372px; overflow: hidden; }
  a.first-image:hover ~ img { margin-left: 0; }
  a.second-image:hover ~ img { margin-left: -500px; }
  a.third-image:hover ~ img { margin-left: -1000px; }
  a.fourth-image:hover + img { margin-left: -1500px; }</code></pre>
<p id="ecsstender">New child selectors: the <code>~</code> symbol is used to select all fellow child elements, in this case, an image. If you add another image, it will be selected by this, too. The <code>+</code> sign on the other hand is to select a descendant that directly follows it. It&#8217;s really exciting, go nuts! <sup><a href="#ecsstender-link">1</a></sup></p>
<div class="message note">
<p>Some people would obviously rather use a div and apply the image as background, all you have to do is replace img with div or the class you assigned to it.</p>
</div>
<h3>Browser (in)compatibilities:</h3>
<ul>
<li>For some reason, webkit-based browsers doesn&#8217;t interpret this very well, the second and third link can&#8217;t be triggered unless you hover on the fourth link first.</li>
<li>Firefox interprets the child selectors perfectly but not transition because it will only be implemented in <a href="https://developer.mozilla.org/en/CSS/-moz-transition#Browser_compatibility">Firefox 4</a>.</li>
<li>The experiment works perfectly in Opera 10.6 and it gives me a warm fuzzy feeling inside. :D</li>
</ul>
<div class="more_reading">
<h3>Further Reading:</h3>
<ul>
<li><a href="http://webkit.org/specs/CSSVisualEffects/">CSS Visual Effects Specs from Webkit</a></li>
<li><a href="http://css3.bradshawenterprises.com/">CSS3 Transitions, Transforms and Animations</a> &mdash; There is an example for CSS3 Carousel here, too. It uses js to move from one image to the next so I think this will give you more flexibility in writing your HTML.</li>
<li><a href="http://www.the-art-of-web.com/css/css-animation/">CSS Animation from Art of Web</a></li>
<li><a href="http://www.the-art-of-web.com/css/timing-function/">Timing Function from Art of Web</a></li>
<li><a href="http://24ways.org/2009/css-animations">CSS Animations from 24Ways</a></li>
<li><a href="http://www.cssplay.co.uk/menu/animation.html">CSS Flick Animation from CSSPlay</a></li>
<li id="ecsstender-link"><sup><a href="#ecsstender" title="Go back to the child selector paragraph">^</a></sup> <a href="http://test.ecsstender.org/extensions/eCSStender.CSS3-selectors.js/test/sizzle-test.html">Child selector support test and examples from eCSStender</a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://tech-hive.com/front-end/css/css-animation-20100806/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<post-id xmlns="com-wordpress:feed-additions:1">90</post-id>	</item>
		<item>
		<title>Volusion, every themer’s nightmare</title>
		<link>http://tech-hive.com/reviews/shopping-carts/volusion-every-themers-nightmare-20100615/</link>
		<comments>http://tech-hive.com/reviews/shopping-carts/volusion-every-themers-nightmare-20100615/#comments</comments>
		<pubDate>Tue, 15 Jun 2010 15:12:00 +0000</pubDate>
		<dc:creator><![CDATA[Mae]]></dc:creator>
				<category><![CDATA[Shopping Carts]]></category>
		<category><![CDATA[theming woes]]></category>
		<category><![CDATA[volusion]]></category>

		<guid isPermaLink="false">http://tech-hive.com/?p=93</guid>
		<description><![CDATA[Recently, I had to convert a PSD into a theme for a Volusion store. I don&#8217;t really mind doing something new because I know that you&#8217;ll always, always learn something from it. But volusion just made me appreciate WordPress, Drupal&#8230;  <p class="more-link"><a href="http://tech-hive.com/reviews/shopping-carts/volusion-every-themers-nightmare-20100615/">Continue reading <span class="meta-nav">&#8594;</span></a></p>]]></description>
				<content:encoded><![CDATA[<p><img src="https://i1.wp.com/tech-hive.com/wp-content/uploads/2010/06/volusion.png?resize=225%2C78" alt="Volusion Logo" title="Volusion Logo" class="alignleft size-full wp-image-107" data-recalc-dims="1" /> Recently, I had to convert a PSD into a theme for a <a href="http://volusion.com">Volusion</a> store. <a href="http://tech-hive.com/reviews/cms/on-creating-themes-and-going-out-of-your-comfort-zone-20091002">I don&#8217;t really mind doing something new</a> because I know that you&#8217;ll always, always learn something from it. But volusion just made me appreciate WordPress, Drupal and MVC frameworks more.</p>
<p>When I first looked at the code within Volusion&#8217;s LiveEditor, I thought <q>&#8220;Well this is going to be simple and easy.&#8221;</q> But I was so, so, so wrong. It was <del datetime="2010-06-14T14:38:52+00:00">a nightmare</del> so hard, I&#8217;m not used to making the design work <em>for</em> the CMS &mdash; I&#8217;m used to bending it with my jedi mind tricks (or well, try).</p>
<p><strong>Volusion only has one theme for <em>everything</em>.</strong> Ever since I started learning more and more about Drupal, I&#8217;ve started to appreciate this one-theme-for-all-page strategy where you update all of the options in the admin panel instead of in the theme itself. It wasn&#8217;t easy at first because I was used to how WordPress works but I realized that this way is actually more flexible (and dare I say user-friendly for the clients once they&#8217;re used to it), so that&#8217;s not really what I dislike <em>dislike</em> about Volusion.</p>
<p><strong>It&#8217;s that there really is that one HTML file, and your CSS.</strong> With Volusion, you can show the contents of the site by adding <code>&lt;div id="content_area"&gt;&lt;/div&gt;</code> within your theme, the Volusion script adds the code and content within that <code>div</code>. And boy, do they add codes (read: <code>table</code>, <code>b</code>, <code>font</code>!)! Unfortunately for you, the designer/front-end developer, you can&#8217;t edit the codes that&#8217;s within it. This means no conditional tags for your menu or sub menu, no includes, nothing. Just your HTML and CSS. :(</p>
<p>The code they add within <code>#content_area</code> doesn&#8217;t have a lot of classes or IDs either, having them would have made my life easier because I can select them through CSS. But no, they&#8217;re using tables within tables within tables within tabl&mdash; well, you get the drift. So in the end, don&#8217;t be surprised if your CSS will look something like this:</p>
<pre><code> table[cellspacing="2"] table table table font { styles }
  table[cellpadding="8"] table table td .classname table { styles }</code></pre>
<p>You <em>can</em> customize how it looks per category but whenever you have to adjust something, let&#8217;s say, change a URL in one of the sections or add a new section, it means that you have to edit it in <strong>all of the category pages</strong>. It&#8217;s like editing static HTML files all over again. This makes me sad because I feel that Volusion was left by its CMS counterpart and got stuck in the 90s. What. Is. Up?</p>
<p>Since you can&#8217;t edit what goes on in your <code>#content_area</code> div, it also means that if you want a bigger product image, you&#8217;ll have to, you guessed it, update all of the product images so it will match the new design&#8217;s specified image proportion. When the client said she wanted a bigger image, I initially thought that I&#8217;d just select a bigger version of the product image either in the option or code unfortunately though, there&#8217;s no option for it. There <em>is</em> an <a style="text-decoration: none" href="http://www.welderbros.com/best-tig-welder-reviews/"><font color="#555555">tig welder reviews</font></a> article in their support section on <a href="http://support.volusion.com/article/configuring-custom-product-photo-sizes">how to change your product thumbnails</a>.</p>
<p>The submit buttons are all in images, too. Call me rigid in my ways or just plain lazy, but I&#8217;d like to have the <em>option</em> of just creating one background image to apply on all text-based buttons. And if I ever decide that images make a better experience for the users then I&#8217;d like to have that option, too.</p>
<p>I wonder what&#8217;s going on with them, with the advent of hosted ecommerce solutions like <a href="http://shopify.com">shopify</a> and <a href="http://bigcartel.com">bigcartel</a>, just to name a few, you&#8217;d think they&#8217;d do everything they can to make theming and updating the sites easier and more flexible for their clients. I do know that you have to make your app backwards compatible for all of those who can&#8217;t be bothered to update their design since whenever; but isn&#8217;t it also the service provider&#8217;s responsibility to make sure that what they have is at par with what&#8217;s out there? I&#8217;m really curious with what&#8217;s cooking in the Volusion HQ, will they be updating their backend&#8217;s design (that doesn&#8217;t work that well with webkit-based browsers), etc?</p>
]]></content:encoded>
			<wfw:commentRss>http://tech-hive.com/reviews/shopping-carts/volusion-every-themers-nightmare-20100615/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
	<post-id xmlns="com-wordpress:feed-additions:1">93</post-id>	</item>
		<item>
		<title>On creating themes and going out of your comfort zone</title>
		<link>http://tech-hive.com/reviews/cms/on-creating-themes-and-going-out-of-your-comfort-zone-20091002/</link>
		<comments>http://tech-hive.com/reviews/cms/on-creating-themes-and-going-out-of-your-comfort-zone-20091002/#respond</comments>
		<pubDate>Fri, 02 Oct 2009 04:55:42 +0000</pubDate>
		<dc:creator><![CDATA[Mae]]></dc:creator>
				<category><![CDATA[CMS]]></category>
		<category><![CDATA[cms themes]]></category>
		<category><![CDATA[lifestream]]></category>
		<category><![CDATA[notes]]></category>
		<category><![CDATA[sample codes]]></category>
		<category><![CDATA[sweetcron]]></category>

		<guid isPermaLink="false">http://tech-hive.com/?p=63</guid>
		<description><![CDATA[I have always been a WordPress girl, but you have to admit that there are instances where you just have to use something that specializes in that area. I&#8217;ve recently overhauled Last Leaf and turned it into a lifestream. I&#8230;  <p class="more-link"><a href="http://tech-hive.com/reviews/cms/on-creating-themes-and-going-out-of-your-comfort-zone-20091002/">Continue reading <span class="meta-nav">&#8594;</span></a></p>]]></description>
				<content:encoded><![CDATA[<p>I have always been a WordPress girl, but you have to admit that there are instances where you just have to use something that specializes in <em>that</em> area.  </p>
<p>I&#8217;ve recently overhauled <a href="http://lastleaf.org/items/view/180/new-last-leaf">Last Leaf</a> and turned it into a lifestream. I have stopped blogging there since the start of the year and have always thought of turning it into just that but I haven&#8217;t because creating themes for another CMS seemed intimidating.</p>
<p>At first, I thought of writing my own lifestream, it should have been my way of learning more about RoR but until now, all I have in my folder is the basic install (which I have forgotten how I was able to produce) so I turned to the next best thing: <a href="http://sweetcron.com">Sweetcron</a>. It&#8217;s been months since I have looked at Sweetcron, I remember that I found it so unfriendly to customize to one&#8217;s needs before. Turns out, all I really needed was to read a <a href="http://net.tutsplus.com/misc/building-a-custom-lifestream-website-with-sweetcron/" title="Nettuts: Building a Custom Lifestream Website with Sweetcron">good documentation</a>, a lot of focus and plenty of time to test things out. It&#8217;s a pleasant exercise, and it&#8217;s something I know I&#8217;ll do again.</p>
<p>And so, with the intro done and over with, I suggest that you try and do something you haven&#8217;t tried before once in a while, if you&#8217;re not yet ready to commit full-time to something really big (RoR for me) then do some little things (like theme customizations, I think I want to try Drupal next) and so, here are the notes I made myself remember while writing Last Leaf&#8217;s theme:</p>
<ul>
<li>
<h2>Base your first theme on one of the default ones</h2>
<p>Most of the time, you already have almost everything you need in the default theme, the developers won&#8217;t include that otherwise, I think. Trying to edit the defaults also make the learning curve more enjoyable because you know you won&#8217;t just break something because it acts as your guide in the process.</p>
<p>My first WordPress theme was something based on <a href="http://www.wordpresstheme.com/themes/theme-wordpress-classic/">WordPress Classic</a>, I have little to no knowledge in CSS that time and that&#8217;s the best thing I could come up with. It helped me get familiar with the CMS&#8217; templating system (man, I sound so pretentious) as well as taught me what this CSS shenanigan is. With Sweetcron, I used the Boxy Theme. As soon as you were able to stop the nauseous feeling whenever you see a PHP snippet, you&#8217;d realize that it&#8217;s pretty straightforward. </p>
<p><img src="https://i1.wp.com/tech-hive.com/wp-content/uploads/2009/09/Picture-3.png?resize=160%2C110" alt="Social Media" title="Social Media" class="alignright size-full wp-image-66" data-recalc-dims="1" /> I had a great time styling the individual boxes, it got a little confusing after a while though, what with all those accounts, so I made a separate file for each one of them like what you can see on the image, it made _activity_feeds.php less cluttered and made isolating the problem easier.
	</li>
<li>
<h2>Experiment</h2>
<p>I wanted to get just the image within the post because I&#8217;m not planning on directing people into the single page of every items and all I really want to show sometimes are the <a href="http://lastleaf.org/items/site/google.com">interior decors</a> I love. At first I used this: <code>&lt;?php echo $item-&gt;item_data[$item-&gt;get_feed_class()]['image']['m']?&gt;</code> which is something you need to call the images you uploaded in Flickr but won&#8217;t work anywhere else. Thankfully, somewhere in the _activity_feeds.php file is <code>&lt;?php echo $item-&gt;get_image()?&gt;</code> and that&#8217;s what I used for my Tumblr and Google Reader posts.</p>
<p>However, I don&#8217;t post images there all the time so I need a way to retrieve the text if the image doesn&#8217;t exist and so, there goes the only thing I&#8217;m good at, if-else statement:</p>
<pre>
<code>&lt;?php if ($item->get_image() == ''):?&gt;
     &lt;?php //display your text here ?&gt;
&lt;?php else: ?&gt;
     &lt;?php //and this is for your photo ?&gt;
&lt;?php endif; ?&gt;</code>
</pre>
</li>
<li>
<h2>Search and then ask</h2>
<p>I would&#8217;ve probably given up on Sweetcron the second time have I not found that <a href="http://net.tutsplus.com/misc/building-a-custom-lifestream-website-with-sweetcron/" title="Nettuts: Building a Custom Lifestream Website with Sweetcron">Nettuts tutorial</a>, all you really need to do is keep your cool if you can&#8217;t find a solution to your problem. And if you can&#8217;t find the solution through searching, go to the usergroup/website of the CMS.
</li>
</ul>
<p>Sweetcron is still new and AFAIK, there&#8217;s only one <a href="http://yongfook.com" title="Yongfook, developer of Sweetcron">developer</a> so it&#8217;s understandable if there&#8217;s no documentation on the site like: is there a way to retrieve the tags I added in my starred items in Google Reader? How do I truncate the title? (&lt;?php echo word_limiter($item-&gt;get_title(), 20) ?&gt; doesn&#8217;t work :() Is it possible that I could host the images in my own server instead of relying on other sites? However, the <a href="http://groups.google.com/group/sweetcron" title="Sweetcron Google Group">community</a> behind it is very, very friendly and you&#8217;re sure to find answers you&#8217;re looking for there, unless you&#8217;re too shy to ask for it. :P  In the end, go and get these <a style="text-decoration: none" href="https://sleeklens.com/product/the-starter-pack-lightroom-presets/"><font color="#555555">Sleeklens free presets</font></a> for your photoshop.</p>
]]></content:encoded>
			<wfw:commentRss>http://tech-hive.com/reviews/cms/on-creating-themes-and-going-out-of-your-comfort-zone-20091002/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<post-id xmlns="com-wordpress:feed-additions:1">63</post-id>	</item>
	</channel>
</rss>
