<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>hasan&#039;s blog (বল্গ) &#187; PHP</title>
	<atom:link href="http://we4tech.wordpress.com/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://we4tech.wordpress.com</link>
	<description>work for fun!!!</description>
	<lastBuildDate>Wed, 25 Jan 2012 11:56:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='we4tech.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/77f5f3e5f84d83c83da12540728f5cb3?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>hasan&#039;s blog (বল্গ) &#187; PHP</title>
		<link>http://we4tech.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://we4tech.wordpress.com/osd.xml" title="hasan&#039;s blog (বল্গ)" />
	<atom:link rel='hub' href='http://we4tech.wordpress.com/?pushpress=hub'/>
		<item>
		<title>PhpXperts seminar 2010 a great success!</title>
		<link>http://we4tech.wordpress.com/2010/11/08/phpxperts-seminar-2010-a-great-success/</link>
		<comments>http://we4tech.wordpress.com/2010/11/08/phpxperts-seminar-2010-a-great-success/#comments</comments>
		<pubDate>Mon, 08 Nov 2010 06:57:23 +0000</pubDate>
		<dc:creator>nhm tanveer hossain khan</dc:creator>
				<category><![CDATA[cassandra]]></category>
		<category><![CDATA[Introduction]]></category>
		<category><![CDATA[noSQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[seminar]]></category>
		<category><![CDATA[structured storage]]></category>

		<guid isPermaLink="false">http://we4tech.wordpress.com/?p=600</guid>
		<description><![CDATA[Being part of it, i&#8217;ve been thinking how perfectly it was crafted, it was so mind blowing that I couldn&#8217;t even think how could it be so short. So many interesting topics so many passionate speakers just ignited each of us. Their passionate talk just gave us hope that we can MAKE IT! PhpXperts 2010 &#8230; <a href="http://we4tech.wordpress.com/2010/11/08/phpxperts-seminar-2010-a-great-success/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=we4tech.wordpress.com&amp;blog=537526&amp;post=600&amp;subd=we4tech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Being part of it, i&#8217;ve been thinking how perfectly it was crafted, it was so mind blowing that I couldn&#8217;t even think how could it be so short. So many interesting topics so many passionate speakers just ignited each of us. Their passionate talk just gave us hope that we can MAKE IT!</p>
<p>PhpXperts 2010 proved once again, Bangladesh is the nation where we have plenty of technologically skilled talents. All we were just waiting for leadership. If we can get space, get air and light we can even grow faster than any.</p>
<p>So being active speaker of phpXperts seminar since 2005, i&#8217;ve been awarded once again getting chance to be there. Though being de-touched from PHP community, I didn&#8217;t feel that i&#8217;m no longer part of it. like always phpXperts community is always a place I feel second home. Because of it&#8217;s gearing persons in background.</p>
<p>So one fine day I was called by hasin bhai, he informed me about the new event. So when he asked for my topic. He also mentioned me, “hasan I wanna get some techy stuffs from you this time <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ”<br />
well, I used to give techy speech but recently I turn to be a motivator speaker due to seeing enough lacking here in our IT industry. I believe, everyone can do whatever they wanna do but they need room to grow up!.</p>
<p>Thanks goes to hasin bhai and his team and sponsors to let it be what it has ended up being <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>These are the few things I loved this time -</p>
<ul>
<li> Allowing companies to sponsor</li>
<li> Passionate venue (brac university seminar room)</li>
<li> Load of topics</li>
<li> So many new speakers</li>
<li> Exciting and passionate talks</li>
<li> Load of audience</li>
<li> Audience active participation</li>
<li> Online video streaming</li>
</ul>
<p>Few suggestions for next event -</p>
<ul>
<li> Splitting event into 2 days long</li>
<li> Choosing a bit larger space</li>
<li> Asking sponsor companies to bring their best to present on a small sponsor&#8217;s showroom.</li>
<li> Inviting foreign guest</li>
<li> Having phpXperts feast or other events (which might require ticket) where we could have barbeque and dinner together and IT chit chat.</li>
<li> Open career hunting panel (so at the end of the event some of them might be awarded by their final job interview)</li>
</ul>
<p>My presentation on “CodeMan! NoSQL!”</p>
<iframe src='http://www.slideshare.net/slideshow/embed_code/5690902' width='510' height='418'></iframe>
<p>you can download the source file <a href="https://github.com/WellTreatUs/php_cassandra_example">here</a>.</p>
<p>best wishes</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/we4tech.wordpress.com/600/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/we4tech.wordpress.com/600/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/we4tech.wordpress.com/600/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/we4tech.wordpress.com/600/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/we4tech.wordpress.com/600/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/we4tech.wordpress.com/600/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/we4tech.wordpress.com/600/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/we4tech.wordpress.com/600/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/we4tech.wordpress.com/600/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/we4tech.wordpress.com/600/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/we4tech.wordpress.com/600/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/we4tech.wordpress.com/600/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/we4tech.wordpress.com/600/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/we4tech.wordpress.com/600/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=we4tech.wordpress.com&amp;blog=537526&amp;post=600&amp;subd=we4tech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://we4tech.wordpress.com/2010/11/08/phpxperts-seminar-2010-a-great-success/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		<georss:point>23.709921 90.407143</georss:point>
		<geo:lat>23.709921</geo:lat>
		<geo:long>90.407143</geo:long>
		<media:content url="http://0.gravatar.com/avatar/4bb774de244da2d6e7f39a189b905077?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hasan</media:title>
		</media:content>
	</item>
		<item>
		<title>EiD recipe special : few conventions and best practice for software developer</title>
		<link>http://we4tech.wordpress.com/2007/10/15/eid-recipe-special-few-conventions-and-best-practice-for-software-developer/</link>
		<comments>http://we4tech.wordpress.com/2007/10/15/eid-recipe-special-few-conventions-and-best-practice-for-software-developer/#comments</comments>
		<pubDate>Mon, 15 Oct 2007 07:54:42 +0000</pubDate>
		<dc:creator>nhm tanveer hossain khan</dc:creator>
				<category><![CDATA[best practice]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://hasan.we4tech.com/eid-recipe-special-few-conventions-and-best-practice-for-software-developer</guid>
		<description><![CDATA[i just gathered a few of my known conventions and best practices. i belief this will help many of us. few of my previously written posts - usages of &#8220;final&#8221; keyword in java - http://www.somewhereinblog.net/blog/hasan/28708715 usages of comment and coding http://www.somewhereinblog.net/blog/hasan/28704020 let&#8217;s check out my recipes - 1. code from your peer developer perspective view. &#8230; <a href="http://we4tech.wordpress.com/2007/10/15/eid-recipe-special-few-conventions-and-best-practice-for-software-developer/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=we4tech.wordpress.com&amp;blog=537526&amp;post=369&amp;subd=we4tech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>i just gathered a few of my known conventions and best practices. i belief this will help many of us.</p>
<blockquote><p>
few of my previously written posts -<br />
usages of &#8220;final&#8221; keyword in java -</p>
<p>http://www.somewhereinblog.net/blog/hasan/28708715</p>
</p>
</blockquote>
<blockquote><p>
usages of comment and coding<br />
http://www.somewhereinblog.net/blog/hasan/28704020</p>
</p>
</blockquote>
<p>let&#8217;s check out my recipes -</p>
<p><strong> 1. code from your peer developer perspective view.</strong><br />
while you writing your code, always think your code will be reviewed by some other developers, who is not like you,<br />
who is very serious in simple fault and ignorance in writing code. your code will reflect who you are, so better be careful while you exposing yourselves (through writing code).</p>
<p><strong>2. variable convention -</strong><br />
never write short variable name, always write variable which reflects it usages.<br />
for example -</p>
<blockquote><p>
$user = new User() instead of $u = new User(). follow same convention when you have nested &#8220;loop&#8221;</p>
</p>
</blockquote>
<p><strong>3. source file naming convention (except java)</strong><br />
set your file name in such a way that will reflect the usages of the file.<br />
for example -</p>
<blockquote><p>
verify_user_authentication.php (or in a packaging manner &#8211; user_util_verify_authentication.php). in java you better know how to write package.</p>
</p>
</blockquote>
<p><strong><br />
4. keep your url domain centric</strong><br />
all urls should be inherited by some specific problem domain for example -</p>
<blockquote><p>http://abc.com/user/login</p>
<p>http://abc.com/user/register</p>
<p>http://abc.com/user/update</p>
</p>
</blockquote>
<p>here &#8220;user&#8221; is problem domain and &#8220;login|register|update&#8221; are actions or you could say problem.</p>
<p><strong>5. method naming convention -</strong><br />
write method name in such a format that will reflect it usages. or simply make it self describing.<br />
for example -</p>
<blockquote><p>
<strong>function</strong> verify_user_credentials() {}<br />
<strong>def</strong> verify_whether_user_profile_is_complete() {}<br />
<strong>private</strong> void checkUserFlyLimit() {}</p>
</p>
</blockquote>
<p><strong>6. don&#8217;t write query from controller:</strong><br />
build or execute query from DAO or helper or utility or domain itself. don&#8217;t put it over controller which limits the reuability and later extendability and interception</p>
<p><strong>7. single concern</strong><br />
while coding, keep your method slim and less concerned about other implementation. for example -</p>
<blockquote><p>
private void isAuthorizedUser(pUser, pAction) {<br />
if (userAlreadyLoggedOn(pUser) &amp;&amp; userIsNotBlocked(pUser) &amp;&amp; userHasPermission(pUser, pAction)) {<br />
// boooooooooooooooomm&#8230;<br />
}<br />
}</p>
</p>
</blockquote>
<p><strong>8. think from testability</strong><br />
while writing your code always think from testable perspective view. this means, how you could testify your work or module<br />
or bunch of code which your company is paying for.</p>
<p><strong>9. follow coding norms -</strong><br />
i. think before coding</p>
<blockquote><p>
whatever you want to put on your code try to think or imagine before start coding.</p>
</p>
</blockquote>
<p>ii. dump your think in comment</p>
<blockquote><p>
whatever you thought just write it down over comment or paper or in a common place where you or future developers could have look on. (better place in comment)</p>
</p>
</blockquote>
<p>iii. write your algorithm in comment.</p>
<blockquote><p>
whatever you planned write in comment before kick start your coding.</p>
</p>
</blockquote>
<p>iv. set up your unit test case.</p>
<blockquote><p>
find all probable assertion points from use case, put them over your unit test case.</p>
</p>
</blockquote>
<p>v. write your code<br />
vi. coding routine -</p>
<blockquote><p>
(1) test -&gt; (2) code &#8211; go to &gt; (1) [recursively]</p>
</p>
</blockquote>
<p><strong>10. always put your tag over the source file,</strong><br />
whatever you wrote, that reflects your confident and work efficiency, so better you tag your name over every source code you have written or modified. good for tech lead or project manager, because tagging each file with author name, it creates a hidden responsibility for the author <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  good for both parties.<br />
for example -</p>
<blockquote><p>
/**<br />
* @author someone<br />
*/</p>
</p>
</blockquote>
<p><!--7e470a64f907b914df4ea1da80ed7076--></p>
</p>
<p><!--8a66c7a17469a1d33340db5a4d3efca1-->
</p>
<p><!--f94b42ad9fc910c14d38c03db3aa3cd7--></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/we4tech.wordpress.com/369/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/we4tech.wordpress.com/369/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/we4tech.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/we4tech.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/we4tech.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/we4tech.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/we4tech.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/we4tech.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/we4tech.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/we4tech.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/we4tech.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/we4tech.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/we4tech.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/we4tech.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/we4tech.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/we4tech.wordpress.com/369/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=we4tech.wordpress.com&amp;blog=537526&amp;post=369&amp;subd=we4tech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://we4tech.wordpress.com/2007/10/15/eid-recipe-special-few-conventions-and-best-practice-for-software-developer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4bb774de244da2d6e7f39a189b905077?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hasan</media:title>
		</media:content>
	</item>
		<item>
		<title>My adds on &#8211; &#8220;Just PHP will give you nothing… unless you upgrade yourself&#8221;</title>
		<link>http://we4tech.wordpress.com/2007/01/26/my-adds-on-just-php-will-give-you-nothing/</link>
		<comments>http://we4tech.wordpress.com/2007/01/26/my-adds-on-just-php-will-give-you-nothing/#comments</comments>
		<pubDate>Thu, 25 Jan 2007 21:11:16 +0000</pubDate>
		<dc:creator>nhm tanveer hossain khan</dc:creator>
				<category><![CDATA[comment]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://hasan.we4tech.com/316</guid>
		<description><![CDATA[Recently i was reading an article from Hasin bhai, which is titled &#8220;Just PHP will give you nothing, unless you upgrade yourself&#8221; here is my comment on hasin bhai&#8217;s post wow hasin bhai, nice write up. Bro i wanna add up few topics which are leaking in most of the php developers. i belief most &#8230; <a href="http://we4tech.wordpress.com/2007/01/26/my-adds-on-just-php-will-give-you-nothing/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=we4tech.wordpress.com&amp;blog=537526&amp;post=299&amp;subd=we4tech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Recently i was reading an article from <a href="http://hasin.wordpress.com">Hasin bhai</a>,<br />
which is titled <a href="http://hasin.wordpress.com/2007/01/25/just-php-gives-you-nothing-unless-you-upgrade-yourself/#comment-5844">&#8220;Just PHP will give you nothing, unless you upgrade yourself&#8221;</a><br />
<em><strong>here is my comment on hasin bhai&#8217;s post</strong></em></p>
<blockquote><p><strong><em> wow hasin bhai, nice write up.</em></strong><br />
Bro i wanna add up few topics which are leaking in most of the php developers. i belief most of the PHP developers are producing dirty fast code (not 30th first night <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ) it is because of the following reasons:<br />
(my suggestion are enclosed with in ‘&#8211;&gt;’ context)</p>
<p>1. <strong>less concentration of DRY (Don&#8217;t Repeat Yourself)</strong><br />
&#8211;&gt; Create each fragment as reusable module (for example: latest_comments.php, latest_user.php, latest_news.php etc..)</p>
<p>2. <strong>Search those code which u have written more than once</strong><br />
&#8211;&gt; Separate them. (keep them in separate reusable file)</p>
<p>3. <strong>Keep your business logic away from presentation layer</strong><br />
&#8211;&gt; you don&#8217;t need to follow any strict design pattern like MVC, MVP. just plain solution is enough. Use php class to manage your business rules.</p>
<p>4. <strong>Use any good framework,</strong> it doesn’t mean you have to use java or Ruby on rails like framework. Better go for simple and productive framework.</p>
<p>5. <strong>Use library from trusted parties</strong> (hope zend is growing up its huge libraries on many aspect), PEAR is obviously great choice.</p>
<p>6. <strong>Don’t think all running web application is 100% accurate</strong>, and never ever grab their design and code. Better use your own sense and create a colorful stuff… meet your own client requirements.</p>
<p>7. <strong>Don&#8217;t mix up PHP with java </strong>or these kinda technologies<br />
&#8211;&gt; The way php works and the way Java works are not same, and better not compare both. Never ever try to implement all design patterns which are successful on Java EE platform. PHP is great for its simplicity. Java is great for its complexity.</p>
<p>8. <strong>Go for better object orientation</strong>, but it doesn&#8217;t mean you have to restrict everything with in a bunch of classes.<br />
&#8211;&gt; PHP is not intended to develop for this purpose. Rather follow php related performance tuning stuff.</p>
<p>9. <strong>Always keep your data access layer</strong> separate from raw or presentational php coding</p>
<p>10. <strong>Always go through open source projects</strong>, where you can learn how big projects are managed by human beings.</p>
<p><em><strong> My few suggestions:</strong></em><br />
1. <strong>Keep a separate file</strong> for all SQL queries. for example:<br />
(#) file: sql_index.php<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
$select_users = &#8216;select * from User&#8217;;<br />
$delete_user_by_id = &#8216;delete from User where userID=?&#8217;;</p>
<p>$select_comments = &#8216;select * from Comment&#8217;;<br />
$delete_comments = &#8216;delete from Comment&#8217;;</p>
<p>(#) file: sample_usages.php<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
&#8230;..<br />
$result = mysql_query( $select_user);<br />
&#8230;..</p>
<p>&#8212;&gt; Benefit is, when you want to solve cross database related issue, you can resolve it very frequently (though you can write Data Abstraction Layer dependent code)</p>
<p>2. <strong>Presentational files</strong> (which files are used to render web UI) should keep their logic through few helper functions (rather hard embedded code). For example:<br />
<em> (#) File: test.php </em><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<div>
title ? &gt;
</div>
</p>
<p><em>(#) File: replace_test.php </em><br />
&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<div>
</div>
<p>3. <strong>Limit frequent database access.</strong><br />
&#8211;&gt; Go for caching system, use PEAR cache or any cache solution from PECL. For more optimized and challenging solution go for DSO related caching solution, whenever you will need multiple server It will give you a big hug. Go for MemCache, as it has been proven for several years.</p>
<p>4. <strong>Grow your knowledge on Software engineering.</strong></p>
<p>5. Explore your idea, you can become a good developer but you can’t become a good idea creator unless you explore and dive inside the deep sea of knowledge.</p>
<p>6. <strong>Travel as much place as you like, it will help you to grow up a good sense of creativity.  (I have to start it … <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  )</strong></p>
<p>7. <strong>Don’t forget to adopt little stuff from TDD (Test driven development), dig these terms: unit test, fixture etc…</strong></p>
<p>8. <strong>Try to work on agile team</strong>. Enforce your PM to learn about agile related stuff. Select the best agile methodologies which are most suitable for your company. (Agile comes with a bunch of options, scrum, XP, rup and many stuff)</p>
<p>9. <strong>While you writing your code</strong>, always think, your code will be verified by some guy, who is very strict and who will surly scream because of your poor writing… :p (anyway, if u feel your code is nice … just send me. during my week ends I will check it up… obviously I will come with a set of good criticize <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  )</p>
<p>10. <strong>Learn, Dig, Seek and Dive in <em>“KnowSea”</em></strong></p>
<p>11. <strong>Use change management tools,</strong> (Subversion, bug tracking system and project planning tools)</p>
<p><em><strong>(hasin bhai apologized for Big comment :p)</strong></em></p>
<p>Best regards,</p>
</blockquote>
<p><!--a1572ff53aaea2182071339071bed6b0--></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/we4tech.wordpress.com/299/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/we4tech.wordpress.com/299/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/we4tech.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/we4tech.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/we4tech.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/we4tech.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/we4tech.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/we4tech.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/we4tech.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/we4tech.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/we4tech.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/we4tech.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/we4tech.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/we4tech.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/we4tech.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/we4tech.wordpress.com/299/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=we4tech.wordpress.com&amp;blog=537526&amp;post=299&amp;subd=we4tech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://we4tech.wordpress.com/2007/01/26/my-adds-on-just-php-will-give-you-nothing/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4bb774de244da2d6e7f39a189b905077?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hasan</media:title>
		</media:content>
	</item>
		<item>
		<title>ajax-new-color version 1.0-2</title>
		<link>http://we4tech.wordpress.com/2006/12/09/ajax-new-color-version-10-2/</link>
		<comments>http://we4tech.wordpress.com/2006/12/09/ajax-new-color-version-10-2/#comments</comments>
		<pubDate>Fri, 08 Dec 2006 21:05:27 +0000</pubDate>
		<dc:creator>nhm tanveer hossain khan</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://hasan.we4tech.com/ajax-new-color-version-10-2</guid>
		<description><![CDATA[Credit goes to John (http://red-star.nl/blog) here is change logs: version 1.0-2 (thanks goes to Jon) 1. added style on button 2. fixed IE related side bar bug version 1.0 (thanks goes to John) 1. added cookies support for comment box 2. updated css files 3. added optional plugin support 4. gravatar support added 5. Fitness &#8230; <a href="http://we4tech.wordpress.com/2006/12/09/ajax-new-color-version-10-2/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=we4tech.wordpress.com&amp;blog=537526&amp;post=236&amp;subd=we4tech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Credit goes to John (http://red-star.nl/blog)</p>
<p>here is change logs:</p>
<blockquote><p><strong>version 1.0-2</strong><br />
(thanks goes to Jon)<br />
1. added style on button<br />
2. fixed IE related side bar bug</p>
<p><strong>version 1.0</strong><br />
(thanks goes to John)</p>
<p>1. added cookies support for comment box<br />
2. updated css files<br />
3. added optional plugin support<br />
4. gravatar support added<br />
5. Fitness indicator support added</p>
<p><strong>version 0.2<br />
</strong>1. Fixed real link</p></blockquote>
<p><a href="http://hasan.we4tech.com/wp-content/uploads/2006/12/ajax-new-color_v10-2.zip"> Download link</a></p>
<p><!--2c0a60fb67ffcf05d99b2f6350452f91--></p>
<div class="ad-line">Usually <a href="http://www.envisionwebhosting.com">hosting</a> issues donít arise with <a href="http://www.envisionwebhosting.com/reviews/godaddy-hosting.htm">godaddy</a> or even <a href="http://www.envisionwebhosting.com/reviews/dotster-hosting.htm">dotster</a>. If you want your <a href="http://www.envisionwebhosting.com/business.php">business opportunity</a> at the internet to grow and burgeon, try a reliable name like <a href="http://www.envisionwebhosting.com/reviews/anhosting-hosting.htm">anhosting</a>.</div>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/we4tech.wordpress.com/236/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/we4tech.wordpress.com/236/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/we4tech.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/we4tech.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/we4tech.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/we4tech.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/we4tech.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/we4tech.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/we4tech.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/we4tech.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/we4tech.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/we4tech.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/we4tech.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/we4tech.wordpress.com/236/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/we4tech.wordpress.com/236/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/we4tech.wordpress.com/236/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=we4tech.wordpress.com&amp;blog=537526&amp;post=236&amp;subd=we4tech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://we4tech.wordpress.com/2006/12/09/ajax-new-color-version-10-2/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4bb774de244da2d6e7f39a189b905077?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hasan</media:title>
		</media:content>
	</item>
		<item>
		<title>WordPress Plugin: Fitness Indicator version 1.0</title>
		<link>http://we4tech.wordpress.com/2006/11/27/wordpress-plugin-fitness-indicator-version-10/</link>
		<comments>http://we4tech.wordpress.com/2006/11/27/wordpress-plugin-fitness-indicator-version-10/#comments</comments>
		<pubDate>Sun, 26 Nov 2006 20:27:55 +0000</pubDate>
		<dc:creator>nhm tanveer hossain khan</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://hasan.we4tech.com/wordpress-plugin-fitness-indicator-version-10</guid>
		<description><![CDATA[Plugin Name: Fitness Indicator (contributed by samiha esha) Version: 1.0 Description: Let your visitor know about your physical condition, your fitness indicator will show your up to date physical status. if you were sick, and how u are recovering you can display over your fitness indicator. 10% fitness means you are too sick similarly 100% &#8230; <a href="http://we4tech.wordpress.com/2006/11/27/wordpress-plugin-fitness-indicator-version-10/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=we4tech.wordpress.com&amp;blog=537526&amp;post=211&amp;subd=we4tech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Plugin Name: </strong>Fitness Indicator (contributed by <a href="http://amazon707.wordpress.com/">samiha esha</a>)<br />
<strong>Version:</strong> 1.0<br />
<strong>Description:</strong><br />
Let your visitor know about your physical condition, your fitness indicator will show your up to date physical status. if you were sick, and how u are recovering you can display over your fitness indicator.<br />
10% fitness means you are too sick similarly 100% fitness means you are in good mood with good fitness.</p>
<p><strong>Usages: </strong><br />
in your template use &lt;? show_health_meter()?&gt;</p>
<p><strong>Download link: <a href="http://hasan.we4tech.com/wp-content/uploads/2006/11/fitness-indicator_v10tar.gz">here </a></strong></p>
<p>fitness indicator in action:<br />
<a class="imagelink" title="wordpress template integration" href="http://hasan.we4tech.com/wp-content/uploads/2006/11/integration_with_template.jpg"><img width="491" height="282" alt="wordpress template integration" src="http://hasan.we4tech.com/wp-content/uploads/2006/11/integration_with_template.jpg" /></a></p>
<p><a class="imagelink" title="administration panel" href="http://hasan.we4tech.com/wp-content/uploads/2006/11/admin-panel.jpg"><img width="488" height="356" alt="administration panel" src="http://hasan.we4tech.com/wp-content/uploads/2006/11/admin-panel.jpg" /></a></p>
<p><strong>Download link: <a href="http://hasan.we4tech.com/wp-content/uploads/2006/11/fitness-indicator_v10tar.gz">here </a></strong>
</p>
<p><!--1b7f883ced0bce89800f3a270617c399--></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/we4tech.wordpress.com/211/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/we4tech.wordpress.com/211/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/we4tech.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/we4tech.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/we4tech.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/we4tech.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/we4tech.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/we4tech.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/we4tech.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/we4tech.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/we4tech.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/we4tech.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/we4tech.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/we4tech.wordpress.com/211/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/we4tech.wordpress.com/211/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/we4tech.wordpress.com/211/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=we4tech.wordpress.com&amp;blog=537526&amp;post=211&amp;subd=we4tech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://we4tech.wordpress.com/2006/11/27/wordpress-plugin-fitness-indicator-version-10/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4bb774de244da2d6e7f39a189b905077?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hasan</media:title>
		</media:content>

		<media:content url="http://hasan.we4tech.com/wp-content/uploads/2006/11/integration_with_template.jpg" medium="image">
			<media:title type="html">wordpress template integration</media:title>
		</media:content>

		<media:content url="http://hasan.we4tech.com/wp-content/uploads/2006/11/admin-panel.jpg" medium="image">
			<media:title type="html">administration panel</media:title>
		</media:content>
	</item>
		<item>
		<title>PHP Fragment cache solution</title>
		<link>http://we4tech.wordpress.com/2006/09/26/php-fragment-cache-solution/</link>
		<comments>http://we4tech.wordpress.com/2006/09/26/php-fragment-cache-solution/#comments</comments>
		<pubDate>Mon, 25 Sep 2006 23:25:07 +0000</pubDate>
		<dc:creator>nhm tanveer hossain khan</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://hasan.we4tech.com/php-fragment-cache-solution</guid>
		<description><![CDATA[PHP Fragment cache solution Sometimes we want to cache a part php script rather caching the whole page. For example above right side list is updating after 1 hour, so why not cache it for 1 hour rather shooting database for each request. My illustration will cache a time stamp (so when can verify when &#8230; <a href="http://we4tech.wordpress.com/2006/09/26/php-fragment-cache-solution/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=we4tech.wordpress.com&amp;blog=537526&amp;post=158&amp;subd=we4tech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>PHP Fragment cache solution</strong>     <em>Sometimes we want to cache a part php script rather caching the whole page.</em></p>
<div style="text-align:center;"><img alt="dyanmic_updated_part.gif" src="http://hasan.we4tech.com/wp-content/uploads/2006/09/dyanmic_updated_part.gif" /></div>
<p>For example above right side list is updating after 1 hour, so why not cache it     for 1 hour rather shooting database for each request.</p>
<p>My illustration will cache a time stamp (so when can verify when it was updated     lastly):</p>
<p><span id="more-158"></span>     &lt; ?<br />
require &#8220;Cache.php&#8221;;</p>
</p>
</p>
<p>// init. Fragment cache generator class<br />
// pass a cache unique key<br />
$c = new Cache( &#8220;abc&#8221; );<br />
while( $c-&gt;startCache() ) {<br />
// all logic should be inside while loop<br />
// rather placing else where.<br />
echo time();<br />
// it needs to be invoked because we want to finish<br />
// our caching task right here,<br />
$c-&gt;endCache();<br />
}<br />
//print out your content from cache or fresh (first time) echo &#8220;CONT: &#8220;.<br />
$c-&gt;getContent();<br />
?&gt;</p>
<p>Now have a look on “Cache” class how does it work….<br />
class Cache {<br />
private $id;<br />
private $createdOn;<br />
private $content;<br />
private $notCached;</p>
<p>// we need to know when the cache has been lastly created<br />
public function __construct( $id ) {<br />
$this-&gt;id = $id;<br />
$this-&gt;createdOn = time();<br />
}<br />
// let cache now fragment started<br />
public function startCache() {<br />
// be sure if already cache exists on the same ID<br />
// load it or create new cache<br />
if( !$this-&gt;_hasCache()) {<br />
$this-&gt;notCached = true;<br />
ob_start();<br />
}<br />
else {<br />
$this-&gt;notCached = false;<br />
}<br />
return $this-&gt;notCached;<br />
}<br />
// for illustration I have used flat file caching, though it can be replaced by<br />
// MemCached solution or other shared memory solution.<br />
private function _hasCache() {<br />
$hasCache = file_exists( $this-&gt;id.&#8221;.cache&#8221; );<br />
if( $hasCache ) {<br />
$fp = fopen( $this-&gt;id.&#8221;.cache&#8221;, &#8220;r&#8221; );<br />
$this-&gt;content = fread( $fp, filesize( $this-&gt;id.&#8221;.cache&#8221; ) );<br />
fclose( $fp );<br />
}<br />
return $hasCache;<br />
}</p>
<p>// let cache know fragment is over and finish<br />
public function endCache() {<br />
$this-&gt;content = ob_get_contents();<br />
ob_end_clean();<br />
// create cache file<br />
$fp = fopen( $this-&gt;id.&#8221;.cache&#8221;,&#8221;w&#8221; );<br />
fputs( $fp, $this-&gt;content );<br />
fclose( $fp );<br />
}</p>
<p>// let’s get your cache content<br />
public function getContent( ) {<br />
return $this-&gt;content;<br />
}<br />
}<br />
?&gt;<br />
Though very straight forward solution, it can be optimized using Shared Memory or     MemCached solution.</p>
<p><em><strong>NOTE:</strong> this implementation is just for illustration purpose. it         should contain expire system, event management etc.. important stuffs. to make this         class really helpful.</em></p>
<p><a title="Download Source code" id="p173" href="http://hasan.we4tech.com/wp-content/uploads/2006/09/php_fragment_cache.zip">         Download Source code</a></p>
<p><em>&#8211; nhm tanveer hossain khan (hasan)<br />
</em></p>
</p>
<p><!--acba118337ec89e736ccc9919a135a45-->
</p>
<p><!--4f08bd683613150cc3c65183b2b0abcf--></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/we4tech.wordpress.com/158/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/we4tech.wordpress.com/158/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/we4tech.wordpress.com/158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/we4tech.wordpress.com/158/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/we4tech.wordpress.com/158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/we4tech.wordpress.com/158/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/we4tech.wordpress.com/158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/we4tech.wordpress.com/158/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/we4tech.wordpress.com/158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/we4tech.wordpress.com/158/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/we4tech.wordpress.com/158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/we4tech.wordpress.com/158/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/we4tech.wordpress.com/158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/we4tech.wordpress.com/158/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/we4tech.wordpress.com/158/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/we4tech.wordpress.com/158/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=we4tech.wordpress.com&amp;blog=537526&amp;post=158&amp;subd=we4tech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://we4tech.wordpress.com/2006/09/26/php-fragment-cache-solution/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4bb774de244da2d6e7f39a189b905077?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hasan</media:title>
		</media:content>

		<media:content url="http://hasan.we4tech.com/wp-content/uploads/2006/09/dyanmic_updated_part.gif" medium="image">
			<media:title type="html">dyanmic_updated_part.gif</media:title>
		</media:content>
	</item>
		<item>
		<title>For old Fan!!!</title>
		<link>http://we4tech.wordpress.com/2006/09/17/for-old-fan/</link>
		<comments>http://we4tech.wordpress.com/2006/09/17/for-old-fan/#comments</comments>
		<pubDate>Sun, 17 Sep 2006 10:48:29 +0000</pubDate>
		<dc:creator>nhm tanveer hossain khan</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://hasan.we4tech.com/for-old-fan</guid>
		<description><![CDATA[hi, i am getting some request for my previous &#8220;ajax-new-color&#8221; theme. i have changed my file system thats why previous files are lost. please find out this attachment&#8230;. ajax-new-color thank u<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=we4tech.wordpress.com&amp;blog=537526&amp;post=138&amp;subd=we4tech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>hi, i am getting some request for my previous &#8220;ajax-new-color&#8221; theme.</p>
<p>i have changed my file system thats why previous files are lost.</p>
<p>please find out this attachment&#8230;. <a id="p150" href="http://hasan.we4tech.com/wp-content/uploads/2006/09/ajax-new-color_v_04.zip">ajax-new-color</a><br />
thank u <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/we4tech.wordpress.com/138/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/we4tech.wordpress.com/138/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/we4tech.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/we4tech.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/we4tech.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/we4tech.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/we4tech.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/we4tech.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/we4tech.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/we4tech.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/we4tech.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/we4tech.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/we4tech.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/we4tech.wordpress.com/138/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/we4tech.wordpress.com/138/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/we4tech.wordpress.com/138/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=we4tech.wordpress.com&amp;blog=537526&amp;post=138&amp;subd=we4tech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://we4tech.wordpress.com/2006/09/17/for-old-fan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4bb774de244da2d6e7f39a189b905077?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hasan</media:title>
		</media:content>
	</item>
		<item>
		<title>upload_max_filesize related problem</title>
		<link>http://we4tech.wordpress.com/2006/01/03/upload_max_filesize-related-problem/</link>
		<comments>http://we4tech.wordpress.com/2006/01/03/upload_max_filesize-related-problem/#comments</comments>
		<pubDate>Tue, 03 Jan 2006 07:32:04 +0000</pubDate>
		<dc:creator>nhm tanveer hossain khan</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://hasan.we4tech.com/upload_max_filesize-related-problem</guid>
		<description><![CDATA[I have heard and faced this problem several times when i need to upload more than 2M file using my php script&#8230;. -&#62; &#8220;upload_max_filesize&#8221; is one php.ini defined property&#8230; this propery limits the maximum uploadable content size&#8230; &#8211; PHP manual described this propery as &#8220;PHP_INI_PERDIR&#8221;&#8230; &#8211; PHP_INI_PREDIR means &#8220;Entry can be set in php.ini, .htaccess &#8230; <a href="http://we4tech.wordpress.com/2006/01/03/upload_max_filesize-related-problem/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=we4tech.wordpress.com&amp;blog=537526&amp;post=91&amp;subd=we4tech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have heard and faced this problem several times when i need to upload more than 2M file using my php script&#8230;.</p>
<p>-&gt; &#8220;upload_max_filesize&#8221; is one php.ini defined property&#8230; this propery  limits the maximum uploadable content size&#8230;</p>
<p>&#8211; PHP manual described this propery as &#8220;PHP_INI_PERDIR&#8221;&#8230;</p>
<p>&#8211; PHP_INI_PREDIR means &#8220;Entry can be set in php.ini, .htaccess or httpd.conf &#8220;&#8230;</p>
<p>-</p>
<p>- You need to upload more than 2M file</p>
<p>-&gt;&gt; You can do it just change php.ini &#8220;upload_max_filesize&#8221; propery &#8230;<br />
&#8211; Example: upload_max_filesize=100M</p>
<p>-</p>
<p>- When you dont have php.ini access&#8230;.</p>
<p>-&gt;&gt; You can change this property using .htaccess file&#8230;</p>
<p>(#)File: .htaccess<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
php_value upload_max_filesize 100m<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>*NOTE: (&#8212;-) this signed used for indicating start and end of file&#8230;</p>
<p>Save in your php web root directory&#8230;</p>
<p>Thats it&#8230;</p>
<p>Thank you</p>
<p>NHM Tanveer Hossain KHan (h asan)<br />
http://hasan.we4tech.com [Ajax based WP template]</p>
<p>http://www.somewherein.net</p>
<p>http://www.somewherein.net/blog</p>
</p>
<p><!--81d4e4e3ca8126c527748745001a4b7e--></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/we4tech.wordpress.com/91/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/we4tech.wordpress.com/91/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/we4tech.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/we4tech.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/we4tech.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/we4tech.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/we4tech.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/we4tech.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/we4tech.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/we4tech.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/we4tech.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/we4tech.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/we4tech.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/we4tech.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/we4tech.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/we4tech.wordpress.com/91/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=we4tech.wordpress.com&amp;blog=537526&amp;post=91&amp;subd=we4tech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://we4tech.wordpress.com/2006/01/03/upload_max_filesize-related-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4bb774de244da2d6e7f39a189b905077?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hasan</media:title>
		</media:content>
	</item>
		<item>
		<title>PHP and PHP</title>
		<link>http://we4tech.wordpress.com/2005/08/27/php-and-php/</link>
		<comments>http://we4tech.wordpress.com/2005/08/27/php-and-php/#comments</comments>
		<pubDate>Sat, 27 Aug 2005 17:18:41 +0000</pubDate>
		<dc:creator>nhm tanveer hossain khan</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://hasan.we4tech.com/blog/57</guid>
		<description><![CDATA[Corporate world always concerned about scalable/reliable/secure solution. Java EE, .NET these are the common example among other successful technologies. “Java EE”, “.NET” seems the relief for many enterprise solution.. V(ery). Big echo system always backup these technologies.. Java EE and .NET has introduced many coolest success factors for the real enterprise solution. Microsoft considers the &#8230; <a href="http://we4tech.wordpress.com/2005/08/27/php-and-php/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=we4tech.wordpress.com&amp;blog=537526&amp;post=56&amp;subd=we4tech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Corporate world always concerned about scalable/reliable/secure solution. Java EE, .NET these are the common example among other successful technologies. “Java EE”, “.NET” seems the relief for many enterprise solution..</p>
<p>V(ery). Big echo system always backup these technologies.. Java EE and .NET has introduced many coolest success factors for the real enterprise solution.</p>
<p>Microsoft considers the general developer, they provide strong RAD tool. Microsoft never belief “…developer by born get the programming skill…”. They promote people to be programmer…</p>
<p>Open source technologies are supporting many corporate for a long time.. corporate world rather wasting money they are selecting the right technologies.</p>
<p>“Open source” brought a baby named “PHP” which is proving its simplicity in every steps. From the early stage PHP is injecting the RAD (Rapid Application Development) concept. At the beginning, PHP was aimed only for form processing. Day by day many Open minded and talented developers are contributing to give maturity in PHP.</p>
<p>PHP is gradually developing the best community among other technology communities. PHP has become the standard for web site development. Many successful web application for instance CMS, Blog engine etc.. are freely available. Which gives more pleasure in development rather starting from scratch.</p>
<p>“PHP is RAD”..<br />
You may ask why RAD, because when you close your eyes you can see some visual components and you know them as RAD.. PHP is RAD from the sense of its simple API set.</p>
<p>PHP requires very minimum development time that’s exactly appropriate for Agile methodology. TDD (Test Driven Development) is now the common practice in PHP based development.</p>
<p>…..it is a long journey…<br />
When OS brought the great technology “PHP”, OS developers really have foreseen. PHP started with very silly coding standard… because PHP is moving with small step. Two guys redesigned the PHP engine and they shaped PHP as a multi featured scripting environment for Web application development. People never mind to checkout the FUN.. PHP gave the FUN… that’s brought PHP as the number one web development environment.<br />
……..<br />
Many developers interested to develop PHP based web application… PHP became more mature.. whenever its main contributors determined on its strength.. PHP gained more strength when contributors released Zend Engine II…. OOP programming is now more strength that’s really great fun for other OOP developers…</p>
<p>That’s why I enrolled myself…..<br />
Hasan</p>
<p>http://hasan.we4tech.com</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/we4tech.wordpress.com/56/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/we4tech.wordpress.com/56/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/we4tech.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/we4tech.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/we4tech.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/we4tech.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/we4tech.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/we4tech.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/we4tech.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/we4tech.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/we4tech.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/we4tech.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/we4tech.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/we4tech.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/we4tech.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/we4tech.wordpress.com/56/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=we4tech.wordpress.com&amp;blog=537526&amp;post=56&amp;subd=we4tech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://we4tech.wordpress.com/2005/08/27/php-and-php/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4bb774de244da2d6e7f39a189b905077?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hasan</media:title>
		</media:content>
	</item>
		<item>
		<title>Password protected secure web application with design patterns</title>
		<link>http://we4tech.wordpress.com/2005/08/22/password-protected-secure-web-application-with-design-patterns/</link>
		<comments>http://we4tech.wordpress.com/2005/08/22/password-protected-secure-web-application-with-design-patterns/#comments</comments>
		<pubDate>Mon, 22 Aug 2005 17:41:50 +0000</pubDate>
		<dc:creator>nhm tanveer hossain khan</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://hasan.we4tech.com/blog/55</guid>
		<description><![CDATA[Probably you want to develop password protected web application using PHP&#8230; Make a php driven web site with FrontController approach&#8230;. I think FrontController pattern has good solution for this type of problem&#8230; If you follow Front Controller pattern u can easily restrict any pages from your centralize controller&#8230;. for more reading http://www.phppatterns.com/index.php/article/articleview/81/1/1/ let&#8217;s see how &#8230; <a href="http://we4tech.wordpress.com/2005/08/22/password-protected-secure-web-application-with-design-patterns/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=we4tech.wordpress.com&amp;blog=537526&amp;post=54&amp;subd=we4tech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class="alt">Probably you want to develop password protected web application using PHP&#8230;</div>
<p>Make a php driven web site with <strong>FrontController</strong> approach&#8230;.</p>
<p>I think <strong>FrontController</strong> pattern has good solution for this type of problem&#8230;</p>
<p>If you follow <strong>Front Controller</strong> pattern u can easily restrict any pages<br />
from your centralize controller&#8230;.<br />
for more reading<br />
<a href="http://www.phppatterns.com/index.php/article/articleview/81/1/1/">http://www.phppatterns.com/index.php/article/articleview/81/1/1/</a></p>
<p>let&#8217;s see how <strong>Front Controller</strong> will work with your user security<br />
<code><br />
<strong>public interface</strong> <em>PHPFrontController</em> <strong>extends</strong> <em>BaseController</em> {<br />
// .....<br />
<strong>public function</strong> <em>isAccessible();</em><br />
<strong>public function</strong> <em>getCurrentView()</em>;<br />
// .....<br />
}</code></p>
<p>etc&#8230;. you can fun&#8230;..</p>
<p>for instance while your index.php is running&#8230;<br />
it will cosider:<br />
<code><br />
// Singleton pattern<br />
$frontController=PHPFrontController::newInstance();</code></p>
<p>// check valid user&#8230;.<br />
if($frontController-&gt;isAccessible()) {<br />
View::generateView(View::HTML, $frontController-&gt;getCurrentView());<br />
} </p>
<p>&#8230;&#8230;..</p>
<p>For more details information&#8230;<br />
<code><br />
// example implementation of accessible method....<br />
public function isAccessible() {<br />
$state=false;</code></p>
<p>try {<br />
// you can check through your DAO<br />
if($userDAO-&gt;isValideUser(<br />
HttpRequest::getParam(<br />
array(&#8220;txtUser&#8221;,&#8221;txtPassword&#8221;))))<br />
$state=true;</p>
<p>}<br />
catch($frameworkException ) {}</p>
<p>return $state;<br />
}</p>
</p>
<p>Thank you..
</p>
<p><!--13c29e0ca004b47398c66716512f4424--></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/we4tech.wordpress.com/54/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/we4tech.wordpress.com/54/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/we4tech.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/we4tech.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/we4tech.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/we4tech.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/we4tech.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/we4tech.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/we4tech.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/we4tech.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/we4tech.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/we4tech.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/we4tech.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/we4tech.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/we4tech.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/we4tech.wordpress.com/54/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=we4tech.wordpress.com&amp;blog=537526&amp;post=54&amp;subd=we4tech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://we4tech.wordpress.com/2005/08/22/password-protected-secure-web-application-with-design-patterns/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4bb774de244da2d6e7f39a189b905077?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hasan</media:title>
		</media:content>
	</item>
	</channel>
</rss>
