<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet type='text/xsl' href='http://shref1.spaces.live.com/mmm2008-07-24_12.50/rsspretty.aspx?rssquery=en-US;http%3a%2f%2fshref1.spaces.live.com%2fcategory%2fprogramming%2ffeed.rss' version='1.0'?><rss version="2.0" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:msn="http://schemas.microsoft.com/msn/spaces/2005/rss" xmlns:live="http://schemas.microsoft.com/live/spaces/2006/rss" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:cf="http://www.microsoft.com/schemas/rss/core/2005" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Shref in Life: programming</title><description /><link>http://shref1.spaces.live.com/?_c11_BlogPart_BlogPart=blogview&amp;_c=BlogPart&amp;partqs=catprogramming</link><language>en-US</language><pubDate>Tue, 19 Aug 2008 20:36:51 GMT</pubDate><lastBuildDate>Tue, 19 Aug 2008 20:36:51 GMT</lastBuildDate><generator>Microsoft Spaces v1.1</generator><docs>http://www.rssboard.org/rss-specification</docs><ttl>60</ttl><cf:parentRSS>http://shref1.spaces.live.com/blog/feed.rss</cf:parentRSS><live:type>blogcategory</live:type><live:identity><live:id>3679367997941384284</live:id><live:alias>shref1</live:alias></live:identity><cf:listinfo><cf:group ns="http://schemas.microsoft.com/live/spaces/2006/rss" element="typelabel" label="Type" /><cf:group ns="http://schemas.microsoft.com/live/spaces/2006/rss" element="tag" label="Tag" /><cf:group element="category" label="Category" /><cf:sort element="pubDate" label="Date" data-type="date" default="true" /><cf:sort element="title" label="Title" data-type="string" /><cf:sort ns="http://purl.org/rss/1.0/modules/slash/" element="comments" label="Comments" data-type="number" /></cf:listinfo><item><title>Introduction to flying in AIR</title><link>http://shref1.spaces.live.com/Blog/cns!330FBDB3333C845C!459.entry</link><description>In the last days, I had the chance to play with the SDK of &lt;a href="http://labs.adobe.com/technologies/air/"&gt;AIR&lt;/a&gt; beta (Adobe Integrated Runtime). on Adobe's website they introduce it as :&lt;br&gt;&lt;br&gt;&lt;div style="margin-left:40px"&gt;&lt;span style="color:rgb(127, 127, 127)"&gt;Adobe® AIR™, formerly code-named Apollo, is a cross-operating system runtime that allows developers to use their existing web development skills to build and deploy rich Internet applications to the desktop.&lt;/span&gt;&lt;br&gt;&lt;/div&gt;&lt;br&gt;AIR is still in beta and till now it only supports the following operating systems&lt;br&gt;&lt;ul&gt;&lt;li&gt;Windows XP SP2&lt;li&gt;Windows Vista Home Ultimate Edition &lt;br&gt;&lt;li&gt;Mac OS 10.4.8 and 10.4.9 (Intel and PowerPC)&lt;/ul&gt;* they will start working on supporting linux after the 1.0 release.&lt;br&gt;&lt;br&gt;AIR mainly targets web developers. it allows you to develop desktop applications using your web development skills. you can develop AIR applications using HTML, JavaScript and Flash. you are not forced to use flash. you can only use HTML and JavaScript if you want.&lt;br&gt;&lt;br&gt;not like the normal web development, in your AIR apps you won't need to check for the type of the user's browser . AIR uses the open source &lt;a href="http://webkit.org"&gt;WebKit&lt;/a&gt; browser engine that's used by known web browsers like KHTML on KDE and Safari. &lt;br&gt;&lt;br&gt;as I didn't work with Flash before, I chose the option of developing using HTML and JavaScript only. the nice thing is that I still have full control as I can access the AIR, Flash player and ActionScript APIs from my JavaScript code. this will allow me to do things I'm not allowed to do in a normal web application.&lt;br&gt;&lt;br&gt;&lt;span style="font-weight:bold"&gt;AIR comes with &lt;/span&gt;&lt;br&gt;&lt;ul&gt;&lt;li&gt;embedded &lt;a href="http://www.sqlite.org/"&gt;SQLite&lt;/a&gt; database&lt;li&gt;native windowing API&lt;li&gt;file IO API&lt;li&gt;application update API&lt;li&gt;full control over your application's chrome&lt;li&gt;online/offline API &lt;br&gt;&lt;li&gt;drag and drop support &lt;br&gt;- Between operating system and Adobe AIR applications&lt;br&gt;- Between Adobe AIR applications&lt;br&gt;- Between native applications and Adobe AIR applications&lt;li&gt;native icons&lt;li&gt;standard installer&lt;br&gt;&lt;/ul&gt;you can see that not like the normal web applications, the AIR applications have access to your file system and this will make you think about security. so like any normal desktop app, you have to use trusted applications only.&lt;br&gt;&lt;br&gt;&lt;span style="font-weight:bold"&gt;What not to expect from AIR?&lt;/span&gt;&lt;br&gt;AIR won't replace the normal desktop applications. &lt;a href="http://blog.kevinhoyt.org"&gt;Kevin Hoyt&lt;/a&gt; explains this &lt;a href="http://blog.kevinhoyt.org/2007/06/22/why-not-an-air-application/"&gt;here&lt;/a&gt;. AIR aims to get the web to the desktop (not vice versa).&lt;br&gt;&lt;span style="font-weight:bold"&gt;&lt;/span&gt;&lt;br&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=3679367997941384284&amp;page=RSS%3a+Introduction+to+flying+in+AIR&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=shref1.spaces.live.com&amp;amp;GT1=shref1"&gt;</description><comments>http://shref1.spaces.live.com/Blog/cns!330FBDB3333C845C!459.entry#comment</comments><guid isPermaLink="true">http://shref1.spaces.live.com/Blog/cns!330FBDB3333C845C!459.entry</guid><pubDate>Mon, 23 Jul 2007 11:28:47 GMT</pubDate><slash:comments>1</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://shref1.spaces.live.com/blog/cns!330FBDB3333C845C!459/comments/feed.rss</wfw:commentRss><wfw:comment>http://shref1.spaces.live.com/Blog/cns!330FBDB3333C845C!459.entry#comment</wfw:comment><dcterms:modified>2007-07-23T11:28:47Z</dcterms:modified></item><item><title>Firebug Lite - it's for your non FF browser</title><link>http://shref1.spaces.live.com/Blog/cns!330FBDB3333C845C!403.entry</link><description>&lt;div&gt;I was in &lt;a href="http://getfirebug.com/"&gt;FireBug&lt;/a&gt;'s website today trying to find any new helpful tricks. I found &lt;a href="http://www.getfirebug.com/lite.html"&gt;FireBug Lite&lt;/a&gt;. I don't know if you were using it a long time ago while I was in my cave or what, but any way, it's a nice tool.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;a href="http://www.getfirebug.com/lite.html"&gt;Firebug Lite&lt;/a&gt; is a simple tool that allows you to use the normal Firebug consol in IE, Opera and Safari. I have been using it all the day with IE7 and Opera 9.1 and it's working very well except for some little problem with Opera, but it's still helpful. using Firebug Lite allowed me to use the &lt;em&gt;consol&lt;/em&gt; methods [consol.info(), consol.log() ..etc] in the other browsers without problems or errors. if you were using these methods before to cleanly test your code in FF, so you know that you had to remove these methods from your code when testing on other browsers and this is a boring thing.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Firebug Lite is a zipped file that you will extract on your website, then include the firebug.js file in your HTML page. now try to test your page in other browser than FF. to see the console, click shift+ctrl+L or F12. I prefer the first one as F12 won't work on Opera.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;if you are using the IE Developer toolbar, firebug Lite will be helpful too as the IE Developer tollbar is still in beta and it's not fully functioning yet.&lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=3679367997941384284&amp;page=RSS%3a+Firebug+Lite+-+it's+for+your+non+FF+browser&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=shref1.spaces.live.com&amp;amp;GT1=shref1"&gt;</description><comments>http://shref1.spaces.live.com/Blog/cns!330FBDB3333C845C!403.entry#comment</comments><guid isPermaLink="true">http://shref1.spaces.live.com/Blog/cns!330FBDB3333C845C!403.entry</guid><pubDate>Tue, 10 Apr 2007 22:38:53 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://shref1.spaces.live.com/blog/cns!330FBDB3333C845C!403/comments/feed.rss</wfw:commentRss><wfw:comment>http://shref1.spaces.live.com/Blog/cns!330FBDB3333C845C!403.entry#comment</wfw:comment><dcterms:modified>2007-04-10T22:46:42Z</dcterms:modified></item><item><title>Programmers Don't Like to Code</title><link>http://shref1.spaces.live.com/Blog/cns!330FBDB3333C845C!388.entry</link><description>&amp;quot;&lt;a href="http://rentzsch.com/notes/programmersDontLikeToCode"&gt;Programmers































