<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2germanfull.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>[m] webdev:blog - Kjell Bublitz</title>
	
	<link>http://m3nt0r.de/blog</link>
	<description>Webentwicklung mit PHP und Javascript</description>
	<pubDate>Tue, 26 May 2009 12:39:47 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.2</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/M3nt0r" /><feedburner:info uri="m3nt0r" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><geo:lat>51.4252899358183</geo:lat><geo:long>7.676117420196533</geo:long><image><link>http://www.m3nt0r.de</link><url>http://www.m3nt0r.de/blog/wp-images/m3nt0r3d.png</url><title>m3nt0r.de - Webentwicklung mit PHP und Javascript</title></image><feedburner:emailServiceId>M3nt0r</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><feedburner:feedFlare href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FM3nt0r" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare href="http://www.bloglines.com/sub/http://feeds.feedburner.com/M3nt0r" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FM3nt0r" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FM3nt0r" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FM3nt0r" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&amp;fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><feedburner:feedFlare href="http://my.feedlounge.com/external/subscribe?url=http%3A%2F%2Ffeeds.feedburner.com%2FM3nt0r" src="http://static.feedlounge.com/buttons/subscribe_0.gif">Subscribe with FeedLounge</feedburner:feedFlare><feedburner:feedFlare href="http://www.newsalloy.com/?rss=http%3A%2F%2Ffeeds.feedburner.com%2FM3nt0r" src="http://www.newsalloy.com/subrss3.gif">Subscribe with NewsAlloy</feedburner:feedFlare><feedburner:feedFlare href="http://add.my.yahoo.com/content?lg=de&amp;url=http%3A%2F%2Ffeeds.feedburner.com%2FM3nt0r" src="http://us.i1.yimg.com/us.yimg.com/i/de/my/addtomyyahoo4.gif">Subscribe with Mein Yahoo!</feedburner:feedFlare><item><title>Links for 2009-06-24 [del.icio.us]</title><link>http://feedproxy.google.com/~r/M3nt0r/~3/J37hXs3okoc/Mentor</link><pubDate>Thu, 25 Jun 2009 00:00:00 PDT</pubDate><guid isPermaLink="false">http://del.icio.us/Mentor#2009-06-24</guid><description>&lt;ul&gt;
