<?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>Dojo | Jörg Drzycimski</title>
	<atom:link href="https://drzycimski.com/tag/dojo/feed/" rel="self" type="application/rss+xml" />
	<link>https://drzycimski.com/tag/dojo/</link>
	<description></description>
	<lastBuildDate>Sun, 01 Oct 2017 16:54:57 +0000</lastBuildDate>
	<language>de</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>
	<item>
		<title>No-MVC Zend Framework: Installing ZF &#038; jQuery / Part II</title>
		<link>https://drzycimski.com/programmierung/zend-framework-without-mvc-part-ii/</link>
					<comments>https://drzycimski.com/programmierung/zend-framework-without-mvc-part-ii/#respond</comments>
		
		<dc:creator><![CDATA[Jörg]]></dc:creator>
		<pubDate>Sun, 02 May 2010 11:34:30 +0000</pubDate>
				<category><![CDATA[Programmierung]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[Dojo]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[jQueryUI]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Star Rating]]></category>
		<category><![CDATA[Zend Framework]]></category>
		<guid isPermaLink="false">http://blog.drzycimski.com/?p=36</guid>

					<description><![CDATA[<p>My tutorial of utilizing Zend Framework without MVC will be a jQuery rating controller, with ZF used to query the database, spit out the view (the actual stars), and handle rating changes thru Ajax, updating the DB. Though I prefer not to use ZF as an application, I tried to program as close to the [&#8230;]</p>
<p>The post <a href="https://drzycimski.com/programmierung/zend-framework-without-mvc-part-ii/">No-MVC Zend Framework: Installing ZF &#038; jQuery / Part II</a> appeared first on <a href="https://drzycimski.com">Jörg Drzycimski</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>My tutorial of utilizing Zend Framework without MVC will be a jQuery rating controller, with ZF used to query the database, spit out the view (the actual stars), and handle rating changes thru Ajax, updating the DB. Though I prefer not to use ZF as an application, I tried to program as close to the MVC structure as possible. If you&#8217;re using ZF already, you will see that my way of utilizing it is close to a ZF plugin resource &#8211; with some minor changes, you&#8217;ll be able to adapt it into the framework in no time at all.</p>
<p><strong>Installing Zend Framework</strong></p>
<p>On your server, add some directories to accomodate ZF, jQuery, and your own PHP files. Assuming that you start from scratch, you need to point your webserver to the &#8222;public&#8220; directory, instead of  &#8222;document root&#8220;. This way, one can&#8217;t access your lib files, e.g. configs, by URL.</p>
<pre>&gt; document root
  &gt; library
    &gt; Mylib
    &gt; Zend
  &gt; public
     &gt; images
     &gt; includes
     &gt; js
       &gt; jquery</pre>
<p>Download the lastest ZF version at <a href="http://framework.zend.com/download/latest" target="_blank" rel="noopener">http://framework.zend.com/download/latest</a>, and unpack the files. Get the content of the &#8222;library/Zend&#8220; form your archive, and copy it into the &#8222;library/Zend&#8220; folder on your server. Next, get the latest of jQueryUI at <a href="http://jqueryui.com/download" target="_blank" rel="noopener">http://jqueryui.com/download</a>, and put the content in the &#8222;jquery&#8220; folder. jQueryUI is just a nice JavaScript framework (that word again&#8230;) with widgets and effects&#8230; you might need them later 😉</p>
<p>A short note: though ZF supports the <a href="http://www.dojotoolkit.org" target="_blank" rel="noopener">Dojo</a> JavaScript framework, I personally prefer jQuery. Dojo definetly has the cooler widgets, but the support sucks&#8230; no forum to speak of, and mailing list support slow if ever. If you run into problems with Dojo, you&#8217;re basically on your own&#8230; the exact opposite of jQuery, where you 1. get support within hours, and 2. rarely run into problems to begin with 😉 Just my 2 cents&#8230;</p>
<p>Anyway, the part missing for our little tutorial is the Star Rating plugin for jQuery. Get it at <a href="http://zensoftware.org/archives/483" target="_blank" rel="noopener">http://zensoftware.org/archives/483</a>, and put it in your &#8222;js&#8220; folder, into a &#8222;rating&#8220; subdirectory.</p>
<p>Next up: Bootstrapping ZF</p>
<p>The post <a href="https://drzycimski.com/programmierung/zend-framework-without-mvc-part-ii/">No-MVC Zend Framework: Installing ZF &#038; jQuery / Part II</a> appeared first on <a href="https://drzycimski.com">Jörg Drzycimski</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://drzycimski.com/programmierung/zend-framework-without-mvc-part-ii/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