Don't Like to































Code&lt;/a&gt;&amp;quot; is a great post. the writer is talking about why we are































coding. we aren't coding as we just love writing code. we do this as































part of the thing that really interests us. it's &amp;quot;solving problems&amp;quot;.































that's what we really like to do.&lt;br&gt;&lt;br&gt;people, this man































is saying the truth ...&lt;br&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=3679367997941384284&amp;page=RSS%3a+Programmers+Don't+Like+to+Code&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=shref1.spaces.live.com&amp;amp;GT1=shref1"&gt;</description><comments>http://shref1.spaces.live.com/Blog/cns!330FBDB3333C845C!388.entry#comment</comments><guid isPermaLink="true">http://shref1.spaces.live.com/Blog/cns!330FBDB3333C845C!388.entry</guid><pubDate>Fri, 16 Feb 2007 10:15:23 GMT</pubDate><slash:comments>3</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://shref1.spaces.live.com/blog/cns!330FBDB3333C845C!388/comments/feed.rss</wfw:commentRss><wfw:comment>http://shref1.spaces.live.com/Blog/cns!330FBDB3333C845C!388.entry#comment</wfw:comment><dcterms:modified>2007-02-16T10:15:23Z</dcterms:modified></item><item><title>ZF: l10n of numbers</title><link>http://shref1.spaces.live.com/Blog/cns!330FBDB3333C845C!333.entry</link><description>&lt;div&gt;Okay, it's my birthday but a little of programming won't be a bad thing :).&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Andre Hoffmann who's developing the Zend_Locale_UTF8 component is going to support the localization of numbers. f.e. you can display the numbers ( 0123456789 ) using Arabic digits ( ٠١٢٣٤٥٦٧٨٩ ) . this functionality will be used in other components like Zend_Currency and Zend_Locale_Format.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Andre didn't start working on it till now. this idea is still under discussion on the ZF-i18n mailinglist. we are now building our decisions depending on scenarios of Arabic digits. if your language isn't using the normal english digits (0123456789), it will be nice if you can help with some information to get your language's digits supported well.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;OT: I hope that we can get more Arabic developers working on ZF. you will get more experienced of things you didn't think about before.&lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=3679367997941384284&amp;page=RSS%3a+ZF%3a+l10n+of+numbers&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=shref1.spaces.live.com&amp;amp;GT1=shref1"&gt;</description><comments>http://shref1.spaces.live.com/Blog/cns!330FBDB3333C845C!333.entry#comment</comments><guid isPermaLink="true">http://shref1.spaces.live.com/Blog/cns!330FBDB3333C845C!333.entry</guid><pubDate>Tue, 17 Oct 2006 20:36:05 GMT</pubDate><slash:comments>2</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://shref1.spaces.live.com/blog/cns!330FBDB3333C845C!333/comments/feed.rss</wfw:commentRss><wfw:comment>http://shref1.spaces.live.com/Blog/cns!330FBDB3333C845C!333.entry#comment</wfw:comment><dcterms:modified>2006-10-17T20:36:05Z</dcterms:modified></item><item><title>getting RTL using markup or CSS</title><link>http://shref1.spaces.live.com/Blog/cns!330FBDB3333C845C!327.entry</link><description>&lt;div&gt;I'm Still working on the translation of the ZF-Docs to Arabic. in my last post I was talking about the problem we faced when we was trying to get the arabic words displayed from right to left &amp;quot;RTL&amp;quot; in DocBook and what I did to hack the XSL files to get it working.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;yesterday, one of the zend guys asked me about if modifying the DocBook XSL files is best practice or using CSS ? his point of view was that using css is more cleaner and this can be a best practice.&lt;/div&gt;
&lt;div&gt;I have another point of view which I had to explain it to him. in our situation using markup isn't similar to using css.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;here is part of my replay to him:&lt;/div&gt;
&lt;div&gt;================&lt;/div&gt;
&lt;div&gt; &lt;br&gt;     1- ignoring the css &amp;quot;direction&amp;quot; property is possible in any user agent as this is part of the styling . &lt;/div&gt;
&lt;div&gt;
&lt;p&gt;2- this inherits from 1 . css have to be used only for styling and we are here not styling but we are setting the direction of the data . &lt;br&gt;the directionality here is part of the data as the data will lose it's value if not displayed in the right way. so using the markup &amp;quot;dir&amp;quot; attribute is the right solution. &lt;br&gt;it can't be ignored by user agents and it's part of the data and not part of the styling.&lt;br&gt;&lt;br&gt;----------------------------------------&lt;/div&gt;
&lt;p&gt;he understood my point of view and agreed with me that using the markup here is better.&lt;br&gt;check this link from W3C for more &amp;quot;&lt;a href="http://www.w3.org/International/questions/qa-bidi-css-markup"&gt;FAQ: CSS vs. markup for bidi support&lt;/a&gt;&amp;quot; .&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=3679367997941384284&amp;page=RSS%3a+getting+RTL+using+markup+or+CSS&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=shref1.spaces.live.com&amp;amp;GT1=shref1"&gt;</description><comments>http://shref1.spaces.live.com/Blog/cns!330FBDB3333C845C!327.entry#comment</comments><guid isPermaLink="true">http://shref1.spaces.live.com/Blog/cns!330FBDB3333C845C!327.entry</guid><pubDate>Wed, 11 Oct 2006 01:02:19 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://shref1.spaces.live.com/blog/cns!330FBDB3333C845C!327/comments/feed.rss</wfw:commentRss><wfw:comment>http://shref1.spaces.live.com/Blog/cns!330FBDB3333C845C!327.entry#comment</wfw:comment><dcterms:modified>2006-10-11T01:02:19Z</dcterms:modified></item><item><title>Arabic support in DocBook</title><link>http://shref1.spaces.live.com/Blog/cns!330FBDB3333C845C!326.entry</link><description>Hi&lt;br&gt;The translation of the &lt;a href="http://framework.zend.com/manual/"&gt;ZF Docs&lt;/a&gt; (Zend Framework documentation) to Arabic faced some problems at the first. the documentation team using &lt;a href="http://sourceforge.net/projects/docbook/"&gt;DocBook&lt;/a&gt; as a documentation generator. me as a translator have to write the translated content in XML files in a known data structure. all this files will be compiled later be DocBook which generates XHTML files depending on XSL files defining how every thing in the XML files will be translated to XHTML.&lt;br&gt;&lt;br&gt;the problem was the Arabic support. DocBook is supporting many translations and the Arabic language is one of them. but they forgot something, the Arabic Language is written from right to left and there is no configuration files provided to control this thing. so I had to modify the XSL files to get what I want. &lt;br&gt;If you have the same problem, you can check my solution. you can read it on the &lt;a href="http://framework.zend.com/wiki/display/ZFDEV/Zend+Framework+Translator+-+DocBook+and+Right+to+Left+Languages"&gt;ZF Wiki&lt;/a&gt; .&lt;br&gt;&lt;br&gt;c u later&lt;br&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=3679367997941384284&amp;page=RSS%3a+Arabic+support+in+DocBook&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=shref1.spaces.live.com&amp;amp;GT1=shref1"&gt;</description><comments>http://shref1.spaces.live.com/Blog/cns!330FBDB3333C845C!326.entry#comment</comments><guid isPermaLink="true">http://shref1.spaces.live.com/Blog/cns!330FBDB3333C845C!326.entry</guid><pubDate>Fri, 29 Sep 2006 16:03:30 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://shref1.spaces.live.com/blog/cns!330FBDB3333C845C!326/comments/feed.rss</wfw:commentRss><wfw:comment>http://shref1.spaces.live.com/Blog/cns!330FBDB3333C845C!326.entry#comment</wfw:comment><dcterms:modified>2006-09-29T16:03:30Z</dcterms:modified></item><item><title>with subversion</title><link>http://shref1.spaces.live.com/Blog/cns!330FBDB3333C845C!246.entry</link><description>hi, &lt;br&gt;I was playing yesterday with &lt;a href="http://subversion.tigris.org/"&gt;Subversion&lt;/a&gt; . after a long 5 hours finished installing it.&lt;br&gt;it wasn't that bad, but I was facing some problems and errors in the first when ever I try to start the apache server.&lt;br&gt;but now every thing is working well. ( now I have 3 web servers on this machine )&lt;br&gt;&lt;br&gt;also I got a nice svn client called &lt;a href="http://tortoisesvn.tigris.org/"&gt;TortoiseSVN&lt;/a&gt; .&lt;br&gt;now every thing is working well. &lt;br&gt;&lt;br&gt;out of topic : have you seen that?! now this space is shref in life on live &lt;img src="http://shref1.spaces.live.com/mmm2006-07-28_14.20/rte/emoticons/smile_wink.gif"&gt;&lt;br&gt; I like it now but they need to make some fixes I think.&lt;br&gt;&lt;br&gt;c ya&lt;br&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=3679367997941384284&amp;page=RSS%3a+with+subversion&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=shref1.spaces.live.com&amp;amp;GT1=shref1"&gt;</description><comments>http://shref1.spaces.live.com/Blog/cns!330FBDB3333C845C!246.entry#comment</comments><guid isPermaLink="true">http://shref1.spaces.live.com/Blog/cns!330FBDB3333C845C!246.entry</guid><pubDate>Thu, 03 Aug 2006 11:08:44 GMT</pubDate><slash:comments>4</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://shref1.spaces.live.com/blog/cns!330FBDB3333C845C!246/comments/feed.rss</wfw:commentRss><wfw:comment>http://shref1.spaces.live.com/Blog/cns!330FBDB3333C845C!246.entry#comment</wfw:comment><dcterms:modified>2006-08-04T05:30:40Z</dcterms:modified></item><item><title>MySQL 5 &amp; stored procedures</title><link>http://shref1.spaces.live.com/Blog/cns!330FBDB3333C845C!146.entry</link><description>&lt;div&gt;hi all,&lt;/div&gt;
&lt;div&gt;did you know that the first &lt;a&gt;&lt;font color="#ff6600"&gt;MySQL 5.0 Release Candidate&lt;/font&gt; is Available&lt;/a&gt; now ?!!&lt;/div&gt;
&lt;div&gt;yes, that's right and you can get it from &lt;a href="http://dev.mysql.com/downloads/mysql/5.0.html"&gt;here&lt;/a&gt;.&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;i have recived the MySQL news letter 2 hours ago and iam so happy to see MySQL in a new style with its new features to be powerful enough to start the long way with Oracle, MS SQL and DB2 .&lt;/div&gt;
&lt;div&gt;may we have to wait another 3 years to see MySQL side by side with its competitors .&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;but let's see the most useful features in that release:&lt;/div&gt;
&lt;div&gt;1- stored procedures    (i like it so much)&lt;/div&gt;
&lt;div&gt;2- triggers&lt;/div&gt;
&lt;div&gt;3- views&lt;/div&gt;
&lt;div&gt;4- information schema  (i was in need of that)&lt;/div&gt;
&lt;div&gt;5- Archive storage engine &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;iam not a databases expert but i know the benefits of using the stored procedures in my applications and i want to thank tarik ibrahim as he was the first one who explained it to me .&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;in a little words : stored procedures are as same as the normal functions in php or c/c++ but it's stored in the database.&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;&lt;font color="#ff6600"&gt;&lt;/font&gt;&lt;/strong&gt; &lt;/div&gt;
&lt;div&gt;&lt;strong&gt;&lt;font color="#ff6600"&gt;Ex. &lt;/font&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style="border-right:#f5f5f5 1px solid;border-top:#f5f5f5 1px solid;border-left:#f5f5f5 1px solid;border-bottom:#f5f5f5 1px solid"&gt;&lt;font face="Courier New, Courier, Monospace" color="#993300" size=2&gt;CREATE PROCEDURE get_data(IN var1 INTEGER)&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace" color="#993300" size=2&gt;BEGIN&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace" color="#993300" size=2&gt;  IF var1 &amp;gt;= 5 THEN&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace" color="#993300" size=2&gt;  SELECT * FROM users WHERE id = var1;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace" color="#993300" size=2&gt;  ELSE&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace" color="#993300" size=2&gt;  SELECT * FROM admin WHERE id = var1;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace" color="#993300" size=2&gt;  END IF;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace" color="#993300" size=2&gt;END&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New"&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font face="Tahoma,Helvetica,Sans-Serif"&gt;maybe it's not clear for some people but reading  it again will make it familier to you and very simple.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;let's see what we can do with php:&lt;/div&gt;
&lt;div&gt;&lt;font color="#ff6600"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font color="#ff6600"&gt;&lt;strong&gt;Ex.&lt;/strong&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace" color="#993300" size=2&gt;$userID = 2 ;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace" color="#993300" size=2&gt;$result = mysql_query('call get_data('.$userID.')');&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New"&gt;&lt;/font&gt;&lt;font color="#993300"&gt; &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Tahoma,Helvetica,Sans-Serif"&gt;there is more advanced ways to use stored procedures and many many reasons to make it your first choice.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;a href="http://dev.mysql.com/"&gt;&lt;font face="Times New Roman, Times, Serif" size=2&gt;http://dev.mysql.com&lt;/font&gt;&lt;/a&gt;&lt;font face="Times New Roman, Times, Serif" size=2&gt;  for more and be ready to get the finished release soon.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=3679367997941384284&amp;page=RSS%3a+MySQL+5+%26+stored+procedures&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=shref1.spaces.live.com&amp;amp;GT1=shref1"&gt;</description><comments>http://shref1.spaces.live.com/Blog/cns!330FBDB3333C845C!146.entry#comment</comments><guid isPermaLink="true">http://shref1.spaces.live.com/Blog/cns!330FBDB3333C845C!146.entry</guid><pubDate>Wed, 28 Sep 2005 02:01:21 GMT</pubDate><slash:comments>2</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://shref1.spaces.live.com/blog/cns!330FBDB3333C845C!146/comments/feed.rss</wfw:commentRss><wfw:comment>http://shref1.spaces.live.com/Blog/cns!330FBDB3333C845C!146.entry#comment</wfw:comment><dcterms:modified>2005-11-23T17:45:33Z</dcterms:modified></item></channel></rss>