<?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>jc-designs.net &#187; Web Design</title>
	<atom:link href="http://jc-designs.net/blog/category/web-development/web-design/feed/" rel="self" type="application/rss+xml" />
	<link>http://jc-designs.net/blog</link>
	<description>jc-designs blog</description>
	<lastBuildDate>Fri, 03 Sep 2010 19:20:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>YSlow &amp; Minify&#8230;what it did for me&#8230;now you</title>
		<link>http://jc-designs.net/blog/2010/03/yslow-minify-what-it-did-for-me-now-you/</link>
		<comments>http://jc-designs.net/blog/2010/03/yslow-minify-what-it-did-for-me-now-you/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 03:27:23 +0000</pubDate>
		<dc:creator>jcDesigns</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[minify]]></category>

		<guid isPermaLink="false">http://jc-designs.net/blog/?p=218</guid>
		<description><![CDATA[Yslow is a Firefox addon, I suggest downloading it. It gives you all sorts of cool stats on how your website is performing. Such as, an overall Grade and score, and most importantly, the number of http requests and the total weight of your page.
After downloading Yslow, here was the stats of my home page [...]]]></description>
			<content:encoded><![CDATA[<p>Yslow is a Firefox addon, I suggest downloading it. It gives you all sorts of cool stats on how your website is performing. Such as, an overall Grade and score, and most importantly, the number of http requests and the total weight of your page.</p>
<p>After downloading Yslow, here was the stats of my home page (<a href="http://www.jc-designs.net">http://www.jc-designs.net</a>):</p>
<p><img class="left" src="http://jc-designs.net/newimages/siteStat1.jpg" alt="website stats1" /></p>
<p>Then, I downloaded something called Minify, which you can get <a href="http://code.google.com/p/minify/wiki/UserGuide">here</a>. It is a php script that combines all your css files into one, and all your js files into one. The directions are pretty easy.</p>
<p>Once you have downloaded it, put it on your server in the root directory, and open this url: http://yoursite.com/min/builder/.</p>
<p>You then add all of your css files, in the order you have them in. Be careful here&#8230;if you have any @import in your main css file, it will screw it up. Trust me, I found this out before I actually read the line that tells you that. Once you have all the files listed, click on update. It then gives you the html to use to replace the linked css files. Plus a line to add to one of the minifier config files. I know, sounds scary, but on that build page, it tells you exactly what to do. Then you do the same for the js files. </p>
<p>What does all that crap get you? Read on!</p>
<p><span id="more-218"></span></p>
<p>Well after I did this to my home page, here is what Yslow gave me for a performance score:</p>
<p><img class="left" src="http://jc-designs.net/newimages/siteStat2.jpg" alt="web stats 2" /></p>
<p>I went from a D grade, to a C. Dropped the number of http requests by 10, from 34 to 24, and my total weight went from 417.3k to 228.9k. Not freakin&#8217; bad for 10 minutes worth of work. I then went and updated the rest of my site.</p>
<p>Of course&#8230;I wanted to do this to my blog here&#8230;.but i can&#8217;t. Well, at least I don&#8217;t want to, cause I&#8217;m scare. For one, I can do nothing to my js scripts other than the file I wrote, but it is only 1.8k&#8230;not over worried. The other though is for a Wordpress plugin, and the other is actually linking to Google&#8217;s jQuery 1.4 min file. Not sure what I can do with those. So if anyone with experience in Wordpress and Minify can help me out, let me know. I also only have 2 css files &#8211; 1 for a plugin, and my main one. both are fairly small. I could reduce it with Minify, but I&#8217;m not into going through all my files again. I&#8217;m not even done with the blog yet, so maybe later.</p>
<p>Anyway, for the small amount I did, I hope you see the worth of both of these items.</p>
 <img src="http://jc-designs.net/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=218" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://jc-designs.net/blog/2010/03/yslow-minify-what-it-did-for-me-now-you/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zen Coding for Aptana&#8230;.nice little plugin!</title>
		<link>http://jc-designs.net/blog/2010/01/zen-coding-for-aptana-nice-little-plugin/</link>
		<comments>http://jc-designs.net/blog/2010/01/zen-coding-for-aptana-nice-little-plugin/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 03:57:17 +0000</pubDate>
		<dc:creator>jcDesigns</dc:creator>
				<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://jc-designs.net/blog/?p=104</guid>
		<description><![CDATA[So, I&#8217;m finally getting away from Dreamweaver. There is no point to using it anymore anyway, since I never use the design view. Sure it does some things well, and it is for sure the absolute best WYSIWYG editors out there. I&#8217;ll use it for some things, but from now on, I&#8217;m going with Aptana. [...]]]></description>
			<content:encoded><![CDATA[<p>So, I&#8217;m finally getting away from Dreamweaver. There is no point to using it anymore anyway, since I never use the design view. Sure it does some things well, and it is for sure the absolute best WYSIWYG editors out there. I&#8217;ll use it for some things, but from now on, I&#8217;m going with Aptana. Its free and very customizable. I like the way it handles CSS and Javascript. You can create a new project and choose what js libraries you want to include into it. Very cool.</p>
<p>Its not very intuitive, and I&#8217;ve had to get a lot of help, but all-in-all, I&#8217;m diggin&#8217; it. So, for those that actually already use it, this is for you.</p>
<p>Zen Coding is a nice little plugin with some real crap documentation. I only know how to do a few things with it so far, which I&#8217;ll let you know how to do.</p>
<p>First things first&#8230;.get the plugin <a href="http://code.google.com/p/zen-coding/downloads/list">here</a> (they have a ton of versions for different frameworks&#8230;including Dreamweaver.</p>
<p><span id="more-104"></span></p>
<p>Here is how to install it&#8230;follow this closely.</p>
<ol>
<li>Install EclipseMonkey using update site: http://download.eclipse.org/technology/dash/update (you can skip this step if you have Aptana installed)</li>
<li>Create top-level project in your current Eclipse workspace, name it, for example, zencoding</li>
<li>Create scripts folder inside newly created project</li>
<li>Extract contents of downloaded zip plugin into this folder.</li>
<li>Restart Eclipse/Aptana if needed</li>
</ol>
<p>Soooo&#8230;..what do you do with it? Let&#8217;s say you want divs with ids of: container, header, content, and footer. Click in the file you are working in where you want these to appear, and type this:</p>
<p>div#container&gt;div#header&gt;div#content</p>
<p>Select it, go to Scripts&gt;Zen Coding&gt;Expand Abbreviation&#8230;.and you get:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;color: #439AD0; font-weight: bold;">&lt;div id=&quot;container&quot;&gt;
    &lt;div id=&quot;header&quot;&gt;&lt;/div&gt;
&lt;/div&gt;</pre></div></div>

<p>Now lets say you actually wanted an unordered list with 5 list items containing a tags within the content div&#8230;.you would type this instead:</p>
<p>div#container&gt;div#header&gt;div#content&gt;ul&gt;li*5&gt;a</p>
<p>and you get:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;color: #439AD0; font-weight: bold;">&lt;div id=&quot;container&quot;&gt;
    &lt;div id=&quot;header&quot;&gt;
         &lt;div id=&quot;content&quot;&gt;
&lt;ul&gt;
    &lt;li&gt;&lt;a&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;</pre></div></div>

<p>Now, if you wanted a bunch of divs that were not children of each other, you would do this:</p>
<p>div#left+div#right</p>
<p>So&#8230;..the + is for non-children elements, &gt; is for children elemts, * is for multiple elements within an element.</p>
<p>At the moment, that is all I&#8217;ve worked through. I&#8217;ll add more as I find them out. Again, the documentation for this is garbage.</p>
<p>One thing to note, the shortcut keys were not what I wanted&#8230;.they were set to Command + whatever. I wanted Alt&#8230;.sooo  follow these instructions to change them:</p>
<p>&#8220;There&#8217;s a Key command describing current shortcut, which is M3+E in this case (M3 stands for Alt). Just change this shortcut and save the file.&#8221;</p>
<p>Well, mine was set to M4 when i installed it&#8230;so I actually changed it to M3. Which as it says, means Alt.</p>
<p>Have fun with it! And if you know more about it, please let me know.</p>
 <img src="http://jc-designs.net/blog/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=104" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://jc-designs.net/blog/2010/01/zen-coding-for-aptana-nice-little-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
