<?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/"
	>

<channel>
	<title>"Knowhows" from Stoil Gyuviyski</title>
	<atom:link href="http://knowhow.gyuviyski.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://knowhow.gyuviyski.com</link>
	<description>Another blog with hopefully useful information</description>
	<pubDate>Sun, 29 Aug 2010 14:11:24 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Coordinates Finder with Google Maps</title>
		<link>http://knowhow.gyuviyski.com/?p=96</link>
		<comments>http://knowhow.gyuviyski.com/?p=96#comments</comments>
		<pubDate>Sun, 29 Aug 2010 14:11:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[coordinates]]></category>

		<category><![CDATA[example]]></category>

		<category><![CDATA[finder]]></category>

		<category><![CDATA[google]]></category>

		<category><![CDATA[maps]]></category>

		<guid isPermaLink="false">http://knowhow.gyuviyski.com/?p=96</guid>
		<description><![CDATA[This article is about how to find coordinates by moving around the map using Google Maps JavaScript API V3.
The example, I have started from is Find latitude and longitude with Google Maps (using V2).
And here is the upgrade:
&#60;input type=&#8221;text&#8221; value=&#8221;" id=&#8221;latitude&#8221; name=&#8221;latitude&#8221; /&#62;
&#60;input type=&#8221;text&#8221; value=&#8221;" id=&#8221;longtitude&#8221; name=&#8221;longtitude&#8221; /&#62;
&#60;div id=&#8221;map_canvas&#8221; style=&#8221;width: 100%; height: 500px&#8221;&#62;&#60;!&#8211;  &#8211;&#62;&#60;/div&#62;
&#60;script type=&#8221;text/javascript&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>This article is about how to find coordinates by moving around the map using <a title="Google Maps JavaScript API V3" href="http://code.google.com/apis/maps/documentation/javascript/" target="_blank">Google Maps JavaScript API V3</a>.</p>
<p>The example, I have started from is <a title="Find latitude and longtitude" href="http://universimmedia.pagesperso-orange.fr/geo/loc.htm" target="_blank">Find latitude and longitude with Google Maps</a> (using V2).</p>
<p>And here is the upgrade:</p>
<blockquote><p>&lt;input type=&#8221;text&#8221; value=&#8221;" id=&#8221;latitude&#8221; name=&#8221;latitude&#8221; /&gt;<br />
&lt;input type=&#8221;text&#8221; value=&#8221;" id=&#8221;longtitude&#8221; name=&#8221;longtitude&#8221; /&gt;</p>
<p>&lt;div id=&#8221;map_canvas&#8221; style=&#8221;width: 100%; height: 500px&#8221;&gt;&lt;!&#8211;  &#8211;&gt;&lt;/div&gt;<br />
&lt;script type=&#8221;text/javascript&#8221; src=&#8221;http://maps.google.com/maps/api/js?sensor=false&#8221;&gt;&lt;/script&gt;<br />
&lt;script type=&#8221;text/javascript&#8221;&gt;</p>
<p>function loadCoordinatesFinder(aLat, aLng)<br />
{<br />
var latlng = new google.maps.LatLng(aLat, aLng);<br />
var myOptions = {<br />
zoom: 15,<br />
center: latlng,<br />
mapTypeId: google.maps.MapTypeId.HYBRID<br />
};<br />
var map = new google.maps.Map(document.getElementById(&#8221;map_canvas&#8221;), myOptions);</p>
<p>var marker = new google.maps.Marker({<br />
position: map.center,<br />
map: map,<br />
draggable: true<br />
});</p>
<p>google.maps.event.addListener(marker, &#8220;dragend&#8221;, function() {<br />
var point = marker.getPosition();<br />
map.setCenter(point);<br />
populateLatLng(point);<br />
});</p>
<p>google.maps.event.addListener(map, &#8220;dragend&#8221;, function() {<br />
var point = map.center;<br />
marker.setPosition(point);<br />
populateLatLng(point);<br />
});</p>
<p>}</p>
<p>function populateLatLng(aLatLng)<br />
{<br />
$(&#8221;#latitude&#8221;).val(aLatLng.lat().toFixed(5));<br />
$(&#8221;#longtitude&#8221;).val(aLatLng.lng().toFixed(5));</p>
<p>}<br />
loadCoordinatesFinder(42.67217, 23.36631);<br />
&lt;/script&gt;</p></blockquote>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://knowhow.gyuviyski.com/?feed=rss2&amp;p=96</wfw:commentRss>
		</item>
		<item>
		<title>Remove tooltips - jQuery Tools</title>
		<link>http://knowhow.gyuviyski.com/?p=94</link>
		<comments>http://knowhow.gyuviyski.com/?p=94#comments</comments>
		<pubDate>Fri, 20 Aug 2010 20:51:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[delete]]></category>

		<category><![CDATA[remove]]></category>

		<category><![CDATA[tooltip]]></category>

		<guid isPermaLink="false">http://knowhow.gyuviyski.com/?p=94</guid>
		<description><![CDATA[Recently I met a problem implementing ajax form validation, in particular errors displaying.
I used jQuerry Tools (tooltip tool). Errors were displaying perfectly, but when I filled in form field with a valid value the error message was still there. The problem was that I have not erased error tooltips on validation start.
This is how to [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I met a problem implementing ajax form validation, in particular errors displaying.</p>
<p>I used jQuerry Tools (tooltip tool). Errors were displaying perfectly, but when I filled in form field with a valid value the error message was still there. The problem was that I have not erased error tooltips on validation start.</p>
<p>This is how to remove <a title="tooltip" href="http://flowplayer.org/tools/tooltip/index.html" target="_blank">tooltips</a> programatically</p>
<blockquote><p>$(&#8217;input&#8217;).attr(&#8217;title&#8217;, &#8221;).data(&#8217;tooltip&#8217;, null);<br />
$(&#8217;.tooltip&#8217;).remove();</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://knowhow.gyuviyski.com/?feed=rss2&amp;p=94</wfw:commentRss>
		</item>
		<item>
		<title>How to remove html select options using jQuery</title>
		<link>http://knowhow.gyuviyski.com/?p=91</link>
		<comments>http://knowhow.gyuviyski.com/?p=91#comments</comments>
		<pubDate>Fri, 20 Aug 2010 20:29:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[jquery]]></category>

		<category><![CDATA[options]]></category>

		<category><![CDATA[select]]></category>

		<guid isPermaLink="false">http://knowhow.gyuviyski.com/?p=91</guid>
		<description><![CDATA[Most examples you will find in the web tell you
$(&#8217;#your_select&#8217;).html(&#8221;);
And it works!
But what happens if after that you want to add some options to your select control, for example
$(&#8217;#your_select&#8217;).append(&#8217;&#60;option value=&#8221;xxx&#8221;&#62;yyy&#60;/option&#62;&#8217;);
It doesn&#8217;t works &#8230; on IE.
And here is the solution
$(&#8217;#your_select&#8217;).find(&#8217;option&#8217;).remove();
]]></description>
			<content:encoded><![CDATA[<p>Most examples you will find in the web tell you</p>
<blockquote><p>$(&#8217;#your_select&#8217;).html(&#8221;);</p></blockquote>
<p>And it works!</p>
<p>But what happens if after that you want to add some options to your select control, for example</p>
<blockquote><p>$(&#8217;#your_select&#8217;).append(&#8217;&lt;option value=&#8221;xxx&#8221;&gt;yyy&lt;/option&gt;&#8217;);</p></blockquote>
<p>It doesn&#8217;t works &#8230; on IE.</p>
<p>And here is the solution</p>
<blockquote><p><strong><span style="color: #008000;">$(&#8217;#your_select&#8217;).find(&#8217;option&#8217;).remove();</span></strong></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://knowhow.gyuviyski.com/?feed=rss2&amp;p=91</wfw:commentRss>
		</item>
		<item>
		<title>Synchronizing Your Zend Studio Project with a Linux Server</title>
		<link>http://knowhow.gyuviyski.com/?p=89</link>
		<comments>http://knowhow.gyuviyski.com/?p=89#comments</comments>
		<pubDate>Fri, 12 Mar 2010 09:14:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Zend Studio]]></category>

		<guid isPermaLink="false">http://knowhow.gyuviyski.com/?p=89</guid>
		<description><![CDATA[Many web developers prefer to keep their projects consistently  synchronized with a staging server. This enables previewing how the code  works and debugging it on the server right  away. Currently, Zend Studio has very limited support for such a  scenario. However, the functionality of Zend Studio can sometimes easily  be [...]]]></description>
			<content:encoded><![CDATA[<p>Many web developers prefer to keep their projects consistently  synchronized with a staging server. This enables previewing how the code  works and <span class="glossaryItem" onclick="ShowGlossaryItem('glossary_1', glosarry_items[2]);" onmouseout="HideGlossaryItem('glossary_1');">debugging</span> it on the server right  away. Currently, Zend Studio has very limited support for such a  scenario. However, the functionality of Zend Studio can sometimes easily  be extended using the Eclipse platform features.</p>
<p>This article suggests a way to synchronize your projects with a  remote Linux server using &#8216;rsync&#8217;.</p>
<p class="articleTitle">Here is the source article - <a title="How to Keep Your Zend Studio Project Synchronized with a Linux Server" href="http://kb.zend.com/index.php?View=entry&amp;EntryID=414" target="_blank">How to Keep Your Zend Studio Project  Synchronized with a Linux Server</a></p>
]]></content:encoded>
			<wfw:commentRss>http://knowhow.gyuviyski.com/?feed=rss2&amp;p=89</wfw:commentRss>
		</item>
		<item>
		<title>OpenInviter like a Zend Framework compatible library</title>
		<link>http://knowhow.gyuviyski.com/?p=79</link>
		<comments>http://knowhow.gyuviyski.com/?p=79#comments</comments>
		<pubDate>Tue, 27 Oct 2009 08:59:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Zend]]></category>

		<category><![CDATA[OpenInviter]]></category>

		<category><![CDATA[zend]]></category>

		<guid isPermaLink="false">http://knowhow.gyuviyski.com/?p=79</guid>
		<description><![CDATA[This tutorial presents one way to use OpenInviter (version 1.7.6) like a library in your Zend Framework projects.
The steps:

Download and &#8220;install&#8221; OpenInviter from here.
Test if OenInviter works.
Lets suppose that you&#8217;ve installed it in MyProject/library/OpenInviter and you are using Zend autoloading.
Create file MyProject/library/OpenInviter/Service.php and paste the code from below in it.
Modify openinviter.php, method startPlugin if (!class_exists($plugin_name)) [...]]]></description>
			<content:encoded><![CDATA[<p>This tutorial presents one way to use OpenInviter (version 1.7.6) like a library in your Zend Framework projects.</p>
<p>The steps:</p>
<ul>
<li>Download and &#8220;install&#8221; OpenInviter from <a href="http://openinviter.com/" target="_blank">here</a>.</li>
<li>Test if OenInviter works.</li>
<li>Lets suppose that you&#8217;ve installed it in MyProject/library/OpenInviter and you are using Zend autoloading.</li>
<li>Create file MyProject/library/OpenInviter/Service.php and paste the code from below in it.</li>
<li>Modify openinviter.php, method startPlugin <em>if (!class_exists($plugin_name)) require_once($this-&gt;basePath.&#8221;/plugins/{$plugin_name}.plg.php&#8221;);</em> with <em>require_once($this-&gt;basePath.&#8221;/plugins/{$plugin_name}.plg.php&#8221;); </em>I know that it&#8217;s not good practice to change library code, but this modification will prevent some restrictions on your project&#8217;s autoloading.</li>
<li>Show the demo:</li>
</ul>
<blockquote><p>&lt;?php</p>
<p>class TestsController extends Zend_Controller_Action<br />
{</p>
<p>public function openInviterAction()<br />
{<br />
$this-&gt;view-&gt;layout()-&gt;disableLayout();<br />
$this-&gt;_helper-&gt;viewRenderer-&gt;setNoRender(true);</p>
<p>$inviter = new OpenInviter_Service();</p>
<p>p($inviter-&gt;getPlugins());// get all services<br />
p($inviter-&gt;getPlugins(&#8217;email&#8217;));// get all services<br />
p($inviter-&gt;getPlugins(&#8217;email&#8217;, &#8216;gmail&#8217;));// get gmail plugin properties<br />
p($inviter-&gt;getPlugins(&#8217;email&#8217;, &#8216;gmail&#8217;, &#8216;version&#8217;));// get gmail plugin version</p>
<p>// get contacts<br />
p($inviter-&gt;getContacts(&#8217;me@example.com&#8217;, &#8216;mypass&#8217;, &#8216;example&#8217;));</p>
<p>}</p>
<p>}</p></blockquote>
<p><em><span style="color: #ff0000;">* p() is a print function.</span></em></p>
<p><em><span style="text-decoration: underline;"><strong>Service.php</strong></span></em></p>
<blockquote><p>&lt;?php</p>
<p>require_once &#8216;openinviter.php&#8217;;</p>
<p>/**<br />
* This class is the connection between OpenInviter service and Zend Framework.<br />
* The class is implemented only for extracting contacts.<br />
*<br />
* @tutorial<br />
*<br />
*         $inviter = new OpenInviter_Service();<br />
*<br />
*       p($inviter-&gt;getPlugins());// get all services<br />
*      p($inviter-&gt;getPlugins(&#8217;email&#8217;));// get all services<br />
*       p($inviter-&gt;getPlugins(&#8217;email&#8217;, &#8216;gmail&#8217;));// get gmail plugin properties<br />
*       p($inviter-&gt;getPlugins(&#8217;email&#8217;, &#8216;gmail&#8217;, &#8216;version&#8217;));// get gmail plugin version<br />
*<br />
*       // get contacts<br />
*       p($inviter-&gt;getContacts(&#8217;me@example.com&#8217;, &#8216;mypass&#8217;, &#8216;example&#8217;));<br />
*<br />
*<br />
* @author stoil<br />
* @link http://openinviter.com/<br />
* @uses OpenInviter 1.7.6<br />
*<br />
*/<br />
class OpenInviter_Service<br />
{<br />
const PATH_PLUGINS = &#8216;plugins/&#8217;;</p>
<p>protected $_messages = array();<br />
protected $_plugins;<br />
protected $_openInviter;</p>
<p>/*~~~~~~~~~~ private methods ~~~~~~~~~~*/<br />
private function _loadPlugins()<br />
{<br />
if($this-&gt;_plugins === null) {<br />
$this-&gt;_plugins = $this-&gt;getOpenInviter()-&gt;getPlugins(false);<br />
}<br />
}</p>
<p>/*~~~~~~~~~~ protected methods ~~~~~~~~~~*/</p>
<p>protected function _addMessage($code, $message, $type = &#8216;error&#8217;)<br />
{<br />
$this-&gt;_messages[$type][$code] = $message;<br />
}</p>
<p>protected function _initAutoload()<br />
{<br />
set_include_path(<br />
dirname(realpath(__FILE__)) . DIRECTORY_SEPARATOR . self::PATH_PLUGINS.<br />
PATH_SEPARATOR.<br />
get_include_path()<br />
);<br />
}</p>
<p>/*~~~~~~~~~~ constructor ~~~~~~~~~~*/</p>
<p>public function __construct()<br />
{<br />
$this-&gt;_initAutoload();<br />
$this-&gt;_openInviter = new openinviter();<br />
$this-&gt;_loadPlugins();<br />
}</p>
<p>/*~~~~~~~~~~ public methods ~~~~~~~~~~*/</p>
<p>/**<br />
* Update plugins<br />
*/<br />
public function updatePlugins()<br />
{<br />
$this-&gt;_plugins = $this-&gt;getOpenInviter()-&gt;getPlugins(true);<br />
}</p>
<p>/**<br />
* Get plugin(s), provider(s) or provider details<br />
* @param $type<br />
* @param $provider<br />
* @param $detail<br />
* @return unknown_type<br />
*/<br />
public function getPlugins($type = null, $provider = null, $detail = null)<br />
{<br />
if ($type !== null) {<br />
if ($provider !== null) {<br />
if ($detail !== null) {<br />
return $this-&gt;_plugins[$type][$provider][$detail];<br />
} else {<br />
return $this-&gt;_plugins[$type][$provider];<br />
}<br />
} else {<br />
return $this-&gt;_plugins[$type];<br />
}<br />
} else {<br />
return $this-&gt;_plugins;<br />
}<br />
}</p>
<p>/**<br />
* @return openinviter<br />
*/<br />
protected function getOpenInviter()<br />
{<br />
return $this-&gt;_openInviter;<br />
}</p>
<p>/**<br />
* Get system messages<br />
* @param string $type<br />
* @return array<br />
*/<br />
public function getMessages($type = null)<br />
{<br />
if($type !== null) {<br />
return $this-&gt;_messages[$type];<br />
} else {<br />
return $this-&gt;_messages;<br />
}<br />
}</p>
<p>/**<br />
* Get email clients<br />
* @param string $email<br />
* @param string $password<br />
* @param string $provider<br />
* @return array<br />
*/<br />
public function getContacts($email, $password, $provider)<br />
{<br />
$contacts = array();</p>
<p>$this-&gt;getOpenInviter()-&gt;startPlugin($provider);</p>
<p>$internalError = $this-&gt;getOpenInviter()-&gt;getInternalError();<br />
if ($internalError) {<br />
$this-&gt;_addMessage(&#8217;inviter&#8217;, $internalError);<br />
} elseif (! $this-&gt;getOpenInviter()-&gt;login($email, $password)) {<br />
$internalError = $this-&gt;getOpenInviter()-&gt;getInternalError();<br />
$this-&gt;_addMessage(<br />
&#8216;login&#8217;,<br />
($internalError<br />
? $internalError<br />
: &#8220;Login failed. Please check the email and password you have provided and try again later !&#8221;<br />
)<br />
);<br />
} elseif (false === $contacts = $this-&gt;getOpenInviter()-&gt;getMyContacts()) {<br />
$this-&gt;_addMessage(&#8217;contacts&#8217;, &#8220;Unable to get contacts !&#8221;);<br />
}</p>
<p>return $contacts;<br />
}</p>
<p>}</p></blockquote>
<p>I know that it&#8217;s not perfect and fully implemented but the aim here is to present the idea.<span style="color: #ff0000;"> </span></p>
]]></content:encoded>
			<wfw:commentRss>http://knowhow.gyuviyski.com/?feed=rss2&amp;p=79</wfw:commentRss>
		</item>
		<item>
		<title>Connecting to the Zend_Amf_Server from Flash</title>
		<link>http://knowhow.gyuviyski.com/?p=71</link>
		<comments>http://knowhow.gyuviyski.com/?p=71#comments</comments>
		<pubDate>Fri, 23 Oct 2009 09:18:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Zend]]></category>

		<category><![CDATA[amf]]></category>

		<category><![CDATA[flash]]></category>

		<category><![CDATA[zend]]></category>

		<guid isPermaLink="false">http://knowhow.gyuviyski.com/?p=71</guid>
		<description><![CDATA[It spent almost 4 hours to implement and run zend amf example reading this manual http://framework.zend.com/manual/en/zend.amf.server.html#zend.amf.server.flash . Believe me, it&#8217;s frustrating for a man that have never touched action script.
So I decided to post this hoping it will help somebody.
These are the steps you have to follow:

Create your service provider class. For example:

&#60;?php
class Service_World
{
/**
*
* @param [...]]]></description>
			<content:encoded><![CDATA[<p>It spent almost 4 hours to implement and run zend amf example reading this manual <a href="http://framework.zend.com/manual/en/zend.amf.server.html#zend.amf.server.flash" target="_blank">http://framework.zend.com/manual/en/zend.amf.server.html#zend.amf.server.flash</a> . Believe me, it&#8217;s frustrating for a man that have never touched action script.</p>
<p>So I decided to post this hoping it will help somebody.</p>
<p>These are the steps you have to follow:</p>
<ul>
<li>Create your service provider class. For example:</li>
</ul>
<blockquote><p>&lt;?php</p>
<p>class Service_World<br />
{<br />
/**<br />
*<br />
* @param string $name<br />
* @param string $greeting<br />
* @return string<br />
*/<br />
public function hello($name, $greeting = &#8216;Hello&#8217;)<br />
{<br />
return $greeting . &#8216;, &#8216; . $name;<br />
}<br />
}</p></blockquote>
<ul>
<li>Create some url that you will put your service. For example:</li>
</ul>
<blockquote><p>&lt;?php<br />
class Admin_ServicesController extends Zend_Controller_Action<br />
{<br />
public function init()<br />
{<br />
$this-&gt;_helper-&gt;viewRenderer-&gt;setNoRender(true);<br />
$this-&gt;_helper-&gt;layout-&gt;disableLayout();<br />
}</p>
<p>public function flashAction()<br />
{<br />
$server = new Zend_Amf_Server();<br />
$server-&gt;setProduction(false);<br />
$server-&gt;setClass(&#8217;Service_World&#8217;);<br />
$response = $server-&gt;handle();<br />
echo $response;<br />
}<br />
}</p></blockquote>
<ul>
<li>Download and install Addobe Flash CS&lt;3,4,..&gt; and follow steps from manual to create *.fla and *.as.</li>
<li>If you are new at flash here &#8230;. everything ends.</li>
<li>But&#8230;..</li>
<li>Try with this action script:</li>
</ul>
<blockquote><p>package {<br />
import flash.display.MovieClip;<br />
import flash.events.*;<br />
import flash.net.NetConnection;<br />
import flash.net.Responder;</p>
<p>public class Main extends MovieClip {<br />
private var gateway:String = &#8220;http://nikon.cmonjour.bg/admin/services/flash&#8221;;<br />
private var connection:NetConnection;<br />
private var responder:Responder;</p>
<p>public function Main() {<br />
responder = new Responder(onResult, onFault);<br />
connection = new NetConnection;<br />
connection.connect(gateway);<br />
onComplete();<br />
}</p>
<p>public function onComplete( e:Event=null):void{<br />
var params = &#8220;Sent to Server&#8221;;<br />
connection.call(&#8221;Service_World.hello&#8221;, responder, params);<br />
}</p>
<p>private function onResult(result:Object):void {<br />
// Display the returned data<br />
trace(String(result));<br />
}<br />
private function onFault(fault:Object):void {<br />
trace(String(fault.description));<br />
}<br />
}<br />
}</p></blockquote>
<p>The difference is that you call the onComplete() method in your Main() method.</p>
<p>Other solution is to create a button and attach onComplete() to it.</p>
<ul>
<li>Compile example and a *.swf file will be generated.</li>
<li>Now add your swf to trusted locations, reading this <a href="http://kb2.adobe.com/cps/093/4c093f20.html" target="_self">http://kb2.adobe.com/cps/093/4c093f20.htm.</a> If not it&#8217;s possible to get error like this n debug:</li>
</ul>
<blockquote><p>Attemping to launch and connect to Player using URL D:WEBWebServerApache2htdocsZend_Amf_TestZendExample.swf<br />
[SWF] D:WEBWebServerApache2htdocsZend_Amf_TestZendExample.swf - 1281 bytes after decompression<br />
*** Security Sandbox Violation ***<br />
Connection to http://example.com/services/flash halted - not permitted from file:///D|/WEB/WebServer/Apache2/htdocs/Zend%5FAmf%5FTest/ZendExample.swf<br />
&#8211; Untrusted local SWFs may not contact the Internet.<br />
SecurityError: Error #2028: Local-with-filesystem SWF file file:///D|/WEB/WebServer/Apache2/htdocs/Zend%5FAmf%5FTest/ZendExample.swf cannot access Internet URL http://example.com/services/flash.<br />
at flash.net::NetConnection/connect()<br />
at Main$iinit()[D:WEBWebServerApache2htdocsZend_Amf_TestMain.as:15]<br />
Cannot display source code at this location.</p></blockquote>
<ul>
<li>That&#8217;s all <img src='http://knowhow.gyuviyski.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> Juts run your flash file.</li>
</ul>
<p>If you have any problems running example or improvement suggestions, please contact me.</p>
]]></content:encoded>
			<wfw:commentRss>http://knowhow.gyuviyski.com/?feed=rss2&amp;p=71</wfw:commentRss>
		</item>
		<item>
		<title>Zend Framework project structure</title>
		<link>http://knowhow.gyuviyski.com/?p=66</link>
		<comments>http://knowhow.gyuviyski.com/?p=66#comments</comments>
		<pubDate>Wed, 07 Oct 2009 08:53:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[IT]]></category>

		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://knowhow.gyuviyski.com/?p=66</guid>
		<description><![CDATA[In this post I rely that you are using subversion.
Note that I&#8217;m not starting from the real beginning&#8230;.
Library directory.
There are some ways to add library to your project:

Svn Externals: This method is good when you have something like a referenced project(s) and every moment projects have to be synchronized.
Put wanted library directly in your application/library [...]]]></description>
			<content:encoded><![CDATA[<p>In this post I rely that you are using subversion.</p>
<p>Note that I&#8217;m not starting from the real beginning&#8230;.</p>
<p><strong>Library</strong> directory.</p>
<p>There are some ways to add library to your project:</p>
<ul>
<li>Svn Externals: This method is good when you have something like a referenced project(s) and every moment projects have to be synchronized.</li>
<li>Put wanted library directly in your application/library folder - this is used when you want your project to contain all needed sources and libraries.</li>
<li>Use external library, situated on your web server. This technique is used when you have many projects that use one library. Note that in this case the project have to contain a library description (name, version, &#8230;) needed for easily installation. Another feature is that if your library is not in svn it&#8217;s difficult to synchronize eventual modifications on it.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://knowhow.gyuviyski.com/?feed=rss2&amp;p=66</wfw:commentRss>
		</item>
		<item>
		<title>Some notes about ZF 1.8 and upper</title>
		<link>http://knowhow.gyuviyski.com/?p=64</link>
		<comments>http://knowhow.gyuviyski.com/?p=64#comments</comments>
		<pubDate>Wed, 05 Aug 2009 19:18:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://knowhow.gyuviyski.com/?p=64</guid>
		<description><![CDATA[Bootstrap&#8217;s _init methods have to be used to store resources that will be used by application (Plugins and Controllers). If you need functionality that will be used everywhere you need a plugin or a simple class that handle it.
]]></description>
			<content:encoded><![CDATA[<p>Bootstrap&#8217;s _init methods have to be used to store resources that will be used by application (Plugins and Controllers). If you need functionality that will be used everywhere you need a plugin or a simple class that handle it.</p>
]]></content:encoded>
			<wfw:commentRss>http://knowhow.gyuviyski.com/?feed=rss2&amp;p=64</wfw:commentRss>
		</item>
		<item>
		<title>Присъединяване на нов ел. абонат</title>
		<link>http://knowhow.gyuviyski.com/?p=62</link>
		<comments>http://knowhow.gyuviyski.com/?p=62#comments</comments>
		<pubDate>Mon, 03 Aug 2009 20:55:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Разни]]></category>

		<guid isPermaLink="false">http://knowhow.gyuviyski.com/?p=62</guid>
		<description><![CDATA[След дълго ровене, звънене и email-и по електроразпределителни(ЕР) дружества, комисии и т.н. стигнах до извода, че да търсиш логика в много от процедурите и цените на ЕР дружества е до голяма степен загубена кауза.
Така и не проумях през цялото време какво толкова има в услугата &#8220;Присъединяване на нов абонат&#8221;, че минималната цена за нея е [...]]]></description>
			<content:encoded><![CDATA[<p>След дълго ровене, звънене и email-и по електроразпределителни(ЕР) дружества, комисии и т.н. стигнах до извода, че да търсиш логика в много от процедурите и цените на ЕР дружества е до голяма степен загубена кауза.</p>
<p>Така и не проумях през цялото време какво толкова има в услугата &#8220;Присъединяване на нов абонат&#8221;, че минималната цена за нея е 444 лв.Ето задачата, която си поставих и не можах да реша.</p>
<ul>
<li>Тази услуга е се върши от 2-ма души за 1-2 часа.</li>
<li>Материалите, които се влагат при нейното изпълнение остават собственост за дружеството.</li>
<li>Какво плащам аз?</li>
</ul>
<p>Едно примерно решение е - &#8220;цената на това да живея в България&#8221;. Ако все пак някой намери решение - нека пише.</p>
<p>Един интересен факт - в цената на всички услуги се залага разход за бензин на цена 2,4.. (не си спомням точно). Средно за изминалата година цената ако не се лъжа е около 1.85 лв/л.</p>
<p>Няма да продължавам, мисля че няма смисъл. Ето само няколко линка:</p>
<p><a title="Ред за присъединяване към мрежата на ЧЕЗ" href="http://www.cez-rp.bg/bg/uslugi/red-za-elektrozahranvane.html" target="_blank">Ред за присъединяване към мрежата на ЧЕЗ</a></p>
<p><a title="Цени на енергии и услуги" href="http://www.dker.bg/prices_el.htm" target="_blank">Цени, определени от ДКЕР</a></p>
]]></content:encoded>
			<wfw:commentRss>http://knowhow.gyuviyski.com/?feed=rss2&amp;p=62</wfw:commentRss>
		</item>
		<item>
		<title>Object Oriented Analysis and the Unified Process</title>
		<link>http://knowhow.gyuviyski.com/?p=52</link>
		<comments>http://knowhow.gyuviyski.com/?p=52#comments</comments>
		<pubDate>Sun, 07 Jun 2009 17:33:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[IT]]></category>

		<category><![CDATA[analysis]]></category>

		<category><![CDATA[diagrams]]></category>

		<category><![CDATA[UML]]></category>

		<guid isPermaLink="false">http://knowhow.gyuviyski.com/?p=52</guid>
		<description><![CDATA[The notes are based on Craig Larman&#8217;s book &#8220;Applying UML and Patterns&#8221;.
Analysis and Design
Analysis and design have been summarized in the phase do the right thing
(analysis), and do the thing right (design).
The Unified Process
Given many possible activities from requirements through to implementation, how should a developer or team proceed? Requirements analysis and OOA/D needs to [...]]]></description>
			<content:encoded><![CDATA[<p>The notes are based on Craig Larman&#8217;s book &#8220;Applying UML and Patterns&#8221;.</p>
<p><strong>Analysis and Design</strong></p>
<p>Analysis and design have been summarized in the phase <em>do the right thing<br />
(analysis), and do the thing right (design)</em>.</p>
<p><strong>The Unified Process</strong></p>
<p>Given many possible activities from requirements through to implementation, how should a developer or team proceed? Requirements analysis and <strong>OOA/D </strong>needs to be presented <strong>in the context of some development process</strong>. In this case,<br />
the well-known Unified Process is used as the sample iterative development process within which these topics are introduced.</p>
<p>The process consists of these 4 steps:</p>
<ol>
<li>Define Use Cases</li>
<li>Define Domain Model</li>
<li>Define Interaction Diagrams</li>
<li>Define Design Class Diagrams</li>
</ol>
<p>The Most Important UP Idea is <strong>Iterative Development</strong>. Development is organized into a series of short mini-projects called <strong>iterations</strong>. The system grows incrementally over time, iteration by iteration.</p>
]]></content:encoded>
			<wfw:commentRss>http://knowhow.gyuviyski.com/?feed=rss2&amp;p=52</wfw:commentRss>
		</item>
	</channel>
</rss>
