<?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>Mahbubur Rahman - jQuery, PHP, JavaScript, Codeigniter, CSS</title>
	<atom:link href="http://www.mahbubblog.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mahbubblog.com</link>
	<description>PHP, JQUERY, JAVASCRIPT fun</description>
	<lastBuildDate>Thu, 02 Jun 2011 09:28:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>A CSS3 404 Error Page for your Codeigniter Application</title>
		<link>http://www.mahbubblog.com/codeigniter/a-css3-404-error-page-for-your-codeigniter-application/</link>
		<comments>http://www.mahbubblog.com/codeigniter/a-css3-404-error-page-for-your-codeigniter-application/#comments</comments>
		<pubDate>Thu, 02 Jun 2011 08:11:55 +0000</pubDate>
		<dc:creator>Mahbub</dc:creator>
				<category><![CDATA[Codeigniter]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[design]]></category>

		<guid isPermaLink="false">http://www.mahbubblog.com/?p=318</guid>
		<description><![CDATA[How would this look ? Instead of the boring Want the Code ? There you go ! Just paste the  code in your application/errors/error404.php. &#60; ?php header(&#34;HTTP/1.1 404 Not Found&#34;); ?&#62; &#60; !DOCTYPE html PUBLIC &#34;-//W3C//DTD HTML 4.01 Transitional//EN&#34;&#62; &#60;html&#62;&#60;head&#62; &#60;meta http-equiv=&#34;content-type&#34; content=&#34;text/html;charset=ISO-8859-1&#34;&#62; &#60;title&#62;404 Not Found&#60;/title&#62; &#60;style type=&#34;text/css&#34; media=&#34;screen&#34;&#62; body { color: white; background-color: #AAA; [...]]]></description>
			<content:encoded><![CDATA[<p>How would this look ?</p>
<p><a href="http://www.mahbubblog.com/wp-content/uploads/2011/06/css3-404-ci.png"><img class="alignnone size-large wp-image-319" title="css3-404-ci" src="http://www.mahbubblog.com/wp-content/uploads/2011/06/css3-404-ci-1024x582.png" alt="CSS3 404 Error Page for Codeigniter" width="1024" height="582" /></a></p>
<p>Instead of the boring</p>
<p><a href="http://www.mahbubblog.com/wp-content/uploads/2011/06/boring-404.png"><img class="alignnone size-large wp-image-321" title="boring-404" src="http://www.mahbubblog.com/wp-content/uploads/2011/06/boring-404-1024x507.png" alt="Boring Codeigniter Error Page" width="1024" height="507" /></a></p>
<p>Want the Code ? There you go ! Just paste the  code in your application/errors/error404.php.</p>
<pre class="brush: php">
&lt; ?php header(&quot;HTTP/1.1 404 Not Found&quot;); ?&gt;
&lt; !DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;&lt;head&gt;
&lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html;charset=ISO-8859-1&quot;&gt;
&lt;title&gt;404 Not Found&lt;/title&gt;
&lt;style type=&quot;text/css&quot; media=&quot;screen&quot;&gt;
body
{
color: white;
background-color: #AAA;
margin: 0px;
font-family:&quot;Droid Sans&quot;,Arial;
}

#horizon
{
color: white;
background-color: #37AEB6;
text-align: center;
position: absolute;
top: 50%;
left: 0px;
width: 100%;
height: 0px;
overflow: visible;
visibility: visible;
display: block
}

#content
{
margin-left: -205px;
position: absolute;
top: -34px;
left: 50%;
width: 380px;
height: 60px;
padding:10px;
-moz-border-radius:5px;
-webkit-border-radius:5px;
-moz-box-shadow: 0 0 15px rgba(255,255,255,.9);
-webkit-box-shadow: 0 0 15px rgba(255,255,255,.9);
text-shadow: 0px 0px 1px #000;
visibility: visible;
background: rgb(155,0,0);
background:-webkit-gradient( linear, left bottom, left top, color-stop(0.24, rgb(250,0,0)), color-stop(0.89, rgb(128,20,20)) );
background:-moz-linear-gradient( center bottom, rgb(250,0,2) 24%, rgb(128,20,20) 89%);
}

.bodytext
{
font-weight:bold;
font-size: 13px;
text-transform:uppercase;
}

.headline
{
font-weight: normal;
font-size: 30px;
text-shadow: 0px 0px 4px #000;
line-height:38px;
}

a:link, a:visited
{
color: #06f;
text-decoration: none
}

a:hover
{
color: red;
text-decoration: none
}

.captions
{
color: white;
font-size: 10px;
line-height: 14px;
font-family: Verdana, Geneva, Arial, sans-serif;
text-align: left
}
&lt;/style&gt;
&lt;/meta&gt;&lt;/head&gt;
&lt;body&gt;
&lt;div id=&quot;horizon&quot;&gt;
&lt;div id=&quot;content&quot;&gt;
&lt;div class=&quot;bodytext&quot;&gt;
&lt;span class=&quot;headline&quot;&gt;404&lt;/span&gt;&lt;br /&gt;
Sorry, the page you&#039;re looking for is not found&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div id=&quot;footer&quot;&gt;

&lt;/div&gt;

&lt;/body&gt;&lt;/html&gt;
</pre>
<p>&nbsp;</p>
<p>There&#8217;s CSS3 Drop Shadow, Text Shadow and Gradient. Nowadays people are using latest browsers and it&#8217;s likely that people will see the page like the image for most of the popular browsers .</p>
<p>Of course you can use it for any 404 page for any PHP app OR if you like it you can even replace your apache 404 page (hosting specific) with this one [Just remove the php codes from top]</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mahbubblog.com/codeigniter/a-css3-404-error-page-for-your-codeigniter-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Internet Explorer 9 Review</title>
		<link>http://www.mahbubblog.com/browser/internet-explorer-9-review/</link>
		<comments>http://www.mahbubblog.com/browser/internet-explorer-9-review/#comments</comments>
		<pubDate>Thu, 16 Sep 2010 17:39:42 +0000</pubDate>
		<dc:creator>Mahbub</dc:creator>
				<category><![CDATA[Browser]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[CSS 3 Compatibility]]></category>
		<category><![CDATA[Font Embedding]]></category>
		<category><![CDATA[IE9]]></category>
		<category><![CDATA[Internet Explorer 9]]></category>

		<guid isPermaLink="false">http://www.mahbubblog.com/?p=287</guid>
		<description><![CDATA[Ok, so i got this news of Internet Explorer 9&#8242;s BETA release from Huffingtonpost.com and was quite curious to put it to some tests. Not that too much technical test and all those performance benchmarks &#8211; but from an average browser&#8217;s point of view. I don&#8217;t want to demoralize everyone at the very beginning with [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, so i got this news of Internet Explorer 9&#8242;s BETA release from Huffingtonpost.com and was quite curious to put it to some tests. Not that too much technical test and all those performance benchmarks &#8211; but from an average browser&#8217;s point of view. I don&#8217;t want to demoralize everyone at the very beginning with some negative comments. Let&#8217;s just try to be positive and compare with some other popular browsers (of course Fireforx, Chrome, Safari and Opera). And i don&#8217;t want to iterate things written in Microsoft&#8217;s site. They did it for IE 8 and their blazing fast JavaScript Engine but all those simply didn&#8217;t work for us (developers). None of us made IE as their default browser and from <a title="W3C Browser Statistics" href="http://www.w3schools.com/browsers/browsers_stats.asp" target="_blank">W3C&#8217;s browser stat page</a>, it doesn&#8217;t look quite promising for Microsoft.</p>
<p><br class="spacer_" /></p>
<p>Anyways, let&#8217;s just compare some sites in the new and so called Ambitious Browser <strong>- Microsoft Internet Explorer 9</strong></p>
<p><br class="spacer_" /></p>
<p>1. I begin with my very own blog. I recently embedded one of my favorite font (Titillium) as one of the best CSS3 feature. And i&#8217;m disappointed with IE9&#8242;s output. Look here.</p>
<p><br class="spacer_" /></p>
<table border="0" cellspacing="2" cellpadding="3">
<tbody>
<tr>
<td width="50%"><a href="http://www.mahbubblog.com/wp-content/uploads/2010/09/blog-ie9.png"><img title="blog-ie9" src="http://www.mahbubblog.com/wp-content/uploads/2010/09/blog-ie9-300x201.png" alt="www.mahbubblog.com in IE9" width="300" height="201" /></a>&nbsp;</p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<p>If you enlarge this image (clicking) you can see the header is plain Arial. And this is the IE9.</td>
<td valign="top"><a href="http://www.mahbubblog.com/wp-content/uploads/2010/09/blog-chrome.png"><img title="www.mahbubblog.com in Chrome" src="http://www.mahbubblog.com/wp-content/uploads/2010/09/blog-chrome-300x230.png" alt="www.mahbubblog.com in Chrome" width="300" height="230" /></a></p>
<p>And here comes the output from Chrome. Can you see the font rendering ? It&#8217;s almost perfect here. Firefox, Safari behaves the same. Why Microsoft Couldn&#8217;t do it in IE9 ?</td>
</tr>
</tbody>
</table>
<p style="text-align: center;">&nbsp;</p>
<p style="text-align: left;"><span id="more-287"></span>2. Now I went to some experiments in CSS3 in six <a href="http://sixrevisions.com/css/css3-demos-experiments/" target="_blank">revisions</a> and surprisingly none of them works.</p>
<p style="text-align: left;">3. One of the CSS experiments that has been so cool is a CSS CUBE which is here <a href="http://weblab.walliecreation.com/cube/index.html" target="_blank">http://weblab.walliecreation.com/cube/index.html</a>. And again it&#8217;s all messed up in IE9. You can clearly see the difference</p>
<table border="0" cellspacing="4" cellpadding="4">
<tbody>
<tr>
<td width="50%"><a href="http://www.mahbubblog.com/wp-content/uploads/2010/09/css-cube-chrome.jpg"><img class="alignnone size-medium wp-image-296" title="css-cube-chrome" src="http://www.mahbubblog.com/wp-content/uploads/2010/09/css-cube-chrome-300x230.jpg" alt="CSS CUBE in Chrome" width="300" height="230" /></a></td>
<td><a href="http://www.mahbubblog.com/wp-content/uploads/2010/09/css-cube-ie9.jpg"><img class="alignnone size-medium wp-image-297" title="css-cube-ie9" src="http://www.mahbubblog.com/wp-content/uploads/2010/09/css-cube-ie9-300x216.jpg" alt="CSS Cube in IE9" width="300" height="216" /></a></td>
</tr>
</tbody>
</table>
<p style="text-align: left;">4. Ok, been talking all issues with Display rendering and CSS3 rendering capability but then again to come closer to Firefox for debugging IE 9&#8242;s developer tool (which hasn&#8217;t quite improved since IE8) needs to be lot more robust. I have to admit, it&#8217;s a big step, but not quite there yet. Here&#8217;s how it looks.</p>
<p style="text-align: left;">&nbsp;</p>
<p style="text-align: left;"><a href="http://www.mahbubblog.com/wp-content/uploads/2010/09/developer_tools.png"><img class="alignnone size-medium wp-image-298" title="developer_tools" src="http://www.mahbubblog.com/wp-content/uploads/2010/09/developer_tools-300x96.png" alt="IE Developer Tool " width="300" height="96" /></a></p>
<p style="text-align: left;">&nbsp;</p>
<p style="text-align: left;">5. The UI is not competitive at all. Chrome, Firefox, Safari, Opera or even Maxthon has gone quite far. IE9 has failed to come beating even any of them.</p>
<p style="text-align: left;">&nbsp;</p>
<p style="text-align: left;">There will be much more if i go on and on and i&#8217;m sure it will not stand stronger than the other favorite ones. So the bottom line is &#8211; &#8220;Why release a major version without not having latest competitive features ?&#8221; We, the developers have to work a lot more just to make our sites compatible with IE. Now that we&#8217;re not considering IE6&#8242;s compatibility officially, who knows how many more lines we have to add to make our CSS close to others.</p>
<p style="text-align: left;">&nbsp;</p>
<p style="text-align: left;">There used be days (around 1998-2005) where I liked IE more than Netscape, Opera. It was so difficult even to make table layouts well in Netscape Navigator which IE (ver 4 and 5 at that time) was doing much and much better. But to hold the reputation it needed more effort and respect the other browser&#8217;s features. Microsoft failed very badly in the browser war.</p>
<p style="text-align: left;">&nbsp;</p>
<p style="text-align: left;">Last comment i would want to make is that overall, I&#8217;m not impressed at all with these release. It&#8217;s still beta but will not likely to solve all those glitches that i showed above in the next stable version.</p>
<p style="text-align: left;">&nbsp;</p>
<p style="text-align: left;">Once again,  my default browser is Chrome and Firefox.</p>
<p style="text-align: left;">&nbsp;</p>
<p style="text-align: left;"><strong>UPDATE : <a href="http://twitter.com/paulrouget">Paul Rouget</a> </strong>wrote a more detailed comparison about IE9. You may want to<a title="Is IE9 a modern browser?" href="http://people.mozilla.com/~prouget/ie9/"> check it out.</a></p>
<p style="text-align: left;">&nbsp;</p>
<hr />
]]></content:encoded>
			<wfw:commentRss>http://www.mahbubblog.com/browser/internet-explorer-9-review/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Review : Crystal Database Wrapper for PHP</title>
		<link>http://www.mahbubblog.com/php/review-crystal-database-wrapper-for-php/</link>
		<comments>http://www.mahbubblog.com/php/review-crystal-database-wrapper-for-php/#comments</comments>
		<pubDate>Tue, 07 Sep 2010 04:27:35 +0000</pubDate>
		<dc:creator>Mahbub</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Active Record]]></category>
		<category><![CDATA[MySQL Database Wrapper]]></category>
		<category><![CDATA[ORM]]></category>

		<guid isPermaLink="false">http://www.mahbubblog.com/?p=267</guid>
		<description><![CDATA[One of the sites i keep an eye on is greepit.com to know about some of the latest and coolest tools in web development. I came across this new Database Library or wrapper called Crystal database wrapper. The library really looks promising and in fact appears to be minimalistic as they claim. They also have [...]]]></description>
			<content:encoded><![CDATA[<div style="margin: 0 0 20px 0;">
<p><img class="alignleft size-full wp-image-268" style="margin-right: 10px; margin-left: 0px; margin-top: 0px; margin-bottom: 0px;" title="crystal-db" src="http://www.mahbubblog.com/wp-content/uploads/2010/09/crystal-db.png" alt="Crystal Database Wrapper for PHP" width="297" height="104" /><br />
 One of the sites i keep an eye on is greepit.com to know about some of the latest and coolest tools in web development. I came across this new Database Library or wrapper called <a title="Crystal Database Wrapper" href="http://crystal-project.net/" target="_blank">Crystal</a> database wrapper. The library really looks promising and in fact appears to be minimalistic as they claim. They also have a data validation module and manipulation module which is all you need to create basic to intermediate apps. From the <a title="Crystal User Guide" href="http://crystal-project.net/docs/0_4/" target="_blank">user guide</a> i looked at some of the examples of CRUD and i just felt it&#8217;s Active Record from Codeigniter. As i did a lot of Codeigniter sites so far, it just looked so comfortable to me. Just for an example.</p>
</div>
<p>
<pre class="brush: php">&lt;br /&gt;
 $db-&gt;select(&#039;products, clients&#039;)-&gt;from(&#039;table&#039;)&lt;br /&gt;
 // Produces SELECT `products`, `clients` FROM `table` - Available in Crystal 0.3&lt;/p&gt;

&lt;p&gt;$db-&gt;select(&#039;very_long_column_name :as column, products&#039;)-&gt;from(&#039;table&#039;)&lt;br /&gt;
 // Produces SELECT `very_long_column_name` AS `column, `products` FROM `table` -- Available in Crystal 0.3&lt;/p&gt;

&lt;p&gt;$db-&gt;select(array(&#039;products&#039;,&#039;clients&#039;)-&gt;from(&#039;table&#039;)&lt;br /&gt;
 // Produces SELECT `products`, `clients` FROM `table`&lt;/p&gt;

&lt;p&gt;// You can use string if you need single column&lt;br /&gt;
 $db-&gt;select(&#039;products&#039;)-&gt;from(&#039;table&#039;)&lt;br /&gt;
 // Produces SELECT `products` FROM `table`&lt;/p&gt;

&lt;p&gt;// OR if you need complex columns selection, you can skip Crystal&#039;s default parameter filtering&lt;br /&gt;
 $db-&gt;select(&#039;products, MAX(price), MIN(payment)&#039;, FALSE)&lt;br /&gt;
 // Produces SELECT products, MAX(price), MIN(payment)&lt;br /&gt;
 </pre>
</p>
<p><span id="more-267"></span></p>
<p>This is almost like the<a title="Codeigniter's Active Record Library" href="http://codeigniter.com/user_guide/database/active_record.html" target="_blank"> Active Record library of Codeigniter</a>. Actually even if we want to make a newer one, we&#8217;d have to use similar type of syntax because it&#8217;s intuitive. So NO HARM being similar to other libraries syntax <img src='http://www.mahbubblog.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  . If you have done much of Active Record in Codeigniter,  you can see all those examples are pretty familiar. The <a href="http://crystal-project.net/docs/0_4/data-validation/">db validation</a> sections looks cool too.</p>
<p>It&#8217;d will be very nice for projects which are not written using any framework. There were lot of projects i wish i had a better db wrapper like this when i didn&#8217;t want to use bulky adodb library. So for projects of that sort can be rescued with this library. And of course anyone can hook it into any Framework with a bit of more study.</p>
<p>The one statement on the site i have problem with is &#8220;<strong>Crystal was designed to replace framework specific database layers like Zend_Db and Codeigniter&#8217;s active record library and complex ORM&#8217;s like Doctrine</strong>&#8220;. I would kinda disagree to think like that because may be it can replace Active Record in Codeigniter or Zend_db in Zend Framework but tough to replace an <a href="http://en.wikipedia.org/wiki/Object-relational_mapping" target="_blank">ORM </a>like Doctrine. I&#8217;ve been doing Doctrine with Zend recently and a fan of it seeing the power of it and flexibility. To make something better than <a title="Doctrine Project Page" href="http://www.doctrine-project.org/" target="_blank">Doctrine </a>with all the things it is capable of, it could take years. And Crystal is not an ORM yet. But as an independent library, i pretty like the way it&#8217;s laid out.</p>
<p>So use it as it fits your need.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mahbubblog.com/php/review-crystal-database-wrapper-for-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zend Casts Video Download links</title>
		<link>http://www.mahbubblog.com/php/zend-casts-video-download-links/</link>
		<comments>http://www.mahbubblog.com/php/zend-casts-video-download-links/#comments</comments>
		<pubDate>Mon, 06 Sep 2010 13:53:36 +0000</pubDate>
		<dc:creator>Mahbub</dc:creator>
				<category><![CDATA[Php]]></category>
		<category><![CDATA[Zend]]></category>
		<category><![CDATA[doctrine]]></category>
		<category><![CDATA[zend framework]]></category>
		<category><![CDATA[zendcasts]]></category>

		<guid isPermaLink="false">http://www.mahbubblog.com/?p=255</guid>
		<description><![CDATA[I&#8217;ve been writing an Ajaxified App in Zend with Doctrine and was looking for some efficient ways or shortcuts to get a good grasp on Zend+Doctrine. It seemed a bit difficult in the beginning to integrate Doctrine in Zend Framework. Then i came across this huge resourceful site zendcasts.com where a massive number of Zend [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been writing an Ajaxified App in Zend with Doctrine and was looking for some efficient ways or shortcuts to get a good grasp on Zend+Doctrine. It seemed a bit difficult in the beginning to integrate Doctrine in Zend Framework. Then i came across this huge resourceful site <a href="http://www.zendcasts.com/">zendcasts.com</a> where a massive number of Zend Framework tutorial videos are there. Got 5 video tutorials related to Doctrine which are awesome. The best part is that there are corresponding project files hosted in google code for most of the screen casts. This is a huge help since you get ready made thing what you have just seen. Looking at the <a href="http://www.zendcasts.com/index/">index</a> there,  a treasure of zend videos popped up  by this nice guy - <a href="http://www.lebensold.net">Jon Lebensold</a>. Then i watched lot of those but wanted an offline ways to watch at my discretion. So i had to hack the video sources using firebug and prepared this list  to download the videos so that other people may download these videos and watch them offline. Here&#8217;s the list :</p>
<p>http://www.zendcasts.com/wp-content/uploads/2008/12/zc1-technology-overview-screen.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2008/12/zc2-setup-folders-for-zend-mvc-screen.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2008/12/zc3-creating-a-zend-index-file-screen.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2008/12/zc4-creating-controllers-screen.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2009/01/zc5-adding-a-doctype-and-stylesheet-with-zend-screen.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2008/12/zc6-using-blueprintcss-with-zend-screen.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2008/12/zc7-custom-routes-with-zend-controllers-screen.mov<br />
 <span id="more-255"></span></p>
<p>http://www.zendcasts.com/wp-content/uploads/2009/01/zc8-session-with-zend-screen.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2009/02/zc9-introducing-zend-form-part1-screen.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2009/02/zc10-introducing-zend-form-part2-screen.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2009/02/zc11-jquery-and-json-with-zend-controllers-screen.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2009/02/zc12-introducing_zend_view_helpers.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2009/03/zc13-zend_view_helpers_with_ajax-screen.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2009/03/zc14-zend_config_and_zend_http_client-screen.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2009/03/zc14-zend_view_partials-screen.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2009/04/zc15-creating-a-zf-project-with-svn-in-zend-studio-screen.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2009/04/zc16-creating-a-rest-webservice-and-client-with-zend-controller-screen.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2009/04/zc17-working-with-zend-and-bits-on-the-run-screen.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2009/04/zc18-introduction-to-zend-table-screen.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2009/04/zc19-introduction-to-zend-table-part-2-screen.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2009/05/zc20-one-to-many-with-zend-db-screen.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2008/12/zc21-bootstrapping-with-netbeans-screen.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2009/05/zc21-many-to-many-with-zend-form-and-zend-db-part-1.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2009/05/zc22-many-to-many-with-zend-form-and-zend-db-part-2-screen.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2009/05/zc23-looking-at-zend-tool-and-resources-in-1.8-screen.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2009/06/zc24-zend-navigation-menu-breadcrumb-and-sitemap-screen.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2009/06/zc25-unit-testing-in-1.8-screen.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2009/06/zc26-introducing-zend-acl-screen.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2009/06/zc27-getting-started-with-zend-framork-on-wamp-server-screen.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2009/06/zc28-zend-acl-reflection-authentication-screen.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2009/08/zc29-introducing-google-docs-spreadsheet-screen.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2009/08/zc30-debugging-zend-projects-with-firebug-screen.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2009/08/zc31-geotargetting-with-google-maps-web-service-screen.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2009/08/zc32-debugging-zend-projects-with-firebug-part2-screen.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2009/08/zc33-using-google-maps-with-zend-gdata.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2009/09/zc34-implementing-zend-cache-to-speed-up-web-services-desktop.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2009/10/zc35-protecting-assets-with-zend-controller-plugins-desktop.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2009/11/zc36-moving-bootstrap-code-to-config-desktop.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2009/11/zc37-introducing-zend-translate-desktop.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2010/02/zc45-introduction-to-zend-mail-desktop.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2010/02/zc47-zend-form-decorators-explained-desktop.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2010/02/zc48-creating-custom-decorators-desktop.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2010/03/zc49-composite-form-elements-desktop.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2010/03/zc50-preparing-custom-elements-for-zend-validators-desktop.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2010/03/zc51-encapsulating-business-rules-with-zend-validate-desktop.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2010/04/zc52-ajaxify-your-validation-with-jquery-desktop.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2010/04/zc53-integrating-zend-tool-into-your-application-desktop.mov</p>
<p>http://www.zendcasts.com/wp-content/uploads/2010/04/zc54-zend-tool-parsing-xml-from-zend-log-desktop.mov</p>
<p>http://zendcasts.com/wp-content/uploads/2010/06/zc55-transparent-logging-with-zend-log-desktop.mov<br />
http://zendcasts.com/wp-content/uploads/2010/06/zc56-painless-html-email-with-zend-mail-desktop.mov<br />
http://zendcasts.com/wp-content/uploads/2010/07/zc57-selectively-adding-css-to-your-page-desktop.mov<br />
http://www.zendcasts.com/wp-content/uploads/2010/07/zc58-working-with-zendx-jquery-desktop.mov<br />
http://zendcasts.com/wp-content/uploads/2010/07/zc59-autocomplete-with-zendx-jquery-desktop.mov<br />
http://zendcasts.com/wp-content/uploads/2010/09/zc60-introduction-to-zend-feed-writer-desktop.mov<br />
http://zendcasts.com/wp-content/uploads/2010/09/zc61-consuming-rss-feeds-desktop.mov<br />
http://zendcasts.com/wp-content/uploads/2010/10/zc62-unit-testing-models-desktop.mov</p>
<div>Be sure to checkout the original site zendcasts.com for some more related information and comments that might help you.</div>
<div>Oh, the 62 videos weighs about 4.3 Gigs altogether.</div>
<div>Enjoy the casts.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.mahbubblog.com/php/zend-casts-video-download-links/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2008/12/zc1-technology-overview-screen.mov" length="30981685" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2010/04/zc54-zend-tool-parsing-xml-from-zend-log-desktop.mov" length="122491077" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2010/04/zc53-integrating-zend-tool-into-your-application-desktop.mov" length="92396985" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2010/03/zc51-encapsulating-business-rules-with-zend-validate-desktop.mov" length="64959859" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2010/03/zc50-preparing-custom-elements-for-zend-validators-desktop.mov" length="34823963" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2010/02/zc48-creating-custom-decorators-desktop.mov" length="49478255" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2010/03/zc49-composite-form-elements-desktop.mov" length="89850645" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2010/02/zc47-zend-form-decorators-explained-desktop.mov" length="94670040" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2010/02/zc45-introduction-to-zend-mail-desktop.mov" length="55825097" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2009/11/zc37-introducing-zend-translate-desktop.mov" length="72536077" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2009/11/zc36-moving-bootstrap-code-to-config-desktop.mov" length="75389674" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2009/10/zc35-protecting-assets-with-zend-controller-plugins-desktop.mov" length="51468519" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2009/08/zc32-debugging-zend-projects-with-firebug-part2-screen.mov" length="119391454" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2009/08/zc31-geotargetting-with-google-maps-web-service-screen.mov" length="158704745" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2009/08/zc30-debugging-zend-projects-with-firebug-screen.mov" length="62483940" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2009/08/zc29-introducing-google-docs-spreadsheet-screen.mov" length="131703424" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2009/06/zc28-zend-acl-reflection-authentication-screen.mov" length="174325667" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2009/06/zc25-unit-testing-in-1.8-screen.mov" length="147713759" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2009/05/zc23-looking-at-zend-tool-and-resources-in-1.8-screen.mov" length="57753575" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2009/05/zc22-many-to-many-with-zend-form-and-zend-db-part-2-screen.mov" length="165025508" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2008/12/zc21-bootstrapping-with-netbeans-screen.mov" length="18530284" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2009/05/zc21-many-to-many-with-zend-form-and-zend-db-part-1.mov" length="121860089" type="video/quicktime" />
<enclosure url="http://zendcasts.com/wp-content/uploads/2010/10/zc62-unit-testing-models-desktop.mov" length="89662487" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2010/04/zc52-ajaxify-your-validation-with-jquery-desktop.mov" length="64083653" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2009/09/zc34-implementing-zend-cache-to-speed-up-web-services-desktop.mov" length="83373966" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2009/08/zc33-using-google-maps-with-zend-gdata.mov" length="150390401" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2009/06/zc27-getting-started-with-zend-framork-on-wamp-server-screen.mov" length="34015567" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2009/06/zc26-introducing-zend-acl-screen.mov" length="79952823" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2009/06/zc24-zend-navigation-menu-breadcrumb-and-sitemap-screen.mov" length="67021921" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2009/05/zc20-one-to-many-with-zend-db-screen.mov" length="185839206" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2009/04/zc19-introduction-to-zend-table-part-2-screen.mov" length="75065498" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2009/04/zc18-introduction-to-zend-table-screen.mov" length="102415121" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2009/04/zc17-working-with-zend-and-bits-on-the-run-screen.mov" length="145997928" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2009/04/zc16-creating-a-rest-webservice-and-client-with-zend-controller-screen.mov" length="155074723" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2009/04/zc15-creating-a-zf-project-with-svn-in-zend-studio-screen.mov" length="19474791" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2009/03/zc14-zend_view_partials-screen.mov" length="21323849" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2009/03/zc14-zend_config_and_zend_http_client-screen.mov" length="79467242" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2009/03/zc13-zend_view_helpers_with_ajax-screen.mov" length="59282670" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2009/02/zc12-introducing_zend_view_helpers.mov" length="39796500" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2009/02/zc11-jquery-and-json-with-zend-controllers-screen.mov" length="85916047" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2009/02/zc10-introducing-zend-form-part2-screen.mov" length="82873769" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2009/02/zc9-introducing-zend-form-part1-screen.mov" length="77777450" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2009/01/zc8-session-with-zend-screen.mov" length="21473273" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2008/12/zc7-custom-routes-with-zend-controllers-screen.mov" length="28131084" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2008/12/zc6-using-blueprintcss-with-zend-screen.mov" length="39051809" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2009/01/zc5-adding-a-doctype-and-stylesheet-with-zend-screen.mov" length="18856982" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2008/12/zc4-creating-controllers-screen.mov" length="45446433" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2008/12/zc3-creating-a-zend-index-file-screen.mov" length="23473651" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2008/12/zc2-setup-folders-for-zend-mvc-screen.mov" length="22264474" type="video/quicktime" />
<enclosure url="http://zendcasts.com/wp-content/uploads/2010/09/zc61-consuming-rss-feeds-desktop.mov" length="49738419" type="video/quicktime" />
<enclosure url="http://zendcasts.com/wp-content/uploads/2010/09/zc60-introduction-to-zend-feed-writer-desktop.mov" length="86785472" type="video/quicktime" />
<enclosure url="http://zendcasts.com/wp-content/uploads/2010/07/zc59-autocomplete-with-zendx-jquery-desktop.mov" length="51799150" type="video/quicktime" />
<enclosure url="http://www.zendcasts.com/wp-content/uploads/2010/07/zc58-working-with-zendx-jquery-desktop.mov" length="39849316" type="video/quicktime" />
<enclosure url="http://zendcasts.com/wp-content/uploads/2010/07/zc57-selectively-adding-css-to-your-page-desktop.mov" length="63073228" type="video/quicktime" />
<enclosure url="http://zendcasts.com/wp-content/uploads/2010/06/zc56-painless-html-email-with-zend-mail-desktop.mov" length="59189259" type="video/quicktime" />
<enclosure url="http://zendcasts.com/wp-content/uploads/2010/06/zc55-transparent-logging-with-zend-log-desktop.mov" length="48437666" type="video/quicktime" />
		</item>
		<item>
		<title>How to clear CYGWIN screen in Windows ?</title>
		<link>http://www.mahbubblog.com/miscellaneous/how-to-clear-cygwin-screen-in-windows/</link>
		<comments>http://www.mahbubblog.com/miscellaneous/how-to-clear-cygwin-screen-in-windows/#comments</comments>
		<pubDate>Thu, 03 Jun 2010 07:23:20 +0000</pubDate>
		<dc:creator>Mahbub</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[clearscreen]]></category>
		<category><![CDATA[cygwin]]></category>

		<guid isPermaLink="false">http://www.mahbubblog.com/miscellaneous/how-to-clear-cygwin-screen-in-windows/</guid>
		<description><![CDATA[This is just a small tip. A lot of us use CYGWIN as a port of *nix apps in windows to do various things. And we use different types of terminal like CMD on windows, Git-Bash or Konsole. Now the problem is, CYGWIN default (or even advanced) installation option doesn&#8217;t have &#8216;clear&#8217; command like we [...]]]></description>
			<content:encoded><![CDATA[<p>This is just a small tip. A lot of us use CYGWIN as a port of *nix apps in windows to do various things. And we use different types of terminal like CMD on windows, Git-Bash or Konsole. Now the problem is, CYGWIN default (or even advanced) installation option doesn&#8217;t have &#8216;clear&#8217; command like we have it in Linux. And it&#8217;s annoying esp. when we try a ls -l command and it fills up the screen. The undocumented feature of CYGWIN console is that it clears up the screen when you press CTRL+L.</p>
<p>So, use it when u need it <img src='http://www.mahbubblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.mahbubblog.com/miscellaneous/how-to-clear-cygwin-screen-in-windows/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Make your Family Tree with Google Visualization API</title>
		<link>http://www.mahbubblog.com/javascript/make-your-family-tree-with-google-visualization-api/</link>
		<comments>http://www.mahbubblog.com/javascript/make-your-family-tree-with-google-visualization-api/#comments</comments>
		<pubDate>Mon, 05 Apr 2010 06:58:21 +0000</pubDate>
		<dc:creator>Mahbub</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[family tree]]></category>
		<category><![CDATA[google chart api]]></category>
		<category><![CDATA[visualization]]></category>

		<guid isPermaLink="false">http://www.mahbubblog.com/?p=243</guid>
		<description><![CDATA[Ever wanted to build your family tree ? Hell I did, cuz I have records of last 10 generations (Yes, I’m not kidding). The list was maintained by my Grandfather who handed to my father some 15 years ago. Sounds filmy, huh ? Anyways, as we had that in pen and paper, i wanted to [...]]]></description>
			<content:encoded><![CDATA[<p>Ever wanted to build your family tree ? Hell I did, cuz I have records of last 10 generations (Yes, I’m not kidding). The list was maintained by my Grandfather who handed to my father some 15 years ago. Sounds filmy, huh ? Anyways, as we had that in pen and paper, i wanted to make program that generates it. I started JavaScript in late 1998 and in 2002 I wrote a script [only for IE <img src='http://www.mahbubblog.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  at that time ] which shows a family tree and the DB is easily updated from the source. You can run the script downloading from <a title="Family Tree" href="http://www.mahbubblog.com/wp-content/uploads/2010/04/Family_tree.zip">here</a>. I just checked it in IE and it seems to be working still after 8 years.</p>
<p>Yesterday, I was just browsing Google charts and visualization libraries to see if there’s any new thing since I saw them last time. And I saw this organization chart which can be used to build the family tree. So i just wanted to see how our 10 generations’ family looks like when putting them in Google’s visualization library. And it came out a really big horizontal one as you can see below.<br />
<a href="http://www.mahbubblog.com/wp-content/uploads/2010/04/family_tree_mahbub.png"><img class="size-full wp-image-244" title="Family Tree" src="http://www.mahbubblog.com/wp-content/uploads/2010/04/family_tree_mahbub.png" alt="Mahbub - Family Tree " width="600" /></a></p>
<p>Now, you can simply make your family tree using this API. It’s dead simple. Just see the couple of lines of code which is pretty self explanatory. I’m putting a little light here for easy understanding. So go and have fun creating your family tree and show it to your elderly persons, they might be happy seeing it.</p>
<p>To get started, just start with the sample code Google is providing here . http://code.google.com/apis/visualization/documentation/gallery/orgchart.html#Example</p>
<p>And if you look at how the database is being constructed, it&#8217;s very simple. For my BIG table i had the staring point like this</p>
<p><strong>data.addRows([<br />
['Kalu Khan','','1570'],<br />
['Ahsan Khan', 'Kalu Khan', ''],<br />
['Jharu Khan', 'Kalu Khan', ''],<br />
['Ajmat', 'Ahsan Khan', ''],</strong></p>
<p><strong>]);</strong></p>
<p>It means Kalu Khan is the root. The second Parameter is left blank which means it doesn&#8217;t have parent. Next you have to add Children node to it. The first parameter is the Children Name and second one is the Parent Name.</p>
<p>['Ahsan Khan', 'Kalu Khan', '']        &#8212;&#8212;&#8211;    Here Ahsan Khan is the Children and &#8216;Kalu Khan&#8217; is the parent. So just make the list for your family and save for next generations <img src='http://www.mahbubblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Oh, there&#8217;re some other options there as well like collapse / un-collapse and styling those nodes. Keep discovering..</p>
<p>And you can also see my 10 generations family db &#8212; <a href="http://www.mahbubblog.com/wp-content/uploads/2010/04/mahbub-family-tree.html">mahbub-family-tree</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mahbubblog.com/javascript/make-your-family-tree-with-google-visualization-api/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Designing a prescription pad for my friend</title>
		<link>http://www.mahbubblog.com/design/designing-a-prescription-pad-for-my-friend/</link>
		<comments>http://www.mahbubblog.com/design/designing-a-prescription-pad-for-my-friend/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 00:47:12 +0000</pubDate>
		<dc:creator>Mahbub</dc:creator>
				<category><![CDATA[design]]></category>
		<category><![CDATA[prescription pad]]></category>

		<guid isPermaLink="false">http://www.mahbubblog.com/?p=219</guid>
		<description><![CDATA[It&#8217;s been quite a long time since i designed for some print materials. One of my best friends from elementary &#38; high school (&#38; still is) requested me to design his prescription pad for him because his current one looks horrible. He&#8217;s a general physician and a very good orthopaedic surgeon.  So i thought i&#8217;d [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been quite a long time since i designed for some print materials. One of my best friends from elementary &amp; high school (&amp; still is) requested me to design his prescription pad for him because his current one looks horrible. He&#8217;s a general physician and a very good orthopaedic surgeon.  So i thought i&#8217;d give a try for my friend&#8217;s prescription and this came up after a 2 hr effort.</p>
<p><a href="http://www.mahbubblog.com/wp-content/uploads/2010/02/prescription_pad.jpg"><img class="alignnone size-full wp-image-220" title="prescription" src="http://www.mahbubblog.com/wp-content/uploads/2010/02/prescription.jpg" alt="prescription pad " width="600" height="600" /></a></p>
<p>I used two of my favorite fonts called &#8220;Square 721 BT&#8221; and Titillium. Google it if you want to download them. And it&#8217;s the first composition with Adobe Illustrator CS4 after doing anything with CS2.</p>
<p>Leave me a comment if you want the source AI or EPS file.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mahbubblog.com/design/designing-a-prescription-pad-for-my-friend/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Auto Resize Large Images in Blog Post</title>
		<link>http://www.mahbubblog.com/css/auto-resize-large-images-in-blog-post/</link>
		<comments>http://www.mahbubblog.com/css/auto-resize-large-images-in-blog-post/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 06:52:55 +0000</pubDate>
		<dc:creator>Mahbub</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[autoresize]]></category>
		<category><![CDATA[image resize]]></category>
		<category><![CDATA[large image]]></category>

		<guid isPermaLink="false">http://www.mahbubblog.com/?p=216</guid>
		<description><![CDATA[I ran into this problem recently and found a good fix. As we make custom CMS, blogs as parts of websites, we frequently use some WYSIWYG editors like TINYMCE. Now when you enable people to post contents along with image urls, people may enter an image url which possibly is much larger than the available [...]]]></description>
			<content:encoded><![CDATA[<p>I ran into this problem recently and found a good fix. As we make custom CMS, blogs as parts of websites, we frequently use some WYSIWYG editors like TINYMCE. Now when you enable people to post contents along with image urls, people may enter an image url which possibly is much larger than the available width we have in the page layout. Perhaps most of the images may become larger as we would only get around 650px of width when we are using 960px standard layout with some sort of sidebars.</p>
<p>So the user&#8217;s posted image in the blog post may overflow the layout. What to do then ??</p>
<p>1. We want to keep the image within the available width (may be 600px).</p>
<p>2. We also want to keep the aspect ratio intact so that the dimension doesn&#8217;t get messed up.</p>
<p>After googling in some pages I had to combine the CSS solution which works for most of the modern browsers (certainly not IE6).</p>
<p>So here&#8217;s the neat solution totally in CSS.</p>
<p><span style="font-family: courier new,courier;">#post_view img {</span></p>
<p>max-width: 620px;</p>
<p>height: auto !important;</p>
<p>width: expression(this.width &gt; 620 ? 620: true);</p>
<p>}</p>
<p>The above snippet assumes that your ID for the container (i.e DIV) is post_view. I&#8217;d discourage using class here because ID has a higher order of preference when it comes to override CSS rules.</p>
<p>So, all the image who exceeds the width of 620px will be automatically resized to 620px. Images below 620px will not be affected at all. The height: auto !important; will keep the aspect ratio of the image to the original ratio.</p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p><strong>Compatibility: </strong></p>
<p>Firefox 3</p>
<p>Opera 10</p>
<p>IE 7 (I don&#8217;t care if it works in IE 6 or not)</p>
<p>Chrome</p>
<p>Safari 4 (win) [ Don't know about Mac cuz i don't have any <img src='http://www.mahbubblog.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  ]</p>
<h2><strong>EXAMPLE :</strong></h2>
<div id="post_view"><img title="429917" src="/wp-content/uploads/2010/02/429917.jpg" alt="example image" /></div>
]]></content:encoded>
			<wfw:commentRss>http://www.mahbubblog.com/css/auto-resize-large-images-in-blog-post/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Interview for PHP programmer</title>
		<link>http://www.mahbubblog.com/php/interview-for-php-programmer/</link>
		<comments>http://www.mahbubblog.com/php/interview-for-php-programmer/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 13:01:03 +0000</pubDate>
		<dc:creator>Mahbub</dc:creator>
				<category><![CDATA[Career]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[interview]]></category>
		<category><![CDATA[php programmers]]></category>
		<category><![CDATA[recruitment]]></category>

		<guid isPermaLink="false">http://www.mahbubblog.com/?p=213</guid>
		<description><![CDATA[So, in Blueliner Bangladesh, we needed some PHP programmers in the coming months. I almost took over 20  interviews from screened out CVs and found some good candidates. There&#8217;s some points we&#8217;d like the programmers of this country to be concerned about. Here are some of my observations and recommendations. You have to learn yourself. [...]]]></description>
			<content:encoded><![CDATA[<p>So, in Blueliner Bangladesh, we needed some PHP programmers in the coming months. I almost took over 20  interviews from screened out CVs and found some good candidates. There&#8217;s some points we&#8217;d like the programmers of this country to be concerned about. Here are some of my observations and recommendations.</p>
<p><strong>You have to learn yourself. Company may not give the opportunity!</strong></p>
<p>This is one of the most common pitfalls i found in this recruitment drive. Most people complain that they don&#8217;t get enough time to learn about the latest tools and technologies. But the thing is, It&#8217;s your career! the companies will always try to get the best out of you within shortest possible budget and time. And at the same time you have to enrich yourself not only through the projects you get but also with some voluntary open source projects. What most companies don&#8217;t realize that, if the programmers are not given some room to do R&amp;D, it&#8217;s eventually the organization who will lose by compromising with the standards of the programmer against budget. And the programmers are not updates with the latest tools technologies. So, guys! you have to take some personal effort to play with the newer things. Even if you don&#8217;t get a minute in the workplace, find some time at home to do some R&amp;D. It will pay off inshAllah.</p>
<p><strong>Ability to do things VS Ability to do things with Art</strong>.</p>
<p>There are hell lot of renowned Javascript programmers but how many do we know? John Resig, Jack Slocum, Remy Sharp and so on. Why do we know them ? Because they did something which others didn&#8217;t. They did things with Art for which we know them. So all the promising programmers, please concentrate on doing thing with Art. If you know jQuery, learn how it works, who&#8217;re the people behind it, follow them on twitter, read their blogs. Let alone <a href="http://ejohn.org/">John Resig&#8217;s Blog</a> can give you a very good insight what&#8217;s being cooked for the next generation javascripts. BE detail oriented about things you play everyday with. You&#8217;ll always be appreciated for things you want to do not &#8220;things you had to do&#8221;.</p>
<p><strong>Object Oriented Programming</strong></p>
<p>PHP had been very lose in standards and conventions when it comes to Object Oriented Programming. The recent releases of PHP are much more matured that it used to be in the past. I started in 2000. We can do lot of things without even following the standard way. But dear PHP programmers, better companies or promising companies will take you because you&#8217;ll make some magical changes, add some new dimensions in the organization. So please be very clear and efficient about Object Oriented Concepts and way of doing those things in PHP. There&#8217;s a difference between a programmer who declares a class &#8220;abstract&#8221; knowing when it&#8217;s needed and a programmer who knows OOP but doesn&#8217;t want to declare the class abstract. PHP is not at the pick of it&#8217;s maturity. So try to discover which things are absent in OO PHP which are there in other languages (C++,Java, Ruby).</p>
<p><strong>Have some publishing activities</strong></p>
<p>To present yourself as a passionate programmer, you gotta have a blog or some sort of publishing which is visible on the WWW. If you have a blog and you write about things you play with, problems, time saving solutions, it will help you a lot getting the attention as a good, focused and passionate programmers. So start your blog now if you don&#8217;t have one. It takes a little time to get used to with some writing habit.</p>
<p><strong>Care more on the CV</strong></p>
<p>May people simply flooded of with bunch of tools and technologies. Many of cv looked like they are Jack of All trades. But hardly anyone was proficient in all they mentioned. So please, do not put items on which you don&#8217;t have substantial hold of and just for the sake of filling up CV. If you write you are good at Javascript, expect advanced level questions from JS. If you write &#8220;Good in OOP&#8221; , expect higher level questions from OOP.  Make the CV withing 3 pages maximum. It irritates the interviewer when people have long descriptions about each project you have worked on.</p>
<p>There are other points i wanted to write but the post will become longer than the comfortable or acceptable length. So i&#8217;ll share some more next hopefully.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mahbubblog.com/php/interview-for-php-programmer/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Sorting table columns in mysql by adminer</title>
		<link>http://www.mahbubblog.com/php/sorting-table-columns-in-mysql-by-adminer/</link>
		<comments>http://www.mahbubblog.com/php/sorting-table-columns-in-mysql-by-adminer/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 05:16:13 +0000</pubDate>
		<dc:creator>Mahbub</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://www.mahbubblog.com/?p=207</guid>
		<description><![CDATA[Sorting columns in a mysql table has always been a nasty way to deal with. It can be done some sql commands of course but this is not what we do more often. Even the most popular DB admin package &#8211; phpmyadmin doesn&#8217;t provide such utility to sort or re-arrange fields in mysql. It occurred [...]]]></description>
			<content:encoded><![CDATA[<p>Sorting columns in a mysql table has always been a nasty way to deal with. It can be done some sql commands of course but this is not what we do more often. Even the most popular DB admin package &#8211; phpmyadmin doesn&#8217;t provide such utility to sort or re-arrange fields in mysql. It occurred to me a lot of times that i had to bring some filed to a different position for convenience after i first created it. But i had to run some queries which i never liked, to do this task.</p>
<p>So ADMINER (formerly phpminadmin) comes up with a nifty utility in their one file standalone package.</p>
<p>If you haven&#8217;t heard of Adminer yet (you must have missed a great tool),  download from http://www.adminer.org/en/</p>
<p>And run it from your web server from any location. After entering credentials and selecting database, just select a table from the left which appears like this.</p>
<p><a href="http://www.mahbubblog.com/wp-content/uploads/2009/09/adminer_table_select.jpg"><img class="alignnone size-medium wp-image-208" title="adminer_table_select" src="http://www.mahbubblog.com/wp-content/uploads/2009/09/adminer_table_select-300x157.jpg" alt="adminer_table_select" width="300" height="157" /></a></p>
<p>Now you get some options like &#8211; Alter table   |   Default values  |   Select table  |  New item</p>
<p>Select Alter Table and you get a screen like this</p>
<p><a style="text-decoration: none; color: #cc6600; padding: 0px; margin: 0px; border: 0px initial initial;" href="http://www.mahbubblog.com/wp-content/uploads/2009/09/adminer.jpg"><img style="text-align: center; padding: 0px; margin: 0px; border: 0px none initial;" title="adminer" src="http://www.mahbubblog.com/wp-content/uploads/2009/09/adminer-300x117.jpg" alt="adminer" width="300" height="117" /></a></p>
<p>Alright, you pretty know what to do with those up and down arrows now. Don&#8217;t forget to save the changes <img src='http://www.mahbubblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.mahbubblog.com/php/sorting-table-columns-in-mysql-by-adminer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