&lt;li&gt;&lt;a href="http://codesorcery.net/pukka"&gt;Pukka | Code Sorcery Workshop&lt;/a&gt;&lt;br/&gt;
Simple. Delicious. Pukka (click here for pronunciation) is a richly-featured client for Delicious, Ma.gnolia, and compatible social bookmarking services. Fire it up and within seconds you can easily post to one or more accounts. Pukka comes with its own bookmarklet for super fast posting, or you can drag a URL from any browser, open a URL shortcut file on the desktop, or drag a URL right onto the dock icon. You can even set Pukka as your external weblog client in NetNewsWire, NewsFire, and Vienna.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.webdevout.net/"&gt;Web Devout&lt;/a&gt;&lt;br/&gt;
Welcome to Web Devout! This site is aimed at promoting the health of the Web by providing web developers and the public with the knowledge and tools needed to help the Web move forward.&lt;/li&gt;
&lt;/ul&gt;&lt;img src="http://feeds.feedburner.com/~r/M3nt0r/~4/J37hXs3okoc" height="1" width="1"/&gt;</description><feedburner:origLink>http://del.icio.us/Mentor#2009-06-24</feedburner:origLink></item><item><title>Links for 2009-02-07 [del.icio.us]</title><link>http://feedproxy.google.com/~r/M3nt0r/~3/tnGNzUAMJ3w/Mentor</link><pubDate>Sun, 08 Feb 2009 00:00:00 PST</pubDate><guid isPermaLink="false">http://del.icio.us/Mentor#2009-02-07</guid><description>&lt;ul&gt;
&lt;li&gt;&lt;a href="http://tools.sitepoint.com/firescope/"&gt;FireScope - HTML Brains at your Fingertips&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;img src="http://feeds.feedburner.com/~r/M3nt0r/~4/tnGNzUAMJ3w" height="1" width="1"/&gt;</description><feedburner:origLink>http://del.icio.us/Mentor#2009-02-07</feedburner:origLink></item><item><title>Links for 2009-02-05 [del.icio.us]</title><link>http://feedproxy.google.com/~r/M3nt0r/~3/XlZAwuOZAM4/Mentor</link><pubDate>Fri, 06 Feb 2009 00:00:00 PST</pubDate><guid isPermaLink="false">http://del.icio.us/Mentor#2009-02-05</guid><description>&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.fornax.net/blog/archives/11-Zend-Command-Line-Debugging.html"&gt;Zend &amp;amp; Command Line Debugging - fornax.net: Is Don. Is Good.&lt;/a&gt;&lt;br/&gt;
#!/bin/sh
export &amp;amp;#92;
QUERY_STRING=&amp;amp;#92;
&amp;quot;start_debug=1&amp;amp;debug_port=10000&amp;amp;debug_host=IP&amp;amp;debug_stop=1&amp;quot;
/path/to/php -q /path/to/script.php&lt;/li&gt;
&lt;/ul&gt;&lt;img src="http://feeds.feedburner.com/~r/M3nt0r/~4/XlZAwuOZAM4" height="1" width="1"/&gt;</description><feedburner:origLink>http://del.icio.us/Mentor#2009-02-05</feedburner:origLink></item><item><title>Links for 2009-02-02 [del.icio.us]</title><link>http://feedproxy.google.com/~r/M3nt0r/~3/WVLg0c1QEKA/Mentor</link><pubDate>Tue, 03 Feb 2009 00:00:00 PST</pubDate><guid isPermaLink="false">http://del.icio.us/Mentor#2009-02-02</guid><description>&lt;ul&gt;
&lt;li&gt;&lt;a href="http://svn.haxx.se/dev/archive-2004-03/0253.shtml"&gt;Subversion Dev: svn+ssh Setup Mini-tutorial&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;img src="http://feeds.feedburner.com/~r/M3nt0r/~4/WVLg0c1QEKA" height="1" width="1"/&gt;</description><feedburner:origLink>http://del.icio.us/Mentor#2009-02-02</feedburner:origLink></item><item><title>Links for 2009-01-29 [del.icio.us]</title><link>http://feedproxy.google.com/~r/M3nt0r/~3/DoLQ__k4rNg/Mentor</link><pubDate>Fri, 30 Jan 2009 00:00:00 PST</pubDate><guid isPermaLink="false">http://del.icio.us/Mentor#2009-01-29</guid><description>&lt;ul&gt;
&lt;li&gt;&lt;a href="http://mark.aufflick.com/blog/2007/10/28/leopard-amazon-s3-network-storage"&gt;Leopard Amazon S3 network storage&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;img src="http://feeds.feedburner.com/~r/M3nt0r/~4/DoLQ__k4rNg" height="1" width="1"/&gt;</description><feedburner:origLink>http://del.icio.us/Mentor#2009-01-29</feedburner:origLink></item><item><title>Links for 2009-01-26 [del.icio.us]</title><link>http://feedproxy.google.com/~r/M3nt0r/~3/HlMFgLJ5Xfk/Mentor</link><pubDate>Tue, 27 Jan 2009 00:00:00 PST</pubDate><guid isPermaLink="false">http://del.icio.us/Mentor#2009-01-26</guid><description>&lt;ul&gt;
&lt;li&gt;&lt;a href="http://developer.yahoo.com/yui/grids/"&gt;Yahoo! UI Library: Grids CSS&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;img src="http://feeds.feedburner.com/~r/M3nt0r/~4/HlMFgLJ5Xfk" height="1" width="1"/&gt;</description><feedburner:origLink>http://del.icio.us/Mentor#2009-01-26</feedburner:origLink></item><item>
		<title>CakePHP 1.2 stable verfügbar</title>
		<link>http://feedproxy.google.com/~r/M3nt0r/~3/N7Ub5qJBBbQ/</link>
		<comments>http://www.m3nt0r.de/feeder/?FeederAction=clicked&amp;feed=Articles+%28rss2%29&amp;seed=http%3A%2F%2Fm3nt0r.de%2Fblog%2F2008%2F12%2F26%2Fcakephp-12-stable-verfugbar%2F&amp;seed_title=CakePHP+1.2+stable+verf%C3%BCgbar#comments</comments>
		<pubDate>Fri, 26 Dec 2008 07:14:09 +0000</pubDate>
		<dc:creator>Kjell</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[cakephp]]></category>

		<category><![CDATA[releases]]></category>

		<category><![CDATA[stable]]></category>

		<guid isPermaLink="false">http://m3nt0r.de/blog/?p=837</guid>
		<description><![CDATA[.entry iframe {float: left; margin-right: 1em}
digg_url = 'http://digg.com/programming/CakePHP_1_2_Final_is_here';
25.12.2008 - CakePHP 1.2 ist nun stable! 
Und ein neuer Cheatsheet samt TextMate Bundle ist auch dabei :)
Fröhliche Weihnachten!
Ankündigung gibt es dort
Download gibt es hier
]]></description>
			<content:encoded><![CDATA[<div class='microid-9d37caf3877cb7d101600d20924fa9da3ca42807'><style type="text/css">.entry iframe {float: left; margin-right: 1em}</style>
<p><script type="text/javascript">digg_url = 'http://digg.com/programming/CakePHP_1_2_Final_is_here';</script><br />
<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>25.12.2008 - CakePHP 1.2 ist nun stable! </p>
<p>Und ein neuer Cheatsheet samt TextMate Bundle ist auch dabei :)</p>
<p><strong>Fröhliche Weihnachten!</strong></p>
<p><a href="http://bakery.cakephp.org/articles/view/the-gift-of-1-2-final">Ankündigung gibt es dort</a><br />
<a href="http://cakephp.org/downloads">Download gibt es hier</a></p>
</div><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/M3nt0r?a=d1Am8Naa"><img src="http://feeds.feedburner.com/~f/M3nt0r?i=d1Am8Naa" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/M3nt0r?a=ZK8z1rv9"><img src="http://feeds.feedburner.com/~f/M3nt0r?d=43" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/M3nt0r?a=tspO3yLD"><img src="http://feeds.feedburner.com/~f/M3nt0r?i=tspO3yLD" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/M3nt0r?a=H80nMwM2"><img src="http://feeds.feedburner.com/~f/M3nt0r?d=50" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/M3nt0r/~4/N7Ub5qJBBbQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.m3nt0r.de/feeder/?FeederAction=clicked&amp;feed=Articles+%28rss2%29&amp;seed=http%3A%2F%2Fm3nt0r.de%2Fblog%2F2008%2F12%2F26%2Fcakephp-12-stable-verfugbar%2F&amp;seed_title=CakePHP+1.2+stable+verf%C3%BCgbar/feed/</wfw:commentRss>
		<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.0/</creativeCommons:license><feedburner:origLink>http://www.m3nt0r.de/feeder/?FeederAction=clicked&amp;feed=Articles+%28rss2%29&amp;seed=http%3A%2F%2Fm3nt0r.de%2Fblog%2F2008%2F12%2F26%2Fcakephp-12-stable-verfugbar%2F&amp;seed_title=CakePHP+1.2+stable+verf%C3%BCgbar</feedburner:origLink></item>
		<item>
		<title>Named Scopes in CakePHP 1.2</title>
		<link>http://feedproxy.google.com/~r/M3nt0r/~3/1kV_m4Xmk9I/</link>
		<comments>http://www.m3nt0r.de/feeder/?FeederAction=clicked&amp;feed=Articles+%28rss2%29&amp;seed=http%3A%2F%2Fm3nt0r.de%2Fblog%2F2008%2F11%2F26%2Fnamed-scopes-in-cakephp-12%2F&amp;seed_title=Named+Scopes+in+CakePHP+1.2#comments</comments>
		<pubDate>Thu, 27 Nov 2008 06:12:33 +0000</pubDate>
		<dc:creator>Kjell</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[Tutorials]]></category>

		<category><![CDATA[cakephp]]></category>

		<category><![CDATA[models]]></category>

		<category><![CDATA[MVC]]></category>

		<category><![CDATA[NamedScopes]]></category>

		<category><![CDATA[php]]></category>

		<category><![CDATA[scopes]]></category>

		<category><![CDATA[tricks]]></category>

		<guid isPermaLink="false">http://m3nt0r.de/blog/?p=801</guid>
		<description><![CDATA[Wer schon mal mit der AuthComponent zu tun hatte kennt sicherlich den Begriff „scope“, womit man festlegen kann welche Bedienung ein Benutzer erfüllen muss damit er sich einloggen kann. Für all die die es nicht Wissen, hier eine Kurzfassung in Bezug auf das Thema dieses Beitrags: Ein „Scope“ ist eine definierte Eingrenzung von Daten. „Named“ bedeutet, dass wir dieser Eingrenzung einen Namen geben. ]]></description>
			<content:encoded><![CDATA[<div class='microid-50728d36684f8cfcdac145a2a7e0c038e4ad8032'><p>Ein neues Lieblingsfeature von mir! </p>
<p>Wer schon mal mit der <code>AuthComponent</code> zu tun hatte kennt sicherlich den Begriff „scope“, womit man festlegen kann welche Bedienung ein Benutzer erfüllen muss damit er sich einloggen kann. Für all die die es nicht Wissen, hier eine Kurzfassung in Bezug auf das Thema dieses Beitrags: Ein „Scope“ ist eine definierte Eingrenzung von Daten. „Named“ bedeutet, dass wir dieser Eingrenzung einen Namen geben.<br />
<span id="more-801"></span><br />
Oft haben Daten diverse Eigenschaften welche die Auswahl erleichtern sollen. Nehmen wir zum Beispiel einen Blog-Eintrag. Dieser kann unsichtbar sein, kann ein Entwurf oder veröffentlicht sein.</p>
<p>All dies gilt bei der Anzeige im Frontend zu berücksichtigen, sowie an allen anderen Stellen innerhalb der Applikation. Je nach Anzahl der Eigenschaften kann das schnell zu Chaos führen. Vor allem, wenn man in einem Team arbeitet und nicht jeder unbedingt weiss was es mit den Eigenschaften auf sich hat.</p>
<p>Genau hier helfen <strong>NamedScopes</strong>, welche es erlauben diese Eigenschaften zu bündeln und so unter einen Hut zu bringen. Und das nicht etwa innerhalb des Controllers, sondern direkt in dessen Model.</p>
<p>Für unseren Blogeintrag gehen wir mal folgende Konstellationen durch:</p>
<div class="syntax_hilite" style="background:#000"><span class="langName">PHP:</span>
<div id="php-1">
<div class="php">
<ol>
<li style="font-family: consolas, 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: consolas, 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#0075FF; font-weight:bold;">var</span> <span style="color:#FF3C00;">$actsAs</span> = <a href="http://www.php.net/array"><span style="color:#4A95EF;">array</span></a><span style="color:#FFFFFF; font-weight:bold;">&#40;</span></div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: consolas, 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color:#ccc;">'NamedScope'</span> =&gt; <a href="http://www.php.net/array"><span style="color:#4A95EF;">array</span></a><span style="color:#FFFFFF; font-weight:bold;">&#40;</span></div>
</li>
<li style="font-family: consolas, 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: consolas, 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#ccc;">'visible'</span> =&gt; <a href="http://www.php.net/array"><span style="color:#4A95EF;">array</span></a><span style="color:#FFFFFF; font-weight:bold;">&#40;</span> <span style="color:#aaa; font-style:italic;">// einfach alle sichtbaren (für z.B. blog-admin liste)</span></div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: consolas, 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#ccc;">'Post.is_visible'</span> =&gt; <span style="color:#FF5F5F;color:#800000;">1</span> </div>
</li>
<li style="font-family: consolas, 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: consolas, 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FFFFFF; font-weight:bold;">&#41;</span>,</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: consolas, 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#ccc;">'public'</span> =&gt; <a href="http://www.php.net/array"><span style="color:#4A95EF;">array</span></a><span style="color:#FFFFFF; font-weight:bold;">&#40;</span> <span style="color:#aaa; font-style:italic;">// sichtbare, veröffentlichte, die kein entwurf sind</span></div>
</li>
<li style="font-family: consolas, 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: consolas, 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#ccc;">'Post.is_visible'</span> =&gt; <span style="color:#FF5F5F;color:#800000;">1</span>,</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: consolas, 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#ccc;">'Post.is_draft'</span> =&gt; <span style="color:#FF5F5F;color:#800000;">0</span>,</div>
</li>
<li style="font-family: consolas, 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: consolas, 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#ccc;">'Post.is_published'</span> =&gt; <span style="color:#FF5F5F;color:#800000;">1</span></div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: consolas, 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FFFFFF; font-weight:bold;">&#41;</span>,</div>
</li>
<li style="font-family: consolas, 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: consolas, 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#ccc;">'drafts'</span> =&gt; <a href="http://www.php.net/array"><span style="color:#4A95EF;">array</span></a><span style="color:#FFFFFF; font-weight:bold;">&#40;</span> <span style="color:#aaa; font-style:italic;">// alle entwürfe, die für user sichtbar sind</span></div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: consolas, 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color:#ccc;">'Post.is_draft'</span> =&gt; <span style="color:#FF5F5F;color:#800000;">1</span>,</div>
</li>
<li style="font-family: consolas, 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: consolas, 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color:#ccc;">'Post.is_visible'</span> =&gt; <span style="color:#FF5F5F;color:#800000;">1</span></div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: consolas, 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#FFFFFF; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: consolas, 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: consolas, 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color:#FFFFFF; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: consolas, 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FFFFFF; font-weight:bold;">&#41;</span>; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Die Eigenschaft <code>is_visible</code> ist quasi unsere Admin-Direktive die es uns erlaubt Beiträge komplett von der Seite zu nehmen, deshalb ist die Eigenschaft in „public“ und „drafts“ auch immer vertreten. </p>
<p>Mit diesem Satz an Scopes können wir nun loslegen unsere find() Operationen zu machen. Hier ein paar Beispiel wie man diese einsetzt:</p>
<div class="syntax_hilite" style="background:#000"><span class="langName">PHP:</span>
<div id="php-2">
<div class="php">
<ol>
<li style="font-family: consolas, 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: consolas, 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#aaa; font-style:italic;">// find alle sichtbaren</span></div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: consolas, 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF3C00;">$this</span>-&gt;<span style="color:#1F9AFF;">find</span><span style="color:#FFFFFF; font-weight:bold;">&#40;</span><span style="color:#ccc;">'visible'</span><span style="color:#FFFFFF; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: consolas, 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: consolas, 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: consolas, 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#aaa; font-style:italic;">// finde alle öffentlichen Beiträge von User 1</span></div>
</li>
<li style="font-family: consolas, 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: consolas, 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF3C00;">$this</span>-&gt;<span style="color:#1F9AFF;">find</span><span style="color:#FFFFFF; font-weight:bold;">&#40;</span><span style="color:#ccc;">'public'</span>, <a href="http://www.php.net/array"><span style="color:#4A95EF;">array</span></a><span style="color:#FFFFFF; font-weight:bold;">&#40;</span><span style="color:#ccc;">'conditions'</span> =&gt; <a href="http://www.php.net/array"><span style="color:#4A95EF;">array</span></a><span style="color:#FFFFFF; font-weight:bold;">&#40;</span><span style="color:#ccc;">'Post.user_id'</span> =&gt; <span style="color:#FF5F5F;color:#800000;">1</span><span style="color:#FFFFFF; font-weight:bold;">&#41;</span><span style="color:#FFFFFF; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: consolas, 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: consolas, 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: consolas, 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#aaa; font-style:italic;">// finde alle Entwürfe von User 2</span></div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: consolas, 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF3C00;">$this</span>-&gt;<span style="color:#1F9AFF;">find</span><span style="color:#FFFFFF; font-weight:bold;">&#40;</span><span style="color:#ccc;">'drafts'</span>, <a href="http://www.php.net/array"><span style="color:#4A95EF;">array</span></a><span style="color:#FFFFFF; font-weight:bold;">&#40;</span><span style="color:#ccc;">'conditions'</span> =&gt; <a href="http://www.php.net/array"><span style="color:#4A95EF;">array</span></a><span style="color:#FFFFFF; font-weight:bold;">&#40;</span><span style="color:#ccc;">'Post.user_id'</span> =&gt; <span style="color:#FF5F5F;color:#800000;">2</span><span style="color:#FFFFFF; font-weight:bold;">&#41;</span><span style="color:#FFFFFF; font-weight:bold;">&#41;</span>;</div>
</li>
<li style="font-family: consolas, 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: consolas, 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: consolas, 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#aaa; font-style:italic;">// find den ersten öffentlichen Beitrag von User 3</span></div>
</li>
<li style="font-family: consolas, 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: consolas, 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#FF3C00;">$this</span>-&gt;<span style="color:#1F9AFF;">public</span><span style="color:#FFFFFF; font-weight:bold;">&#40;</span><span style="color:#ccc;">'first'</span>, <a href="http://www.php.net/array"><span style="color:#4A95EF;">array</span></a><span style="color:#FFFFFF; font-weight:bold;">&#40;</span><span style="color:#ccc;">'conditions'</span> =&gt; <a href="http://www.php.net/array"><span style="color:#4A95EF;">array</span></a><span style="color:#FFFFFF; font-weight:bold;">&#40;</span><span style="color:#ccc;">'Post.user_id'</span> =&gt; <span style="color:#FF5F5F;color:#800000;">3</span><span style="color:#FFFFFF; font-weight:bold;">&#41;</span>, <span style="color:#ccc;">'order'</span> =&gt; <span style="color:#ccc;">'Post.id DESC'</span><span style="color:#FFFFFF; font-weight:bold;">&#41;</span><span style="color:#FFFFFF; font-weight:bold;">&#41;</span>; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Wie man im letzten Beispiel sieht nutze ich den Namen des Scopes als Methode. Das macht NamedScopes von alleine und erlaubt uns den Scope so zu verwenden als wäre es die find-Methode selbst. Nur eben unter Berücksichtigung unserer Eigenschaften!</p>
<p>Es gibt also auch nach der Definition der Scopes folgende Methoden im Model:<br />
<code>Model::visible(), Model::public(), Model::drafts()</code></p>
<p><strong>Ein weiterer Vorteil</strong> von NamedScopes ist, wenn eine neue Eigenschaft hinzugefügt werden muss. Normalerweise müsste man durch alle Stellen im Code gehen und überall „is_whatever“ einfügen, aber mit NamedScopes braucht man nur innerhalb der Modeldatei die Definitionen im Array anpassen. Also schneller kann man so was nicht hinbekommen und spart somit einen Haufen Arbeit. </p>
<p><strong>Links zum Thema:</strong><br />
- <a href="http://developingwithstyle.com/2008/11/20/namedscope-or-cakephp/">http://developingwithstyle.com/2008/11/20/namedscope-or-cakephp/</a><br />
- <a href="http://github.com/joelmoss/cakephp-namedscope/">http://github.com/joelmoss/cakephp-namedscope/</a></p>
</div><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/M3nt0r?a=7X0hx2Z9"><img src="http://feeds.feedburner.com/~f/M3nt0r?i=7X0hx2Z9" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/M3nt0r?a=mXnywDL1"><img src="http://feeds.feedburner.com/~f/M3nt0r?d=43" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/M3nt0r?a=eiBONE5D"><img src="http://feeds.feedburner.com/~f/M3nt0r?i=eiBONE5D" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/M3nt0r?a=FTk4nkZJ"><img src="http://feeds.feedburner.com/~f/M3nt0r?d=50" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/M3nt0r/~4/1kV_m4Xmk9I" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.m3nt0r.de/feeder/?FeederAction=clicked&amp;feed=Articles+%28rss2%29&amp;seed=http%3A%2F%2Fm3nt0r.de%2Fblog%2F2008%2F11%2F26%2Fnamed-scopes-in-cakephp-12%2F&amp;seed_title=Named+Scopes+in+CakePHP+1.2/feed/</wfw:commentRss>
		<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.0/</creativeCommons:license><feedburner:origLink>http://www.m3nt0r.de/feeder/?FeederAction=clicked&amp;feed=Articles+%28rss2%29&amp;seed=http%3A%2F%2Fm3nt0r.de%2Fblog%2F2008%2F11%2F26%2Fnamed-scopes-in-cakephp-12%2F&amp;seed_title=Named+Scopes+in+CakePHP+1.2</feedburner:origLink></item>
		<item>
		<title>iPhone Update - Endlich!</title>
		<link>http://feedproxy.google.com/~r/M3nt0r/~3/dcMeazPaTn4/</link>
		<comments>http://www.m3nt0r.de/feeder/?FeederAction=clicked&amp;feed=Articles+%28rss2%29&amp;seed=http%3A%2F%2Fm3nt0r.de%2Fblog%2F2008%2F11%2F21%2Fiphone-update-endlich%2F&amp;seed_title=iPhone+Update+-+Endlich%21#comments</comments>
		<pubDate>Sat, 22 Nov 2008 04:09:45 +0000</pubDate>
		<dc:creator>Kjell</dc:creator>
		
		<category><![CDATA[Allgemein]]></category>

		<category><![CDATA[apple]]></category>

		<category><![CDATA[iphone]]></category>

		<category><![CDATA[itunes]]></category>

		<category><![CDATA[patches]]></category>

		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://m3nt0r.de/blog/?p=799</guid>
		<description><![CDATA[Auto-Korrektur AUS - Danke, apple.
]]></description>
			<content:encoded><![CDATA[<div class='microid-8c611467f6a8b6f7f3355a4ab34d45c2fb95fc6e'><p><strong>Auto-Korrektur AUS</strong> - Danke, apple.</p>
</div><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/M3nt0r?a=XddVEHbx"><img src="http://feeds.feedburner.com/~f/M3nt0r?i=XddVEHbx" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/M3nt0r?a=9L1ZvSvY"><img src="http://feeds.feedburner.com/~f/M3nt0r?d=43" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/M3nt0r?a=zgsgnko9"><img src="http://feeds.feedburner.com/~f/M3nt0r?i=zgsgnko9" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/M3nt0r?a=oFEIeEvL"><img src="http://feeds.feedburner.com/~f/M3nt0r?d=50" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/M3nt0r/~4/dcMeazPaTn4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.m3nt0r.de/feeder/?FeederAction=clicked&amp;feed=Articles+%28rss2%29&amp;seed=http%3A%2F%2Fm3nt0r.de%2Fblog%2F2008%2F11%2F21%2Fiphone-update-endlich%2F&amp;seed_title=iPhone+Update+-+Endlich%21/feed/</wfw:commentRss>
		<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.0/</creativeCommons:license><feedburner:origLink>http://www.m3nt0r.de/feeder/?FeederAction=clicked&amp;feed=Articles+%28rss2%29&amp;seed=http%3A%2F%2Fm3nt0r.de%2Fblog%2F2008%2F11%2F21%2Fiphone-update-endlich%2F&amp;seed_title=iPhone+Update+-+Endlich%21</feedburner:origLink></item>
		<item>
		<title>CakePHP 1.2 Themes + Debug_Kit = Problematic</title>
		<link>http://feedproxy.google.com/~r/M3nt0r/~3/AkUqj5nP8T4/</link>
		<comments>http://www.m3nt0r.de/feeder/?FeederAction=clicked&amp;feed=Articles+%28rss2%29&amp;seed=http%3A%2F%2Fm3nt0r.de%2Fblog%2F2008%2F11%2F20%2Fcakephp-12-themes-debug_kit-problematic%2F&amp;seed_title=CakePHP+1.2+Themes+%2B+Debug_Kit+%3D+Problematic#comments</comments>
		<pubDate>Fri, 21 Nov 2008 06:16:13 +0000</pubDate>
		<dc:creator>Kjell</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[Notizen]]></category>

		<category><![CDATA[cakephp]]></category>

		<category><![CDATA[dev]]></category>

		<category><![CDATA[hints]]></category>

		<category><![CDATA[php]]></category>

		<category><![CDATA[problems]]></category>

		<category><![CDATA[tips]]></category>

		<category><![CDATA[views]]></category>

		<guid isPermaLink="false">http://m3nt0r.de/blog/?p=793</guid>
		<description><![CDATA[Wenn man das <a href="http://github.com/cakephp/debug_kit/tree/master">debug_kit Plugin</a> benutzt und dann <strong>ThemeView</strong> benutzen will gibt es ein kleines Problem: Das debug_kit kommt mit einem eigenem View und überschreibt somit die im AppController definierte Eigenschaft.]]></description>
			<content:encoded><![CDATA[<div class='microid-a4272fd7fe92a59de66ebddf9eac0d6ae3ac2e72'><p>Wenn man das <a href="http://github.com/cakephp/debug_kit/tree/master">debug_kit Plugin</a> benutzt und dann <strong>ThemeView</strong> benutzen will gibt es ein kleines Problem: Das debug_kit kommt mit einem eigenem View und überschreibt somit die im AppController definierte Eigenschaft.</p>
<p>Wer also <strong>Themes</strong> aktivieren will muss sich dem debug_kit entledigen. Hat ein wenig gedauert bis ich den Grund gefunden habe, aber ein wenig manuelles Debugging in "beforeRender" brachte Licht ins Dunkel. Hoffe ich kann mit der Info einigen ein paar Kopfschmerzen ersparen ;-)</p>
<p><strong>----- English -----</strong><br />
If you are using the debug_kit plugin and you want to enable themes in your CakePHP application you will run into a problem. debug_kit comes with a own view and overwrites whatever $view you've setup in your controllers. So if you wonder why ThemeView is not working, just delete the debug_kit and it will work. I haven't looked at the debug_kit code yet, but i guess there is no workaround to this. </p>
<p><strong>Tutorials:</strong><br />
<a href="http://www.pseudocoder.com/archives/2008/01/07/theming-with-cakephp/">theming-with-cakephp</a><br />
<a href="http://www.sanisoft.com/blog/2007/12/29/theming-your-cakephp-apps-v12/">theming-your-cakephp-apps-v12</a><br />
<a href="http://book.cakephp.org/view/488/Themes">Themes Section/cookbook</a></p>
<p>-----</p>
<p><strong>UPDATE:</strong> Ich habe Mark, den Autor des Plugins, darüber informiert und er schrieb mir heute zurück, dass es doch gemeinsam kompatibel sein sollte.</p>
<blockquote><p>"[...]From the tests I did as long as $view is set in the controller before your action ie. in your beforeFilter() you should be fine.[...]"</p></blockquote>
</div><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/M3nt0r?a=QoHdrNm2"><img src="http://feeds.feedburner.com/~f/M3nt0r?i=QoHdrNm2" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/M3nt0r?a=xJ7g78ie"><img src="http://feeds.feedburner.com/~f/M3nt0r?d=43" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/M3nt0r?a=3w4ZD4dO"><img src="http://feeds.feedburner.com/~f/M3nt0r?i=3w4ZD4dO" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/M3nt0r?a=LoKGlmL0"><img src="http://feeds.feedburner.com/~f/M3nt0r?d=50" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/M3nt0r/~4/AkUqj5nP8T4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.m3nt0r.de/feeder/?FeederAction=clicked&amp;feed=Articles+%28rss2%29&amp;seed=http%3A%2F%2Fm3nt0r.de%2Fblog%2F2008%2F11%2F20%2Fcakephp-12-themes-debug_kit-problematic%2F&amp;seed_title=CakePHP+1.2+Themes+%2B+Debug_Kit+%3D+Problematic/feed/</wfw:commentRss>
		<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.0/</creativeCommons:license><feedburner:origLink>http://www.m3nt0r.de/feeder/?FeederAction=clicked&amp;feed=Articles+%28rss2%29&amp;seed=http%3A%2F%2Fm3nt0r.de%2Fblog%2F2008%2F11%2F20%2Fcakephp-12-themes-debug_kit-problematic%2F&amp;seed_title=CakePHP+1.2+Themes+%2B+Debug_Kit+%3D+Problematic</feedburner:origLink></item>
		<item>
		<title>Snippet: Tooltip mit Prototype JS</title>
		<link>http://feedproxy.google.com/~r/M3nt0r/~3/gVt8V7wpGiA/</link>
		<comments>http://www.m3nt0r.de/feeder/?FeederAction=clicked&amp;feed=Articles+%28rss2%29&amp;seed=http%3A%2F%2Fm3nt0r.de%2Fblog%2F2008%2F10%2F25%2Ftooltip-mit-prototype-js-snippet%2F&amp;seed_title=Snippet%3A+Tooltip+mit+Prototype+JS#comments</comments>
		<pubDate>Sun, 26 Oct 2008 06:25:54 +0000</pubDate>
		<dc:creator>Kjell</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[codebeispiel]]></category>

		<category><![CDATA[css]]></category>

		<category><![CDATA[javascript]]></category>

		<category><![CDATA[prototype]]></category>

		<category><![CDATA[snippet]]></category>

		<guid isPermaLink="false">http://m3nt0r.de/blog/?p=783</guid>
		<description><![CDATA[Dynamisches Tooltip mit Prototype in nur 10 Zeilen.]]></description>
			<content:encoded><![CDATA[<div class='microid-2c6747bf6c53eb36a9da54f87d7251e0de216040'><p>Tooltips.. die kleinen Text-Popups die einem helfen sich zu orientieren. Immer wieder gerne gesehen und wurde auch schon zig-mal programmiert. </p>
<p>Ich hab mir schon so einige fertige Scripts angesehen, aber die meisten machen einfach viel zu viel und nutzen teilweise sogar selber Prototype, nur leider nicht effizient genug. </p>
<p>Meistens werden die DIVs beim Aufruf der Seite generiert und irgendwo unterhalb des BODYs "versteckt". Bei sehr vielen Tooltips/Links kann das den Seitenaufbau extrem verlangsamen. Andere wiederum berechnen gott-weiss-was und haben einen mehrseitigen Umfang. Da oft gleich auch eine Klasse geschrieben wird muss man meist eine weitere Scriptdatei laden, was nochmals den Aufbau verzögert.</p>
<p>Ich schreibe daher meine Tooltips immer selber und bin mittlerweile runter auf 10 Zeilen. Könnte sogar in einer passen, aber man will ja nicht den Überblick verlieren.</p>
<div class="syntax_hilite" style="background:#000"><span class="langName">JAVASCRIPT:</span>
<div id="javascript-3">
<div class="javascript">
<ol>
<li style="font-family: consolas, 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: consolas, 'Courier New', Courier, monospace; font-weight: normal;">$$<span style="color: #66cc66;">&#40;</span><span style="color: #A2FFCA;">'a[title]'</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #A3FF3F;">invoke</span><span style="color: #66cc66;">&#40;</span><span style="color: #A2FFCA;">'observe'</span>, <span style="color: #A2FFCA;">'mouseover'</span>, <span style="color: #FFA60B; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span>evt<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: consolas, 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #FFA60B; font-weight: bold;">var</span> element = evt.<span style="color: #FF9517;">findElement</span><span style="color: #66cc66;">&#40;</span><span style="color: #A2FFCA;">'a'</span><span style="color: #66cc66;">&#41;</span>, text = element.<span style="color: #FF9517;">getAttribute</span><span style="color: #66cc66;">&#40;</span><span style="color: #A2FFCA;">'title'</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: consolas, 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: consolas, 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #FFA60B; font-weight: bold;">var</span> tooltip = <span style="color: #FFA60B; font-weight: bold;">new</span> <span style="color: #A3FF3F;">Element</span><span style="color: #66cc66;">&#40;</span><span style="color: #A2FFCA;">'div'</span>, <span style="color: #66cc66;">&#123;</span><span style="color: #A2FFCA;">'class'</span>:<span style="color: #A2FFCA;">'tooltip'</span><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #FF9517;">update</span><span style="color: #66cc66;">&#40;</span>text<span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: consolas, 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; element.<span style="color: #FF9517;">removeAttribute</span><span style="color: #66cc66;">&#40;</span><span style="color: #A2FFCA;">'title'</span><span style="color: #66cc66;">&#41;</span>; element.<span style="color: #FF9517;">setAttribute</span><span style="color: #66cc66;">&#40;</span><span style="color: #A2FFCA;">'_title'</span>, text<span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: consolas, 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: consolas, 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; element.<span style="color: #FF9517;">insert</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#123;</span><span style="color: #A2FFCA;">'after'</span>: tooltip.<span style="color: #FF9517;">setStyle</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#123;</span><span style="color: #A2FFCA;">'left'</span>:element.<span style="color: #FF9517;">positionedOffset</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #FF9517;">first</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>+<span style="color: #A2FFCA;">'px'</span><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: consolas, 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #A3FF3F;">invoke</span><span style="color: #66cc66;">&#40;</span><span style="color: #A2FFCA;">'observe'</span>, <span style="color: #A2FFCA;">'mouseout'</span>, <span style="color: #FFA60B; font-weight: bold;">function</span><span style="color: #66cc66;">&#40;</span>evt<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-family: consolas, 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: consolas, 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #FFA60B; font-weight: bold;">var</span> element = evt.<span style="color: #FF9517;">findElement</span><span style="color: #66cc66;">&#40;</span><span style="color: #A2FFCA;">'a'</span><span style="color: #66cc66;">&#41;</span>, text = element.<span style="color: #FF9517;">getAttribute</span><span style="color: #66cc66;">&#40;</span><span style="color: #A2FFCA;">'_title'</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: consolas, 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; element.<span style="color: #FF9517;">removeAttribute</span><span style="color: #66cc66;">&#40;</span><span style="color: #A2FFCA;">'_title'</span><span style="color: #66cc66;">&#41;</span>; element.<span style="color: #FF9517;">setAttribute</span><span style="color: #66cc66;">&#40;</span><span style="color: #A2FFCA;">'title'</span>, text<span style="color: #66cc66;">&#41;</span>; </div>
</li>
<li style="font-family: consolas, 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:IG_LINE_COLOUR_1;">
<div style="font-family: consolas, 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #89EF77;">if</span> <span style="color: #66cc66;">&#40;</span>element.<span style="color: #FF9517;">next</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #FF9517;">hasClassName</span><span style="color: #66cc66;">&#40;</span><span style="color: #A2FFCA;">'tooltip'</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> element.<span style="color: #FF9517;">next</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>.<span style="color: #FF9517;">remove</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:IG_LINE_COLOUR_2;">
<div style="font-family: consolas, 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span><span style="color: #66cc66;">&#41;</span>; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<ul>
<li>Es wird OnMouseOver ein DIV kreiert mit dem Inhalt des TITLE Attributs eines Links. OnMouseOut wird das DIV einfach wieder entfernt. </li>
<li>Damit das Browser Tooltip nicht zusätzlich angezeitg wird, verschiebe ich bis zum OnMouseOut den Inhalt des TITLE Attributs kurz in ein Fake-Attribut namens _TITLE.</li>
<li>Der Selector <code>a[title]</code> wählt nur Anker die auch wirklich ein TITLE Attribut haben. Somit brauchen wir auch nicht mehr zu kontrollieren ob eines vorhanden ist.</li>
<li>Vom Javascript aus wird nur LEFT gesetzt, TOP braucht man nicht zwingend.</li>
<li>Am Ende von OnMouseOut prüfe ich ob das <em>nächste</em> Element wirklich die tooltip Klasse hat. Das ist nur eine reine Vorsichtsmaßnahme. Wer dennoch Probleme hat könnte etwas radikaler einfach alle DIVs mit dieser Klasse löschen via getElementsByClassName (ist am schnellsten).</li>
</ul>
<p>Das nachfolgende CSS kümmert sich um den z-Index und den Abstand zum Cursor.</p>
<pre><code>div.tooltip {
    color: #000;
    background-color: #FAFAFA;
    position: absolute;
    z-index: 9999;
    padding: 5px;
    margin: 5px;
    margin-left: 15px; /* Abstand zum Zeiger */
}<code></pre>
<p>So, und das war's. Wenn man nun irgendwo auf der Seite ein <code>&lt;a ... title="mein tooltip"&gt;</code> platziert hat man einen Link mit Tooltip. Zero config, wenn man so will.</p>
<p>Man kann natürlich auch ohne Probleme auf andere Elemente erweitern. Beispiel: <code>$$('a[title], img[title]')..</code>.</p>
<p>Falls jemand Verbesserungsvorschläge hat: Immer her damit!<br />
Script wurde in IE, FF und Safari getestet.</p>
</div><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/M3nt0r?a=3oZvtTcl"><img src="http://feeds.feedburner.com/~f/M3nt0r?i=3oZvtTcl" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/M3nt0r?a=1aaIepj2"><img src="http://feeds.feedburner.com/~f/M3nt0r?d=43" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/M3nt0r?a=pmb7tth3"><img src="http://feeds.feedburner.com/~f/M3nt0r?i=pmb7tth3" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/M3nt0r?a=oVa1hBNb"><img src="http://feeds.feedburner.com/~f/M3nt0r?d=50" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/M3nt0r/~4/gVt8V7wpGiA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.m3nt0r.de/feeder/?FeederAction=clicked&amp;feed=Articles+%28rss2%29&amp;seed=http%3A%2F%2Fm3nt0r.de%2Fblog%2F2008%2F10%2F25%2Ftooltip-mit-prototype-js-snippet%2F&amp;seed_title=Snippet%3A+Tooltip+mit+Prototype+JS/feed/</wfw:commentRss>
		<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.0/</creativeCommons:license><feedburner:origLink>http://www.m3nt0r.de/feeder/?FeederAction=clicked&amp;feed=Articles+%28rss2%29&amp;seed=http%3A%2F%2Fm3nt0r.de%2Fblog%2F2008%2F10%2F25%2Ftooltip-mit-prototype-js-snippet%2F&amp;seed_title=Snippet%3A+Tooltip+mit+Prototype+JS</feedburner:origLink></item>
		<item>
		<title>Hug a developer today!</title>
		<link>http://feedproxy.google.com/~r/M3nt0r/~3/e8fA-ijqRbs/</link>
		<comments>http://www.m3nt0r.de/feeder/?FeederAction=clicked&amp;feed=Articles+%28rss2%29&amp;seed=http%3A%2F%2Fm3nt0r.de%2Fblog%2F2008%2F09%2F22%2Fhug-a-developer-today%2F&amp;seed_title=Hug+a+developer+today%21#comments</comments>
		<pubDate>Mon, 22 Sep 2008 21:58:56 +0000</pubDate>
		<dc:creator>Kjell</dc:creator>
		
		<category><![CDATA[Development]]></category>

		<category><![CDATA[Dies und Das]]></category>

		<category><![CDATA[developer]]></category>

		<category><![CDATA[fun]]></category>

		<category><![CDATA[Musicvideos]]></category>

		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://m3nt0r.de/blog/?p=781</guid>
		<description><![CDATA[
Ja, Entwickler haben es schwer manchmal. Bitte einmal umarmen. Danke! :-)
]]></description>
			<content:encoded><![CDATA[<div class='microid-00540f06eb41f2705bedd6c37ad050d0642f9298'><p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/1lqxORnQARw&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/1lqxORnQARw&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p>Ja, Entwickler haben es schwer manchmal. Bitte einmal umarmen. Danke! :-)</p>
</div><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/M3nt0r?a=4n8Wn9QT"><img src="http://feeds.feedburner.com/~f/M3nt0r?i=4n8Wn9QT" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/M3nt0r?a=mdTofL6P"><img src="http://feeds.feedburner.com/~f/M3nt0r?d=43" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/M3nt0r?a=Ed2PQxSz"><img src="http://feeds.feedburner.com/~f/M3nt0r?i=Ed2PQxSz" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/M3nt0r?a=Wx5gm7xD"><img src="http://feeds.feedburner.com/~f/M3nt0r?d=50" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/M3nt0r/~4/e8fA-ijqRbs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.m3nt0r.de/feeder/?FeederAction=clicked&amp;feed=Articles+%28rss2%29&amp;seed=http%3A%2F%2Fm3nt0r.de%2Fblog%2F2008%2F09%2F22%2Fhug-a-developer-today%2F&amp;seed_title=Hug+a+developer+today%21/feed/</wfw:commentRss>
		<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.0/</creativeCommons:license><feedburner:origLink>http://www.m3nt0r.de/feeder/?FeederAction=clicked&amp;feed=Articles+%28rss2%29&amp;seed=http%3A%2F%2Fm3nt0r.de%2Fblog%2F2008%2F09%2F22%2Fhug-a-developer-today%2F&amp;seed_title=Hug+a+developer+today%21</feedburner:origLink></item>
		<item>
		<title>Patronen leer? Kein Thema!</title>
		<link>http://feedproxy.google.com/~r/M3nt0r/~3/KD4ZaQK9b_o/</link>
		<comments>http://www.m3nt0r.de/feeder/?FeederAction=clicked&amp;feed=Articles+%28rss2%29&amp;seed=http%3A%2F%2Fm3nt0r.de%2Fblog%2F2008%2F09%2F22%2Fpatronen-leer-kein-thema%2F&amp;seed_title=Patronen+leer%3F+Kein+Thema%21#comments</comments>
		<pubDate>Mon, 22 Sep 2008 20:57:08 +0000</pubDate>
		<dc:creator>Kjell</dc:creator>
		
		<category><![CDATA[Notizen]]></category>

		<category><![CDATA[drucker]]></category>

		<category><![CDATA[einkaufen]]></category>

		<category><![CDATA[patronen]]></category>

		<category><![CDATA[preise]]></category>

		<category><![CDATA[tinte]]></category>

		<guid isPermaLink="false">http://m3nt0r.de/blog/?p=779</guid>
		<description><![CDATA[Ich musste eine Menge Papierkram erledigen und wie das halt so laut Murphy ist wenn man sich dazu entschliesst: Tinte geht alle.]]></description>
			<content:encoded><![CDATA[<div class='microid-c92524eab1fb03a3692755ebf6c79a207f2ec19d'><p>Ich musste eine Menge Papierkram erledigen und wie das halt so laut Murphy ist wenn man sich dazu entschliesst: Tinte geht alle.</p>
<p>Also was macht man? Man geht zu seinem Elektromarkt seines Vertauens und wandert zum Druckerzubehör.  Die Preise waren deftig. Ist aber nichts neues, denn sonst gäbe es in der Wirtschaft keinen Platz für Patronen-Nachfüller - Steh ich aber nicht drauf. </p>
<p>Hab mir als für mein Modell die Patronen zusammengesucht und kam auf rund 40 Euro. Auf dem Weg zur Kasse sah ich dann ein Angebot eines Druckers für 35 Euro mit Patronen inklusive. Hmm... </p>
<p>Also was macht man wenn nun die Patronen leer sind? Richtig! Einen neuen Drucker kaufen, den alten aus den Fenster werfen und Geld sparen. Die haben echt alle eine Macke... </p>
<p>Na mir soll's egal sein.</p>
</div><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/M3nt0r?a=sxI40j2h"><img src="http://feeds.feedburner.com/~f/M3nt0r?i=sxI40j2h" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/M3nt0r?a=H749x0zD"><img src="http://feeds.feedburner.com/~f/M3nt0r?d=43" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/M3nt0r?a=1giRBYVJ"><img src="http://feeds.feedburner.com/~f/M3nt0r?i=1giRBYVJ" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/M3nt0r?a=3LeUe6nt"><img src="http://feeds.feedburner.com/~f/M3nt0r?d=50" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/M3nt0r/~4/KD4ZaQK9b_o" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.m3nt0r.de/feeder/?FeederAction=clicked&amp;feed=Articles+%28rss2%29&amp;seed=http%3A%2F%2Fm3nt0r.de%2Fblog%2F2008%2F09%2F22%2Fpatronen-leer-kein-thema%2F&amp;seed_title=Patronen+leer%3F+Kein+Thema%21/feed/</wfw:commentRss>
		<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.0/</creativeCommons:license><feedburner:origLink>http://www.m3nt0r.de/feeder/?FeederAction=clicked&amp;feed=Articles+%28rss2%29&amp;seed=http%3A%2F%2Fm3nt0r.de%2Fblog%2F2008%2F09%2F22%2Fpatronen-leer-kein-thema%2F&amp;seed_title=Patronen+leer%3F+Kein+Thema%21</feedburner:origLink></item>
		<item>
		<title>Meine essentiellen Tools für Mac</title>
		<link>http://feedproxy.google.com/~r/M3nt0r/~3/1xym1_XkgMk/</link>
		<comments>http://www.m3nt0r.de/feeder/?FeederAction=clicked&amp;feed=Articles+%28rss2%29&amp;seed=http%3A%2F%2Fm3nt0r.de%2Fblog%2F2008%2F09%2F21%2Fmeine-mac-tools%2F&amp;seed_title=Meine+essentiellen+Tools+f%C3%BCr+Mac#comments</comments>
		<pubDate>Sun, 21 Sep 2008 22:12:39 +0000</pubDate>
		<dc:creator>Kjell</dc:creator>
		
		<category><![CDATA[Software]]></category>

		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[apple]]></category>

		<category><![CDATA[mac]]></category>

		<category><![CDATA[macosx]]></category>

		<category><![CDATA[osx]]></category>

		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://m3nt0r.de/blog/?p=776</guid>
		<description><![CDATA[Ich musste leider meinen Mac wieder fit machen da mir irgendwas die ganze Kiste zerlegt hat. So eine Neuinstallation hat immer eine "reinigende Wirkung"]]></description>
			<content:encoded><![CDATA[<div class='microid-37c93cedb8013c818d2e1b95c63057c105b2ceff'><p>Ich musste leider meinen Mac wieder fit machen da mir irgendwas die ganze Kiste zerlegt hat. Das hat mich nicht nur zurückgeworfen, sondern auch dazu bewegt erneut die essentiellen Tools zu filtern. So eine Neuinstallation hat immer eine "reinigende Wirkung" - Programme an die man sich beim Aufsetzen nicht mehr erinnert sind obsolete. </p>
<p>Hier mal meine Favoriten.</p>
<p><strong>Visor</strong> - Ein SIMBLE Bundle welches im "Quake Stil" das Terminal per Tastenkombination nach vorne holt. Sehr praktisch für schnelle SSH / SVN / BAKE Operationen. (<a href="http://code.google.com/p/blacktree-visor/">kostenlos</a>)</p>
<p><strong>Quicksilver</strong> - Hat ein wenig gedauert bis der Groschen gefallen ist, aber das Tool hebt wirklich die Produktivität durch seine "humane" Schnittstelle zu fast allen Funktionen des Macs und installierten Apps. (<a href="http://blacktree.com/?quicksilver">kostenlos</a>)</p>
<p><strong>Caffeine</strong> - Ein kleines aber feines Menü Icon in Form einer Kaffeetasse. Ein Klick aktiviert den Koffein Modus und nervige Bildschirmschoner und Energie-Spar-Modi werden ausser Kraft gesetzt.  (<a href="http://lightheadsw.com/caffeine/">kostenlos</a>)</p>
<p><strong>ProjectPlus</strong> - Hab ich ja letztens erst drüber geschrieben. Für mich das ultimative TextMate Plugin. (<a href="http://ciaranwal.sh/2008/08/05/textmate-plug-in-projectplus">kostenlos</a>)</p>
<p><strong>MacPorts</strong> - So manch wichtige Terminal Komandos fehlen einfach im Vergleich zu einer Unix-Dist. MacPorts gibt mir Zugriff auf "wget", "unrar", etc.. Quasi das APT für Mac ;)  (<a href="http://www.macports.org/">kostenlos</a>)</p>
<p><strong>MagiCal</strong> -  Nicht wirklich ein Tool aber mehr ein missing feature. Ich weiss dass man sich irgendwie das Datum neben die Uhrzeit hacken kann, aber ein schickes Icon mit Wochentag welches mir on-click einen Kalender präsentiert ist besser. (<a href="http://www.charcoaldesign.co.uk/magical">kostenlos</a>)</p>
<p><strong>Sequel Pro</strong> - SQL Browser und Fork von cocoaSQL. Smartes Interface, mehr gibt's dazu nicht zu sagen. (<a href="http://www.mjmedia.com.au/sequel-pro.html">kostenlos</a>)</p>
<p><strong>Growl</strong> - Ja, ist Standard unter Mac-User, oder?? - Muss aber erwähnt werden. Es ist so praktisch nicht immer irgendwelche Fenster beobachten zu müssen. Steigert daher für mich definitiv die Produktivität. (<a href="http://growl.info/">kostenlos</a>)</p>
<p><strong>Cyberduck</strong> - Ich steh auf die Ente ;) FTP/SFTP/WebDav/S3, klein, viele Optionen, Top! (<a href="http://cyberduck.ch/">kostenlos</a>)</p>
<p><strong>tailDash</strong> - Ein Dashboard Widget für "tail" Ausgaben. Praktisch für jede Art von Logs.. mail, httpd, mysql, php, whatever.. (<a href="http://protagonist.co.uk/tailDash/">kostenlos</a>)</p>
<p><strong>MAMP</strong> - Muss man nicht viel zu sagen, oder? Apache2, MySQL, PHP4/5 für Mac. mount-move-forget. Okay.. nicht ganz "forget".. ich map den DocRoot immer auf ~/Sites, aber das war's dann auch. (<a href="http://www.mamp.info/de/index.php">kostenlos</a>)</p>
<p>Des weiteren 2 Apps die noch nicht fertig sind, aber schon als Beta einen super Eindruck machen  und auf meinem Wunschzettel stehen.</p>
<p><strong>Versions</strong> - Endlich ein guter SVN Client. Am Besten find ich den Ticket-Link Support. (<a href="http://www.versionsapp.com/">time limited preview</a>, *ugh*)<br />
<strong>Things</strong> - Find ich sehr elegant und hat schon einen festen Platz auf meinem iPhone. (<a href="http://www.culturedcode.com/things/">free beta until release</a>, *yay*)</p>
<p>So.. und nun geht's weiter im Text, und ich hoffe das war mein letztes fsck ;)</p>
</div><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/M3nt0r?a=5pDDWEmX"><img src="http://feeds.feedburner.com/~f/M3nt0r?i=5pDDWEmX" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/M3nt0r?a=38ZOGTX9"><img src="http://feeds.feedburner.com/~f/M3nt0r?d=43" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/M3nt0r?a=vSECzCmE"><img src="http://feeds.feedburner.com/~f/M3nt0r?i=vSECzCmE" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/M3nt0r?a=FVDF6DMc"><img src="http://feeds.feedburner.com/~f/M3nt0r?d=50" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/M3nt0r/~4/1xym1_XkgMk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.m3nt0r.de/feeder/?FeederAction=clicked&amp;feed=Articles+%28rss2%29&amp;seed=http%3A%2F%2Fm3nt0r.de%2Fblog%2F2008%2F09%2F21%2Fmeine-mac-tools%2F&amp;seed_title=Meine+essentiellen+Tools+f%C3%BCr+Mac/feed/</wfw:commentRss>
		<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.0/</creativeCommons:license><feedburner:origLink>http://www.m3nt0r.de/feeder/?FeederAction=clicked&amp;feed=Articles+%28rss2%29&amp;seed=http%3A%2F%2Fm3nt0r.de%2Fblog%2F2008%2F09%2F21%2Fmeine-mac-tools%2F&amp;seed_title=Meine+essentiellen+Tools+f%C3%BCr+Mac</feedburner:origLink></item>
		<item>
		<title>Jetzt auf Media Temple</title>
		<link>http://feedproxy.google.com/~r/M3nt0r/~3/rQBKR3U-Sj0/</link>
		<comments>http://www.m3nt0r.de/feeder/?FeederAction=clicked&amp;feed=Articles+%28rss2%29&amp;seed=http%3A%2F%2Fm3nt0r.de%2Fblog%2F2008%2F09%2F17%2Fjetzt-auf-media-temple%2F&amp;seed_title=Jetzt+auf+Media+Temple#comments</comments>
		<pubDate>Wed, 17 Sep 2008 18:03:07 +0000</pubDate>
		<dc:creator>Kjell</dc:creator>
		
		<category><![CDATA[Notizen]]></category>

		<category><![CDATA[cakephp]]></category>

		<category><![CDATA[grid]]></category>

		<category><![CDATA[hosting]]></category>

		<category><![CDATA[mediatemple]]></category>

		<category><![CDATA[mysql]]></category>

		<category><![CDATA[php]]></category>

		<category><![CDATA[RoR]]></category>

		<category><![CDATA[website]]></category>

		<category><![CDATA[zend]]></category>

		<guid isPermaLink="false">http://m3nt0r.de/blog/?p=771</guid>
		<description><![CDATA[Ich hab meinen Hoster gewechselt und bin jetzt auf Media Temple.]]></description>
			<content:encoded><![CDATA[<div class='microid-d3f3ca92e8377ea86562685b54ab9c4cb30accff'><p><img src="http://m3nt0r.de/blog/wp-content/uploads/2008/09/mt-120x60-dk.png" alt="" title="mt-120x60-dk" width="120" height="60" class="alignleft size-medium wp-image-772" />Ich hab meinen Hoster gewechselt und bin jetzt auf Media Temple. Ich muss sagen das die Seite sich gefühlt schneller aufbaut als zuvor und die Features von MT wirklich super sind. </p>
<p>Vor allem interessiert mich aber noch der MySQL GridContainer. Für Web-Anwendungen sicherlich nicht schlecht. Der ganze Umzug verlief eigentlich reibungslos. CakePHP und Zend Framework hab ich direkt als PHP Include angelegt und die Apps kommen super damit klar. Backup Cron Job, SSL, Mails als IMAP und POP, alles kein Thema. Am besten find ich dass ich volle Kontrolle über die DNS Zone Files habe. Dafür habe ich bisher zahlen müssen.</p>
<p>Kurzum: Ich kann es wirklich empfehlen und der Service ist super. Zur Zeit warte ich noch auf eine Bestätigung für einen kostenlosen Ruby-on-Rails GridContainer, der mir ohne zu Fragen angeboten wurde. Falls ihr auch etwas mehr Power braucht und mit dem Gedanken spielt zu wechseln oder euch MT anspricht nutz <a href="http://www.mediatemple.net/go/order/?refdom=overnightprojects.com">meinen Link</a>. Dann hab ich auch noch was davon. ;)</p>
</div><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/M3nt0r?a=YQhXdFcu"><img src="http://feeds.feedburner.com/~f/M3nt0r?i=YQhXdFcu" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/M3nt0r?a=Y2TPmZYB"><img src="http://feeds.feedburner.com/~f/M3nt0r?d=43" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/M3nt0r?a=Gyukykv6"><img src="http://feeds.feedburner.com/~f/M3nt0r?i=Gyukykv6" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/M3nt0r?a=qGCVvIPe"><img src="http://feeds.feedburner.com/~f/M3nt0r?d=50" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/M3nt0r/~4/rQBKR3U-Sj0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.m3nt0r.de/feeder/?FeederAction=clicked&amp;feed=Articles+%28rss2%29&amp;seed=http%3A%2F%2Fm3nt0r.de%2Fblog%2F2008%2F09%2F17%2Fjetzt-auf-media-temple%2F&amp;seed_title=Jetzt+auf+Media+Temple/feed/</wfw:commentRss>
		<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.0/</creativeCommons:license><feedburner:origLink>http://www.m3nt0r.de/feeder/?FeederAction=clicked&amp;feed=Articles+%28rss2%29&amp;seed=http%3A%2F%2Fm3nt0r.de%2Fblog%2F2008%2F09%2F17%2Fjetzt-auf-media-temple%2F&amp;seed_title=Jetzt+auf+Media+Temple</feedburner:origLink></item>
		<item>
		<title>Apple Special Event / Sept 2008 Keynote</title>
		<link>http://feedproxy.google.com/~r/M3nt0r/~3/xN-_jwznKmc/</link>
		<comments>http://www.m3nt0r.de/feeder/?FeederAction=clicked&amp;feed=Articles+%28rss2%29&amp;seed=http%3A%2F%2Fm3nt0r.de%2Fblog%2F2008%2F09%2F10%2Fapple-special-event-sept-2008-keynote%2F&amp;seed_title=Apple+Special+Event+%2F+Sept+2008+Keynote#comments</comments>
		<pubDate>Wed, 10 Sep 2008 07:26:33 +0000</pubDate>
		<dc:creator>Kjell</dc:creator>
		
		<category><![CDATA[Allgemein]]></category>

		<category><![CDATA[apple]]></category>

		<category><![CDATA[appstore]]></category>

		<category><![CDATA[hdtv]]></category>

		<category><![CDATA[iphone]]></category>

		<category><![CDATA[ipod]]></category>

		<category><![CDATA[itunes]]></category>

		<category><![CDATA[keynote]]></category>

		<category><![CDATA[tvshows]]></category>

		<guid isPermaLink="false">http://www.m3nt0r.de/blog/?p=862</guid>
		<description><![CDATA[Keynote verfügbar.]]></description>
			<content:encoded><![CDATA[<div class='microid-fca26b40031fda9cc496f6d3a57074b5314332a4'><p><img src="http://m3nt0r.de.s50728.gridserver.com/blog/wp-content/uploads/2008/09/picture-12.png" alt="" title="Steve" width="210" height="177" class="alignright size-medium wp-image-863" />Keynote verfügbar.</p>
<p>Steve Jobs über<br />
- HDTV und NBC Shows,<br />
- neue Features in iTunes 8,<br />
- der neue iPod Nano,<br />
- und ein paar Games aus dem AppStore.</p>
<p><a href="http://events.apple.com.edgesuite.net/0809dt4bs89/event/index.html">Zur Keynote</a> (circa 70min)</p>
<p>PS: Das neue iTunes gibt's seit gestern. Wie mir geflüstert wurde soll man noch die Finger von lassen.</p>
</div><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/M3nt0r?a=7LTREovp"><img src="http://feeds.feedburner.com/~f/M3nt0r?i=7LTREovp" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/M3nt0r?a=r7oudjNR"><img src="http://feeds.feedburner.com/~f/M3nt0r?d=43" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/M3nt0r?a=gX9ZqgZ5"><img src="http://feeds.feedburner.com/~f/M3nt0r?i=gX9ZqgZ5" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/M3nt0r?a=zXKaLBwa"><img src="http://feeds.feedburner.com/~f/M3nt0r?d=50" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/M3nt0r/~4/xN-_jwznKmc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.m3nt0r.de/feeder/?FeederAction=clicked&amp;feed=Articles+%28rss2%29&amp;seed=http%3A%2F%2Fm3nt0r.de%2Fblog%2F2008%2F09%2F10%2Fapple-special-event-sept-2008-keynote%2F&amp;seed_title=Apple+Special+Event+%2F+Sept+2008+Keynote/feed/</wfw:commentRss>
		<creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.0/</creativeCommons:license><feedburner:origLink>http://www.m3nt0r.de/feeder/?FeederAction=clicked&amp;feed=Articles+%28rss2%29&amp;seed=http%3A%2F%2Fm3nt0r.de%2Fblog%2F2008%2F09%2F10%2Fapple-special-event-sept-2008-keynote%2F&amp;seed_title=Apple+Special+Event+%2F+Sept+2008+Keynote</feedburner:origLink></item>
	<lastBuildDate>Thu, 25 Jun 2009 00:00:00 PDT</lastBuildDate><item><title>Links for 2008-01-25 [del.icio.us]</title><link>http://feedproxy.google.com/~r/M3nt0r/~3/F03bvRwCnCE/Mentor</link><pubDate>Sat, 26 Jan 2008 00:00:00 PST</pubDate><guid isPermaLink="false">http://del.icio.us/Mentor#2008-01-25</guid><description>&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.justsayhi.com/bb/html_quiz"&gt;How Many HTML Elements Can You Name in 5 Minutes?&lt;/a&gt;&lt;br/&gt;
i named 58&lt;/li&gt;
&lt;li&gt;&lt;a href="http://livepipe.net/projects/picora/"&gt;Picora&amp;trade; : PHP Micro Framework&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;img src="http://feeds.feedburner.com/~r/M3nt0r/~4/F03bvRwCnCE" height="1" width="1"/&gt;</description><feedburner:origLink>http://del.icio.us/Mentor#2008-01-25</feedburner:origLink></item></channel>
</rss>
