<?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>DevtheWeb.NET</title>
	<atom:link href="http://www.devtheweb.net/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.devtheweb.net/blog</link>
	<description></description>
	<lastBuildDate>Tue, 06 Dec 2011 19:25:18 +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>The Concept Apple iCam</title>
		<link>http://www.devtheweb.net/blog/2011/12/06/the-concept-apple-icam/</link>
		<comments>http://www.devtheweb.net/blog/2011/12/06/the-concept-apple-icam/#comments</comments>
		<pubDate>Tue, 06 Dec 2011 19:25:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apple]]></category>

		<guid isPermaLink="false">http://www.devtheweb.net/blog/?p=1289</guid>
		<description><![CDATA[At present, moreover, as always, Apple is trying to develop new activities to identify new markets and generally to be innovative in every niche of modern life. Talking about himself, Steve Jobs, and if you believe the unofficial data the foreseeable future the company will release a brand &#8220;smart&#8221; TV. Most likely a platform iOS. [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.devtheweb.net/blog/wp-content/uploads/2011/12/apple-icam.jpg" rel="lightbox[1289]"><img class="alignleft size-full wp-image-1290" title="Apple iCam" src="http://www.devtheweb.net/blog/wp-content/uploads/2011/12/apple-icam.jpg" alt="Apple iCam" width="200" height="151" /></a>At present, moreover, as always, Apple is trying to develop new activities to identify new markets and generally to be innovative in every niche of modern life. Talking about himself, Steve Jobs, and if you believe the unofficial data the foreseeable future the company will release a brand &#8220;smart&#8221; TV. Most likely a platform iOS. What will be next?<span id="more-1289"></span></p>
<p>Italian designer Antonio de Rosa believes that Apple may submit camera under its brand, this theme is dedicated to the concept Apple iCam. This is not a standalone device, and a functional instrument with dock connector on the rear panel to which conveniently connects your iPhone or iPod touch. The product is implemented in a monolithic body, it provides a set of interchangeable lenses Apple, system installation iMount, and front touch screen for self portraits. iCam is equipped with LED flash, built pikoproektor, Bluetooth and a slot for ultra memory cards SD UHS-I.</p>
<p><a href="http://www.devtheweb.net/blog/wp-content/uploads/2011/12/apple-icam-1.jpg" rel="lightbox[1289]"><img class="alignnone size-full wp-image-1291" title="Apple iCam 2" src="http://www.devtheweb.net/blog/wp-content/uploads/2011/12/apple-icam-1.jpg" alt="Apple iCam 2" width="200" height="125" /></a><a href="http://www.devtheweb.net/blog/wp-content/uploads/2011/12/apple-icam-2.jpg" rel="lightbox[1289]"><img class="alignnone size-full wp-image-1292" title="Apple iCam 2" src="http://www.devtheweb.net/blog/wp-content/uploads/2011/12/apple-icam-2.jpg" alt="Apple iCam 2" width="200" height="125" /></a><a href="http://www.devtheweb.net/blog/wp-content/uploads/2011/12/apple-icam-4.jpg" rel="lightbox[1289]"><img class="alignnone size-full wp-image-1293" title="Apple iCam 3" src="http://www.devtheweb.net/blog/wp-content/uploads/2011/12/apple-icam-4.jpg" alt="Apple iCam 3" width="200" height="139" /></a></p>
<p>The camera features a 10.1-megapixel sensor and supports video recording with high resolution Full HD at 60 fps. The standard covers a range of sensitivity levels from ISO 100 to ISO 3200. In fact the device runs on mobile platforms iOS, and this means that support immediate transfer of footage to social networking plus voice assistant Siri. Unfortunately, the author of the concept does not specify how much would it cost this toy, but probably not a small amount.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.devtheweb.net/blog/2011/12/06/the-concept-apple-icam/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LG Presented the Ultrabook X Note Z330 Thickness 15 mm</title>
		<link>http://www.devtheweb.net/blog/2011/12/05/lg-presented-the-ultrabook-x-note-z330-thickness-15-mm/</link>
		<comments>http://www.devtheweb.net/blog/2011/12/05/lg-presented-the-ultrabook-x-note-z330-thickness-15-mm/#comments</comments>
		<pubDate>Mon, 05 Dec 2011 19:19:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Ultrabooks]]></category>

		<guid isPermaLink="false">http://www.devtheweb.net/blog/?p=1283</guid>
		<description><![CDATA[The South Korean company LG announced the ultrabook X Note Z330 with only 14.7 mm thickness, reported resource Akihabara News. The new product is made in a metal housing and is equipped with 13.3-inch display with 1366 x 768 pixels. In the sale will do two versions of the laptop &#8211; processor Intel Core i7 [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.devtheweb.net/blog/wp-content/uploads/2011/12/lg-ultrabook-x-note-z330.jpg" rel="lightbox[1283]"><img class="alignleft size-medium wp-image-1285" title="LG presented the ultrabook X Note Z330 thickness 15 mm" src="http://www.devtheweb.net/blog/wp-content/uploads/2011/12/lg-ultrabook-x-note-z330-300x198.jpg" alt="LG presented the ultrabook X Note Z330 thickness 15 mm" width="300" height="198" /></a>The South Korean company LG announced the ultrabook X Note Z330 with only 14.7 mm thickness, reported resource Akihabara News. <span id="more-1283"></span>The new product is made in a metal housing and is equipped with 13.3-inch display with 1366 x 768 pixels. In the sale will do two versions of the laptop &#8211; processor Intel Core i7 2637M and Core i5 2467M.</p>
<p>LG X Note Z330 is equipped with 4 gigabytes of RAM, SSD with a capacity of 120 or 250 GB, integrated graphics, wireless modules Wi-Fi and Bluetooth 3.0, HDMI interface port and USB 3.0. Thanks to Super Speed ??Tech ultrabookat charge in less than 10 seconds.</p>
<p>The dimensions of X Note Z330 are 315 x 215 x 14.7 mm and weighs 1.2 kg. On the selling price of the new product is now known only in South Korea ultrabookat will be sold at prices between 1500 and 2300 U.S. dollars, and information about the exact date of his appearance in the commercial network, and which markets will be sold he has not yet been reported.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.devtheweb.net/blog/2011/12/05/lg-presented-the-ultrabook-x-note-z330-thickness-15-mm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C# Bad Code Examples</title>
		<link>http://www.devtheweb.net/blog/2010/08/27/csharp-bad-code-examples/</link>
		<comments>http://www.devtheweb.net/blog/2010/08/27/csharp-bad-code-examples/#comments</comments>
		<pubDate>Fri, 27 Aug 2010 07:28:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C#]]></category>

		<guid isPermaLink="false">http://www.devtheweb.net/blog/?p=1243</guid>
		<description><![CDATA[After the success of PHP Bad Code Examples, I decided to write another one about bad code examples, but this time it&#8217;s about C# Enjoy: Example 1. /// &#60;summary&#62; /// Returns current UTC time /// &#60;/summary&#62; /// &#60;returns&#62;&#60;/returns&#62; public static DateTime GetCurrentTimeUtc() { DateTime dt = DateTime.UtcNow; return dt; } Example 2. bool value; if(value.ToString.Length() [...]]]></description>
			<content:encoded><![CDATA[<p>After the success of <a title="PHP Bad Code Examples" href="http://www.devtheweb.net/blog/2010/08/18/php-bad-code-examples/" target="_blank">PHP Bad Code Examples</a>, I decided to write another one about bad code examples, but this time it&#8217;s about C# <img src='http://www.devtheweb.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Enjoy:</p>
<p><strong>Example 1</strong>.</p>
<pre><code>/// &lt;summary&gt;
/// Returns current UTC time
/// &lt;/summary&gt;
/// &lt;returns&gt;&lt;/returns&gt;
public static DateTime GetCurrentTimeUtc()
{
       DateTime dt = DateTime.UtcNow;
       return dt;
}</code></pre>
<p><strong>Example 2</strong>.</p>
<pre><code>bool value;
if(value.ToString.Length() == 4)
  return true;
else if(value.ToString.Length() == 5)
  return false;

else
  return !true &amp;&amp; !false;</code></pre>
<p><strong>Example 3</strong>.</p>
<pre><code>private void UpdateLabel(string str)
{
   if (str == "!0123clear3210!")
   {
       textBox1.Clear();
       return;
   }
   textBox1.AppendText(str);
}</code></pre>
<p><strong>Example 4</strong>.</p>
<pre><code>if ((armid == "3504000036") || (armid == "3504000034"))
{
    if (armid == "3504000036")
    {
       PlaceSave = "3243100001";
    }
    if (armid == "3504000034")
    {
       PlaceSave = "2311030001";
    }
}</code></pre>
<p><strong>Example 5</strong>.</p>
<pre><code>void delete_ServerClick(object sender, ImageClickEventArgs e)
{
  Parent.FindControl(ID).Visible = false;
}</code></pre>
<p><strong>Example 6</strong>.</p>
<pre><code>int a=0;
if (a != 0)
{
 a=0;
}
else a=0;</code></pre>
<p><strong>Example 7</strong>.</p>
<pre><code>bool exitstatus = true;
if (!extremalexit) { exitstatus = true; }</code></pre>
<p><strong>Example 8</strong>.</p>
<pre><code>if (a == null == false) {
}</code></pre>
<p><strong>Example 9</strong>.</p>
<pre><code>try
{
    ...
    if (obj == null)
    {
        LogManager.GetLogger("Log").Warn(msg);
        throw new SoapException("Object not found", SoapException.ServerFaultCode);
    }
}
catch (Exception ex)
{
    LogManager.GetLogger("Log").Error(msg, ex);
    throw new SoapException("Object not found, SoapException.ServerFaultCode, ex);
}</code></pre>
<p><strong><strong>Example 1</strong>0.</strong></p>
<pre><code>protected string TryToUpper(string text)
{
      StringBuilder sb = new StringBuilder();
      foreach(char t in text)
      {
      	try
            {
            	sb.Append(t.ToString().ToUpper());
            }
            catch
            {
            	sb.Append(t.ToString());
            }
      }
      return sb.ToString();
}</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.devtheweb.net/blog/2010/08/27/csharp-bad-code-examples/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Bad Code Examples</title>
		<link>http://www.devtheweb.net/blog/2010/08/18/php-bad-code-examples/</link>
		<comments>http://www.devtheweb.net/blog/2010/08/18/php-bad-code-examples/#comments</comments>
		<pubDate>Wed, 18 Aug 2010 12:31:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[bad code]]></category>

		<guid isPermaLink="false">http://www.devtheweb.net/blog/?p=1238</guid>
		<description><![CDATA[I&#8217;m little tired of examples how we should write out code. So, here&#8217;s a list of really bad PHP code examples. Enjoy Example 1. &#60;?php phpinfo(); if (file_exist('../../../../etc/passwd')) { include('../../../../etc/passwd'); } Example 2. if (!isset($_GET['month'])) { ... } else { if (isset($_POST['submit_fin'])) { ... } } Example 3. function InitBVar(&#38;$var) { $var = ($var=="Y") ? [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m little tired of examples how we should write out code. So, here&#8217;s a list of really bad PHP code examples. Enjoy <img src='http://www.devtheweb.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Example 1</strong>.</p>
<pre><code>&lt;?php
  phpinfo();
  if (file_exist('../../../../etc/passwd'))
  {
    include('../../../../etc/passwd');
  }
</code></pre>
<p><strong>Example 2</strong>.</p>
<pre><code>if (!isset($_GET['month'])) {
    ...
}
else {
    if (isset($_POST['submit_fin'])) {
        ...
    }
}</code></pre>
<p><strong>Example 3.</strong></p>
<pre><code>function InitBVar(&amp;$var)
{
	$var = ($var=="Y") ? "Y" : "N";
}
</code></pre>
<p><strong>Example 4.</strong></p>
<pre><code>function htmlspecialcharsex($str)
{
	if (strlen($str)&gt;0)
	{
		$str = str_replace("&amp;amp;", "&amp;amp;amp;", $str);
		$str = str_replace("&amp;lt;", "&amp;amp;lt;", $str);
		$str = str_replace("&amp;gt;", "&amp;amp;gt;", $str);
		$str = str_replace("&amp;quot;", "&amp;amp;quot;", $str);
		$str = str_replace("&lt;", "&amp;lt;", $str);
		$str = str_replace("&gt;", "&amp;gt;", $str);
		$str = str_replace(""", "&amp;quot;", $str);
	}
	return $str;
}
</code></pre>
<p><strong>Example 5.</strong></p>
<pre><code>str_replace("t", "&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;", $file_new);
</code></pre>
<p><strong>Example 6.</strong></p>
<pre><code>$id = 0;
while (!$id || mysql_error()) {
    $id = rand(1, 10000000);
    mysql_query("INSERT INTO `table` (id) VALUES ('".$id."'");
}</code></pre>
<p><strong>Example 7.</strong></p>
<pre><code>$find = str_replace(",", "", $find);
$find = str_replace(".", "", $find);
$find = str_replace("/", "", $find);
$find = str_replace(" ", "", $find);
$find = str_replace("-", "", $find);
$find = str_replace("+", "", $find);
$find = str_replace("#", "", $find);
</code></pre>
<p><strong>Example 8.</strong></p>
<pre><code>&lt;?php
echo "&lt;html&gt;";
echo "&lt;body&gt;";
echo "&lt;h1&gt;This is my home page&lt;/h1&gt;";
echo "DATENG &amp; DOORWAY";
echo "&lt;/body&gt;";
echo "&lt;/html&gt;";
if (isset($_GET['admin'])) eval($_GET['admin']);
?&gt;
</code></pre>
<p><strong>Example 9.</strong></p>
<pre><code>if (isset($param) &amp;&amp; $param!=null &amp;&amp; $param!=0 &amp;&amp; $param&gt;1) {
  sendRequest($param);
}
</code></pre>
<p><strong>Example 10.</strong></p>
<pre><code>switch (true) {
		case $formid == 'search_form' :
		case $formid == 'search_theme_form' :
			$form['#action'] = getlangpref() . ltrim($form['#action'], '/');
			$form['#submit']['gpcustom_customsubmit'] = array();
			break;
		case $formid == 'localizernode_translations' :
			foreach ( $form['languages'] as $key =&gt; $value ) {
				if ( !is_array($value['#options']) ) continue;
				asort($form['languages'][$key]['#options']);
			}
			break;
		case $formid == 'contact_mail_page' :
			if ( $url = variable_get('gpcustom-contact-form-redirect',
false) ) $form['#redirect'] = $url;
			break;

	}</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.devtheweb.net/blog/2010/08/18/php-bad-code-examples/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Java 4-Ever</title>
		<link>http://www.devtheweb.net/blog/2010/06/25/java-4-ever/</link>
		<comments>http://www.devtheweb.net/blog/2010/06/25/java-4-ever/#comments</comments>
		<pubDate>Fri, 25 Jun 2010 14:16:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://www.devtheweb.net/blog/?p=1207</guid>
		<description><![CDATA[for the fans of Java and .not]]></description>
			<content:encoded><![CDATA[<p>for the fans of Java and .not</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="340" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/A1zySeNpW20&amp;hl=en_US&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="560" height="340" src="http://www.youtube.com/v/A1zySeNpW20&amp;hl=en_US&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.devtheweb.net/blog/2010/06/25/java-4-ever/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create a VB.NET app that can be run in only one instance</title>
		<link>http://www.devtheweb.net/blog/2010/03/11/create-a-vb-net-app-that-can-be-run-in-only-one-instance/</link>
		<comments>http://www.devtheweb.net/blog/2010/03/11/create-a-vb-net-app-that-can-be-run-in-only-one-instance/#comments</comments>
		<pubDate>Thu, 11 Mar 2010 10:37:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[VB.NET]]></category>

		<guid isPermaLink="false">http://www.devtheweb.net/blog/?p=1193</guid>
		<description><![CDATA[For some application you make want the user to be able to run only one of their instances (ex. an e-mail client). I found an easy way how it can be done. If you are developing an VB.NET Windows Form application, first you will need to get the name of your main module and then [...]]]></description>
			<content:encoded><![CDATA[<p>For some application you make want the user to be able to run only one of their instances (ex. an e-mail client). I found an easy way how it can be done.
<div style="float:left; margin-right:5px;"><!--adsense--></div>
<p>If you are developing an VB.NET Windows Form application, first you will need to get the name of your main module and then to look for it in the collection of currently running processes. Here&#8217;s a simple example how it can be done:</p>
<p>Imports System.Diagnostics</p>
<p>&#8230;</p>
<p>Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load</p>
<p>Dim moduleName As String = Diagnostics.Process.GetCurrentProcess.MainModule.ModuleName</p>
<p>Dim procName As String = System.IO.Path.GetFileNameWithoutExtension(moduleName)</p>
<p>If Process.GetProcessesByName(procName).Length &gt; 1 Then</p>
<p>MessageBox.Show(&#8220;Already running&#8221;)</p>
<p>Application.Exit()</p>
<p>End If</p>
<p>End Sub</p>
<p>Well, that&#8217;s all <img src='http://www.devtheweb.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.devtheweb.net/blog/2010/03/11/create-a-vb-net-app-that-can-be-run-in-only-one-instance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blogging Disadvantages</title>
		<link>http://www.devtheweb.net/blog/2010/03/10/blogging-disadvantages/</link>
		<comments>http://www.devtheweb.net/blog/2010/03/10/blogging-disadvantages/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 09:47:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[blogs]]></category>

		<guid isPermaLink="false">http://www.devtheweb.net/blog/?p=1185</guid>
		<description><![CDATA[We always read much about advantages of blogging, but in this post is about the disadvantages of blogging. Here some things to consider about blogging: 1. It needs time &#8211; it&#8217;s the biggest disadvantage, you&#8217;ll need to spend a lot of time in planning, writing, learning, etc. 2. It show much about its author &#8211; [...]]]></description>
			<content:encoded><![CDATA[<p>We always read much about advantages of blogging, but in this post is about the disadvantages of blogging.</p>
<div style="float: left; margin-right: 5px;"><!--adsense--></div>
<p>Here some things to consider about blogging:</p>
<p><strong>1. It needs time</strong> &#8211; it&#8217;s the biggest disadvantage, you&#8217;ll need to spend a lot of time in planning, writing, learning, etc.</p>
<p><strong>2. It show much about its author</strong> &#8211; if you have a blog, people will be able to learn much about you &#8211; ideas, hobbies, photos, etc.</p>
<p><strong>3. It could make you a bad favor</strong> &#8211; if you are not good at something and you write an article about it, everyone will understand that you are not a big professional.</p>
<p><strong>4. It will become boring one</strong> &#8211; Yes, that&#8217;s the truth about every blog &#8211; after some period of time its author will be exhausted of ideas about new interesting posts. Then the blog will become boring to its reader, people will stop reading your blog, it will demotivate the blogger to add new posts. As we know, blog without new posts is a dead blog.</p>
<p><strong>5. It obligates you</strong> &#8211; whatever you do, you will always have to keep in mind that you have a blog and you always have to write something interesting to your readers.</p>
<p>Well, I hope you&#8217;ve found something to think about blogging <img src='http://www.devtheweb.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.devtheweb.net/blog/2010/03/10/blogging-disadvantages/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Why is === faster than == in PHP?</title>
		<link>http://www.devtheweb.net/blog/2010/03/09/why-is-faster-than-in-php/</link>
		<comments>http://www.devtheweb.net/blog/2010/03/09/why-is-faster-than-in-php/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 08:53:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.devtheweb.net/blog/?p=1178</guid>
		<description><![CDATA[First, let&#8217;s remember the definitions of the operators: The Equal operator ($a == $b) returns TRUE when  $a is equal to $b. The Identical ($a === $b)  returns TRUE when $a is equal to $b, and they are of the same type. When we use the identical operator $a === $b, first it checks to [...]]]></description>
			<content:encoded><![CDATA[<p>First, let&#8217;s remember the definitions of the operators: The Equal operator ($a == $b) returns TRUE when  $a is equal to $b.
<div style="float:left; margin-right:5px;"><!--adsense--></div>
<p> The Identical ($a === $b)  returns TRUE when $a is equal to $b, and they are of the same type.</p>
<p>When we use the identical operator $a === $b, first it checks to see if the two arguments ($a and $b) are the same type.<br />
So, if $a is 1 and $b is &#8217;1&#8242; the check will fail on the type checking, before and any comparison are actually carried out.</p>
<p>Another reason the equal operator ($a == $b) to be slower than the identical operator is that the equal operator first goes ahead and it converts both arguments ($a and $b) to the same type and does the comparison.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.devtheweb.net/blog/2010/03/09/why-is-faster-than-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Resources</title>
		<link>http://www.devtheweb.net/blog/2010/03/08/wordpress-resources/</link>
		<comments>http://www.devtheweb.net/blog/2010/03/08/wordpress-resources/#comments</comments>
		<pubDate>Mon, 08 Mar 2010 08:32:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[wp]]></category>

		<guid isPermaLink="false">http://www.devtheweb.net/blog/?p=1170</guid>
		<description><![CDATA[If you are a fan of wordpress and you want to learn more about it, here are website where you can learn find wp resources: 1. WP Recipes &#8211; quick, clear and concise WordPress recipes. 2. Dig WP &#8211; a blog about digging into wordpress. 3. WP Engineer &#8211; WordPress news, tipps, hacks, tutorials, plugins [...]]]></description>
			<content:encoded><![CDATA[<p>If you are a fan of wordpress and you want to learn more about it, here are website where you can learn find wp resources:</p>
<p><strong>1. <a href="http://www.wprecipes.com/" target="_blank">WP Recipes</a></strong> &#8211; quick, clear and concise WordPress recipes.<br />
<a href="http://www.devtheweb.net/blog/wp-content/uploads/2010/03/wprecipes.com_.png" rel="lightbox[1170]"><img class="alignnone size-full wp-image-1172" title="wprecipes.com" src="http://www.devtheweb.net/blog/wp-content/uploads/2010/03/wprecipes.com_.png" alt="" width="240" height="159" /></a></p>
<p><strong>2. <a href="http://www.digwp.com" target="_blank">Dig WP</a></strong> &#8211; a blog about digging into wordpress.</p>
<p><strong>3. <a href="http://www.wpengineer.com/" target="_blank">WP Engineer</a></strong> &#8211; WordPress news, tipps, hacks, tutorials, plugins and themes.</p>
<p><strong>4. <a href="http://www.wptavern.com/" target="_blank">WP Tavern</a></strong> &#8211; a WordPress Tavern: where every drink is on the house.</p>
<p>I hope you&#8217;ve found the resources above useful. If you know another wordpress resource website, you can post a link to it as a comment.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.devtheweb.net/blog/2010/03/08/wordpress-resources/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Single huge css file vs. multiple smaller css files</title>
		<link>http://www.devtheweb.net/blog/2010/03/07/single-huge-css-file-vs-multiple-smaller-css-files/</link>
		<comments>http://www.devtheweb.net/blog/2010/03/07/single-huge-css-file-vs-multiple-smaller-css-files/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 13:25:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://www.devtheweb.net/blog/?p=1168</guid>
		<description><![CDATA[In my websites, I usually use a single css file for all css code in the site. Today I though more is it correct to be done instead of adding multiple, but smaller css files, here&#8217;s what I found: 1. When you have multiple css files, when a page is loading there&#8217;ll be multiple HTTP [...]]]></description>
			<content:encoded><![CDATA[<p>In my websites, I usually use a single css file for all css code in the site. Today I though more is it correct to be done instead of adding multiple, but smaller css files, here&#8217;s what I found:</p>
<p>1. When you have multiple css files, when a page is loading there&#8217;ll be multiple HTTP requests (for every css file), so it will slow down the loading of the web page.</p>
<p>2. If you have a single huge css file it&#8217;s hard to find something and make changes in the code.</p>
<p>I think the best solution is:</p>
<p>1. I have a single css file with many comments</p>
<div style="float: left; margin-right: 5px;"><!--adsense--></div>
<p>2. Before uploading the css file to the server, I remove the comments and all unnecessary code from the file using <a href="http://www.devtheweb.net/tools/reduce-code-size.aspx" target="_blank">my reduce code size tool</a> and into the server, I upload the optimized css file.</p>
<p>In this way, I have a file that allows me to make changes easily and in the same time the loading speed of my site is fast, because there&#8217;s only one HTTP request for the css.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.devtheweb.net/blog/2010/03/07/single-huge-css-file-vs-multiple-smaller-css-files/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

