Friday, 10 June 2011

Rong and wright

What is the difference between an educated professional and an intelligent enthusiast?
Answer: the devil which is in the page sources.

It might look the same, but it is not.

What do you see here?


<table border="0" >
<tr>
<td valign="top">
...
<table border="0" cellpadding="0" cellspacing="6" width="264px">
<tr onmouseover=" $get(&quot;editCategory0&quot;).src=&quot;../Resources/Icons/64x64/pencil.png&quot;; $get(&quot;deleteCategory0&quot;).src=&quot;../Resources/Icons/64x64/circle-delete.png&quot; " onmouseout=" $get(&quot;editCategory0&quot;).src=&quot;../Resources/Icons/64x64/_blank.png&quot;; $get(&quot;deleteCategory0&quot;).src=&quot;../Resources/Icons/64x64/_blank.png&quot; ">
       <td width="32px"><input type="image" name="ctl00$MainContent$Categories$deleteCategory0" id="deleteCategory0" OBJECTID="87d239c3-8ef2-49d4-a97e-f51f6fee1448" src="../Resources/Icons/64x64/_blank.png" alt="Del" onclick="return confirm(&#39;Are you sure want to delete a category Universe?&#39;);" style="border-width:0px;border-style:None;height:20px;width:20px;" /></td>
       <td width="200px"><input type="submit" name="ctl00$MainContent$Categories$ctl08" value="Universe" OBJECTID="87d239c3-8ef2-49d4-a97e-f51f6fee1448" style="background-color:#CCFFFF;border-width:0px;border-style:None;text-decoration:none;height:30px;width:200px;" /></td>
       <td width="32px"><input type="image" name="ctl00$MainContent$Categories$editCategory0" id="editCategory0" OBJECTID="87d239c3-8ef2-49d4-a97e-f51f6fee1448" src="../Resources/Icons/64x64/_blank.png" alt="Edit" style="border-width:0px;border-style:None;height:20px;width:20px;" /></td>
</tr>

</table>

Yes, these are nested tables. Also, inline javascript and embedded styles.
Seasoned web developers cry bloody tears.

Well, I wanted it to be the long way to success. I started building my spaceship from re-inventing the steam engine. No surprises, I did re-invent one.

This is what I call I-can-figure-it-out-myself attitude.
This is what I call if-you-know-the-basics-you-can-code-in-any-language attitude.
If the requirements are clear even a monkey can code it.

Now it is the time to make it right.

No comments:

Post a Comment