<?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>Stima Soft</title>
	<atom:link href="http://www.evolua.ro/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.evolua.ro</link>
	<description>Stima Soft web blog</description>
	<lastBuildDate>Wed, 14 Mar 2012 08:41:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Modify and filter the HTTP request headers sent to web servers</title>
		<link>http://www.evolua.ro/modify-and-filter-the-http-request-headers-sent-to-web-servers/</link>
		<comments>http://www.evolua.ro/modify-and-filter-the-http-request-headers-sent-to-web-servers/#comments</comments>
		<pubDate>Wed, 14 Mar 2012 08:39:56 +0000</pubDate>
		<dc:creator>Filip</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[webservice]]></category>

		<guid isPermaLink="false">http://www.evolua.ro/?p=476</guid>
		<description><![CDATA[Add, Replace and Filter HTTP request headers. Modify Headers allows modification of the HTTP request headers sent to web servers. This addon is particularly useful for Mobile web development, HTTP testing and privacy. Exemplu de a maska adresa IP sursa youtube Sursa Add-on aici]]></description>
			<content:encoded><![CDATA[<p>Add, Replace and Filter HTTP request headers.<br />
Modify Headers allows modification of the HTTP request headers sent to web servers.<br />
This addon is particularly useful for Mobile web development, HTTP testing and privacy.</p>
<p>Exemplu de a maska adresa IP <a href="http://www.youtube.com/watch?v=gHaALB42KsA">sursa youtube</a></p>
<p>Sursa Add-on <a href="https://addons.mozilla.org/en-US/firefox/addon/modify-headers/eula/138227?src=dp-btn-primary">aici</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.evolua.ro/modify-and-filter-the-http-request-headers-sent-to-web-servers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add-on FireQuery &#8211; simpla integrarea si rularea lui jquery in pagina web in firefox</title>
		<link>http://www.evolua.ro/add-on-firequery-simpla-integrarea-si-rularea-lui-jquery-in-pagina-web-in-firefox/</link>
		<comments>http://www.evolua.ro/add-on-firequery-simpla-integrarea-si-rularea-lui-jquery-in-pagina-web-in-firefox/#comments</comments>
		<pubDate>Wed, 14 Mar 2012 08:36:47 +0000</pubDate>
		<dc:creator>Filip</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.evolua.ro/?p=473</guid>
		<description><![CDATA[About this Add-on FireQuery is a collection of Firebug enhancements for jQuery. Requires Firebug 1.3 or greater. Features: jQuery expressions are intelligently presented in Firebug Console and DOM inspector attached jQuery data are first class citizens elements in jQuery collections are highlighted on hover jQuerify: enables you to inject jQuery into any page Video cum [...]]]></description>
			<content:encoded><![CDATA[<p>About this Add-on</p>
<p>FireQuery is a collection of Firebug enhancements for jQuery. Requires Firebug 1.3 or greater.</p>
<p>Features:</p>
<p>    jQuery expressions are intelligently presented in Firebug Console and DOM inspector<br />
    attached jQuery data are first class citizens<br />
    elements in jQuery collections are highlighted on hover<br />
    jQuerify: enables you to inject jQuery into any page</p>
<p>Video cum putem sa-l folosim <a href="http://www.youtube.com/watch?v=yeMCopPfy4w">sursa youtube</a></p>
<p>Sursa Add-on gasiti <a href="https://addons.mozilla.org/en-US/firefox/addon/firequery/?src=search">aici</a> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.evolua.ro/add-on-firequery-simpla-integrarea-si-rularea-lui-jquery-in-pagina-web-in-firefox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cum se pot trimite parametrii catre un javascript extern</title>
		<link>http://www.evolua.ro/cum-se-pot-trimite-parametrii-catre-un-javascript-extern/</link>
		<comments>http://www.evolua.ro/cum-se-pot-trimite-parametrii-catre-un-javascript-extern/#comments</comments>
		<pubDate>Fri, 02 Mar 2012 14:13:29 +0000</pubDate>
		<dc:creator>Filip</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://www.evolua.ro/?p=469</guid>
		<description><![CDATA[Presupunem ca avem un fisier extern care executa niste functii de javascript, acesta este inclus in pagina noastra folosing tagurile corespunzatoare < script type="text/javascript" language="JavaScript" src=".... < /script> in acest script vrem sa trimitem niste parametrii ?page=general&#038;id=123123 in tagul nostru de javascript extern scriem urmatoarele: < script type="text/javascript" language="JavaScript" src="do_javascript.php?page=general&#038;id=123123"/> in fisierul do_javascript.php setam header-ul [...]]]></description>
			<content:encoded><![CDATA[<p>Presupunem ca avem un fisier extern care executa niste functii de javascript, acesta este inclus in pagina noastra folosing tagurile corespunzatoare </p>
<p><strong>< script  type="text/javascript" language="JavaScript" src=".... < /script></strong></p>
<p>in acest script vrem sa trimitem niste parametrii </p>
<p><strong>?page=general&#038;id=123123</strong></p>
<p>in tagul nostru de javascript extern scriem urmatoarele:</p>
<p><strong>< script  type="text/javascript" language="JavaScript" src="do_javascript.php?page=general&#038;id=123123"/></strong></p>
<p>in fisierul   <strong>do_javascript.php</strong>   setam header-ul care seteaza fisierul ca fiind unul de javascript</p>
<p><strong><?php Header("content-type: application/x-javascript");?></strong></p>
<p>Initializam parametrii primiti din URL in formatul lui javascript,</p>
<p><strong><br />
<?php<br />
echo "var page = '{$_GET['page']}';";<br />
echo "var id = '{$_GET['id']}';";<br />
?><br />
</strong></p>
<p>In asa fel putem sa folosim parametrii trimisi prin request.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evolua.ro/cum-se-pot-trimite-parametrii-catre-un-javascript-extern/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>serializarea anumitor campuri din pagina si trimitearea acestoara pe server</title>
		<link>http://www.evolua.ro/serializarea-anumitor-campuri-din-pagina-si-trimitearea-acestoara-pe-server/</link>
		<comments>http://www.evolua.ro/serializarea-anumitor-campuri-din-pagina-si-trimitearea-acestoara-pe-server/#comments</comments>
		<pubDate>Thu, 01 Mar 2012 10:22:19 +0000</pubDate>
		<dc:creator>Filip</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://www.evolua.ro/?p=464</guid>
		<description><![CDATA[Folosind jQuery, se poate face minuni, asta stim cu totii o noua minune descoperita de mine este urmatoarea: am nevoie sa trimit catre server anumite campuri din pagina, o parte dintr-o forma, o parte din afara ei. ce trebuie sa fac? 1) definesc o clasa pentru acele campuri, ca sa-i pot sa identific ex: < [...]]]></description>
			<content:encoded><![CDATA[<p>Folosind jQuery, se poate face minuni, asta stim cu totii <img src='http://www.evolua.ro/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>o noua minune descoperita de mine este urmatoarea:</p>
<p>am nevoie sa trimit catre server anumite campuri din pagina, o parte dintr-o forma, o parte din afara ei.<br />
ce trebuie sa fac?</p>
<p>1) definesc o clasa pentru acele campuri, ca sa-i pot sa identific<br />
ex:<br />
< input type="text" name="first_name" <strong>class=&#8221;edit_field&#8221;</strong> value=&#8221;" / ></p>
<p>2) folosind functia <strong>.serializeArray()</strong> din libraria lui jQuery pentru a serializa rezultate in formatul JSON.</p>
<p>3) folosind ajax tot de la jQuery trimit parametrii serializati catre server, folosind metoda GET/POST</p>
<p>exemplu:</p>
<pre>
< script >
var fields = $(".edit_field").serializeArray();
// do update via ajax
$.ajax({
    type: "POST",
    url: "/users/update/",
    data:fields,
    success: function(data){}
});
< /script >
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.evolua.ro/serializarea-anumitor-campuri-din-pagina-si-trimitearea-acestoara-pe-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rewrite url</title>
		<link>http://www.evolua.ro/rewrite-url/</link>
		<comments>http://www.evolua.ro/rewrite-url/#comments</comments>
		<pubDate>Tue, 20 Dec 2011 14:29:44 +0000</pubDate>
		<dc:creator>iulia_n</dc:creator>
				<category><![CDATA[ASP.NET]]></category>

		<guid isPermaLink="false">http://www.evolua.ro/?p=434</guid>
		<description><![CDATA[Rewriting urls in Asp.Net is not a complicated thing if you remember some basic steps: 1. Any request will first go to Application_BeginRequest from Global.asax 2. Your online store must be designed in an easy way: - categories must be unique by name - subcategories must be unique by name in the same category (The [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #7ca2a2;">Rewriting urls in Asp.Net is not a complicated thing if you remember some basic steps:<br />
1. Any request will first go to Application_BeginRequest from Global.asax<br />
2. Your online store must be designed in an easy way:<br />
- categories must be unique by name<br />
- subcategories must be unique by name in the same category (The pair category-subcategory must be unique)<br />
In this way you can have as many levels as you want.</span></p>
<p><span style="color: #7ca2a2;">Using this advices, you will have a function that helps your users navigate through levels of categories.</span><br />
<em>protected void Application_BeginRequest(Object sender, EventArgs e)<br />
{</em></p>
<p style="padding-left: 30px;"><em>string fullOrigionalpath = Request.Url.ToString();<br />
string filePath = Request.FilePath.ToString();</em><br />
<em>if (filePath.ToLower().Contains(&#8220;sitemap.html&#8221;))<br />
{</em></p>
<p style="padding-left: 60px;"><span style="color: #808000;">//if you have a custom sitemap</span><em><br />
HttpContext.Current.RewritePath(Generics.HTTP.AppPath + &#8220;Sitemap.aspx&#8221;, false); </em></p>
<p style="padding-left: 30px;"><em>}</em><br />
<span style="color: #808000;">//<em>Generics.Constants.Page_EXT</em> in this case is &#8220;.html&#8221;</span><br />
<em>filePath = filePath.Replace(Generics.Constants.Page_EXT, string.Empty);<br />
string originalFilePath = filePath;</em></p>
<p style="padding-left: 30px;"><em>string path = Generics.HTTP.AppPath;</em></p>
<p style="padding-left: 30px;"><span style="color: #808000;">//HERE you add your code<br />
//first you can check if filePath  contains a product id. In this case:</span><br />
<em>path+=&#8221;Products.aspx?id_products=&#8221;+id_product;</em></p>
<p style="padding-left: 30px;"><span style="color: #808000;">//if filePath is not a product page, than you check your categories</span><br />
<em>Category categ=Utility.GetCAtegoryByFriendlyName(filePath);<br />
path+=&#8221;Category.aspx?id_category=&#8221;+categ.id;</em></p>
<p style="padding-left: 30px;"><span style="color: #808000;">//finally you need to rewrite path as needed</span><br />
<em>HttpContext.Current.RewritePath(path, false); </em></p>
<p>}</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evolua.ro/rewrite-url/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fun with popups</title>
		<link>http://www.evolua.ro/fun-with-popups/</link>
		<comments>http://www.evolua.ro/fun-with-popups/#comments</comments>
		<pubDate>Tue, 20 Dec 2011 09:45:03 +0000</pubDate>
		<dc:creator>iulia_n</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://www.evolua.ro/?p=417</guid>
		<description><![CDATA[Let&#8217;s say we have something like the next scenario: 1. We have a popup window for editing a record. 2. We need to select a value from a complex list of records, so we need another popup for this select. Problem: Our second popup is bigger then the first one, so we need to open [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #7ca2a2;">Let&#8217;s say we have something like the next scenario:<br />
1. We have a popup window for editing a record.<br />
2. We need to select a value from a complex list of records, so we need another popup for this select.</span></p>
<p><span style="color: #7ca2a2;">Problem:<br />
Our second popup is bigger then the first one, so we need to open it from our main page.<br />
By now, we manage to do this really easy. The main issue is when trying to pass the selected value from the second popup to first one. Remeber that we opened it from the main page.</span></p>
<p><span style="color: #7ca2a2;">Solution:</span></p>
<p><span style="color: #7ca2a2;">In the first popup we will have a function for opening the second popup.<br />
In this function we set a var childPage from the main page as a reference to our first popup.</span></p>
<p><em>function openPopup(){</em><br />
<em></p>
<p style="padding-left: 30px;">window.parent.setHiddenPageChild(window);<br />
window.parent.OpenModalWindow(params);</p>
<p></em><br />
<em>}</em></p>
<p><span style="color: #7ca2a2;">On the main page we have the <em>setHiddenPageChild</em> function</span></p>
<p><em>var childPage;<br />
function setHiddenPageChild(child){</em><br />
<em></em></p>
<p><em></p>
<p style="padding-left: 30px;">childPage=child;</p>
<p></em></p>
<p><em></em></p>
<p><em>}</em></p>
<p><span style="color: #7ca2a2;">and <em>setRecordFromResponse</em> function that will pass the selected value from the second popup to the first one.<br />
This function will be called from the second popup like this: <em>window.parent.setRecordFromResponse(response)</em></span></p>
<p><em>function setRecordFromResponse(response){</em></p>
<p style="padding-left: 30px;"><em>childPage.UseSelectedRecord(response);</em><br />
<span style="color: #808000;">//childPage served us well, so we will let it retire</span><br />
<em>childPage=null;</em></p>
<p><em>}</em></p>
<p><span style="color: #7ca2a2;"><em>Response</em> is the value selected in the second popup. It can be an id, a value or an object.<br />
Now we use <em>childPage</em> that was initialized at a previous step. This is how we can have access to the functions of the first popup</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.evolua.ro/fun-with-popups/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jQuery datetime picker problem</title>
		<link>http://www.evolua.ro/jquery-datetime-picker-problem/</link>
		<comments>http://www.evolua.ro/jquery-datetime-picker-problem/#comments</comments>
		<pubDate>Fri, 02 Dec 2011 07:04:21 +0000</pubDate>
		<dc:creator>gabrielm</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.evolua.ro/?p=408</guid>
		<description><![CDATA[Some days ago I run into the following problem with jQuery&#8217;s datetime picker. I have a form that contain a input field that I populate with a date/time picker.  If you populate the form on the server with some default values, the jQuery&#8217;s hidden fields wont get set unless you do some action on the [...]]]></description>
			<content:encoded><![CDATA[<p>Some days ago I run into the following problem with jQuery&#8217;s datetime picker.</p>
<p>I have a form that contain a input field that I populate with a date/time picker.  If you populate the form on the server with some default values, the jQuery&#8217;s hidden fields wont get set unless you do some action on the calendar.</p>
<p>The  solution  is to add <em>inline:true</em> to its options like this:</p>
<p>$(&#8220;#myDate&#8221;).datepicker({</p>
<p style="padding-left: 30px;">
inline: true,<br />
dateFormat: &#8216;yy-mm-dd&#8217;</p>
<p>});</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evolua.ro/jquery-datetime-picker-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>non-breaking space in MIME encoded, quoted-printable text</title>
		<link>http://www.evolua.ro/non-breaking-space-in-mime-encoded-quoted-printable-text/</link>
		<comments>http://www.evolua.ro/non-breaking-space-in-mime-encoded-quoted-printable-text/#comments</comments>
		<pubDate>Wed, 30 Nov 2011 15:30:36 +0000</pubDate>
		<dc:creator>Filip</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.evolua.ro/?p=404</guid>
		<description><![CDATA[in emailurile encodate cu quoted-printable apare un caracter &#8220;space&#8221; care nu poate fi parsat nici de php nici de C#, acesta reprezinta codul &#8220;=C2=A0&#8243; in bytes &#8220;C2 A0&#8243;. UTF-8 il translateaza in 00A0. ca sa scapam de acest caracter trebuie sa-l decodam folosind functia &#8220;quoted_printable_decode&#8221; si apoi sa eliminam sir de caractere &#8220;=C2=A0&#8243; sau &#8220;\xC2\xA0&#8243; [...]]]></description>
			<content:encoded><![CDATA[<p>in emailurile encodate cu quoted-printable apare un caracter &#8220;space&#8221; care nu poate fi parsat nici de php nici de C#, acesta reprezinta codul &#8220;=C2=A0&#8243; in bytes &#8220;C2 A0&#8243;. </p>
<p>UTF-8 il translateaza in 00A0.</p>
<p>ca sa scapam de acest caracter trebuie sa-l decodam folosind functia &#8220;quoted_printable_decode&#8221; si apoi sa eliminam sir de caractere &#8220;=C2=A0&#8243; sau &#8220;\xC2\xA0&#8243;</p>
<p>mai multe informatii gasiti <a href="http://php.net/manual/en/function.quoted-printable-decode.php"">aici</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.evolua.ro/non-breaking-space-in-mime-encoded-quoted-printable-text/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nice jQuery Popup Modal Dialog Plugin</title>
		<link>http://www.evolua.ro/jquery-popup-modal-dialog-plugin/</link>
		<comments>http://www.evolua.ro/jquery-popup-modal-dialog-plugin/#comments</comments>
		<pubDate>Wed, 30 Nov 2011 07:12:26 +0000</pubDate>
		<dc:creator>gabrielm</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[fancybox]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://www.evolua.ro/?p=393</guid>
		<description><![CDATA[One of the best jQuery plugins to display a popup modal window is fancybox The usage is simple: $(&#8220;.popup&#8221;).fancybox(); $.fancybox.resize(); and make sure your link has popup class. It will load the page pointed by your link href and resize as needed. What if you display a form in the popup and want to reload [...]]]></description>
			<content:encoded><![CDATA[<p>One of the best jQuery plugins to display a popup modal window is <a title="jQuery popup" href="http://fancybox.net/" target="_blank">fancybox</a></p>
<p>The usage is simple:</p>
<p>$(&#8220;.popup&#8221;).fancybox();<br />
$.fancybox.resize();</p>
<p>and make sure your link has popup class. It will load the page pointed by your link href and resize as needed.</p>
<p>What if you display a form in the popup and want to reload it with an success message? Use this: $(&#8216;#fancybox-content&#8217;).html(data); where data is the content you want to show in popup.</p>
<p>For example, using ajax to submit the form:</p>
<address style="padding-left: 30px;">$.ajax({ </address>
<address style="padding-left: 60px;"> url: &#8216;exemple.com&#8217;, </address>
<address style="padding-left: 60px;"> data: $(&#8216;#form1&#8242;).serialize(),</address>
<address style="padding-left: 60px;"> type: &#8216;post&#8217;, </address>
<address style="padding-left: 60px;"> cache: false,</address>
<address style="padding-left: 60px;"> dataType: &#8216;html&#8217;, </address>
<address style="padding-left: 60px;"> success: function (data) {</address>
<address style="padding-left: 90px;"> $(&#8216;#fancybox-content&#8217;).html(data); </address>
<address style="padding-left: 90px;"> $.fancybox.resize(); </address>
<address style="padding-left: 60px;"> }, </address>
<address style="padding-left: 60px;"> error:function (e,data) {  alert(e);  }</address>
<address style="padding-left: 30px;">});</address>
]]></content:encoded>
			<wfw:commentRss>http://www.evolua.ro/jquery-popup-modal-dialog-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP &#8211; create class properties at runtime</title>
		<link>http://www.evolua.ro/php-create-class-properties-at-runtime/</link>
		<comments>http://www.evolua.ro/php-create-class-properties-at-runtime/#comments</comments>
		<pubDate>Wed, 30 Nov 2011 06:55:14 +0000</pubDate>
		<dc:creator>gabrielm</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.evolua.ro/?p=380</guid>
		<description><![CDATA[How to dynamically create  in PHP a property for an object? If the object  is $foo you use this syntax: $this-&#62;{$property} = &#8216;a value&#8217;; For example: &#60;?php class foo { public function setProperty($n, $v) { &#160;&#160;&#160;$this-&#62;{$n} = $v; } } $foo = new foo(); $foo-&#62;setProperty('property1','value1'); echo $foo-&#62;property1; //will display value1 ?&#62;]]></description>
			<content:encoded><![CDATA[<p>How to dynamically create  in PHP a property for an object?</p>
<p>If the object  is $foo you use this syntax: $this-&gt;{$property} = &#8216;a value&#8217;;</p>
<p>For example:</p>
<p><code>&lt;?php</code></p>
<p><code>class foo</code><code> {</code></p>
<p style="padding-left: 30px;"><code>public function setProperty($n, $v)<br />
{<br />
&nbsp;&nbsp;&nbsp;$this-&gt;{$n} = $v;<br />
}</p>
<p>}</code><br />
<code> </code></p>
<p><code>$foo = new foo();<br />
$foo-&gt;setProperty('property1','value1');<br />
echo $foo-&gt;property1; //will display value1<br />
?&gt;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.evolua.ro/php-create-class-properties-at-runtime/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>


