Home  |  Linux  | Mysql  | PHP  | XML
From:Derick Rethans Date:Wed May 14 01:06:30 2008
Subject:cvs: presentations / ezc-openweb8.xml php-secrets-phptek8.xml /slides/ezc example-search.xml search-query-abstraction.php
derick		Wed May 14 07:06:30 2008 UTC

  Added files:                 
    /presentations	php-secrets-phptek8.xml 
    /presentations/slides/ezc	example-search.xml 
                             	search-query-abstraction.php 

  Modified files:              
    /presentations	ezc-openweb8.xml 
  Log:
  - Added first presentation for |tek, some little updates to the OpenWeb
    talk.
  
  
http://cvs.php.net/viewvc.cgi/presentations/ezc-openweb8.xml?r1=1.1&r2=1.2&diff_format=u
Index: presentations/ezc-openweb8.xml
diff -u presentations/ezc-openweb8.xml:1.1 presentations/ezc-openweb8.xml:1.2
--- presentations/ezc-openweb8.xml:1.1	Thu Apr 10 09:03:16 2008
+++ presentations/ezc-openweb8.xml	Wed May 14 07:06:30 2008
@@ -42,6 +42,9 @@
 
 <slide>slides/ezc/pesistent-object-abstraction-intro.xml</slide>
 
+<slide>slides/ezc/example-search.xml</slide>
+
+<!-- archive and mail -->
 <slide>slides/ezc/example-archive.xml</slide>
 
 <slide>slides/ezc/example-mail.xml</slide>

http://cvs.php.net/viewvc.cgi/presentations/php-secrets-phptek8.xml?view=markup&rev=1.1
Index: presentations/php-secrets-phptek8.xml
+++ presentations/php-secrets-phptek8.xml
<?xml version="1.0" encoding="utf-8"?>
<presentation 
	template="css" 
	navmode="html"
	navbarbackground="#4373b4"
	navbartopiclinks="0"
	navColor="#f1fbff"
	logo1=""
	stylesheet="presentations/slides/ezc/ez.css"
	backgroundfixed="1" >
<topic>Internals</topic>
<title>PHP's Dirty Secrets</title>
<event>php|tek</event>
<location>Chicago, US</location>
<date>May 21st, 2008</date>
<speaker>Derick Rethans</speaker>
<email>dr@ez.no</email>
<url>http://derickrethans.nl/talks.php</url>

<slide>slides/internals/title2.xml</slide>

<!-- INTRODUCTION -->
<slide>slides/toolbox/me.xml</slide>

<slide>slides/internals/intro2.xml</slide>

<slide>slides/internals/parse_error.xml</slide>

<slide>slides/internals/opcode2.xml</slide>
<slide>slides/internals/vld-example.xml</slide>
<slide>slides/internals/vld1.xml</slide>
<slide>slides/internals/vld2.xml</slide>

<slide>slides/internals/execute2.xml</slide>
<slide>slides/internals/execute5.xml</slide>
<slide>slides/grown-up/micro-opts.xml</slide>
<slide>slides/grown-up/faster-harder.xml</slide>
<slide>slides/grown-up/benchmarks.xml</slide>

<slide>slides/internals/execute5.xml</slide>

<!-- CACHES -->
<slide>slides/internals/opcode-cache.xml</slide>
<slide>slides/internals/how_ccache_serialize.xml</slide>
<slide>slides/perf/accelerators.xml</slide> <!-- Accelerators -->

<slide>slides/internals/vld1b.xml</slide>
<slide>slides/xdebug/live-demo.xml</slide>
<slide>slides/internals/inclued.xml</slide>
<slide>slides/xdebug/live-demo.xml</slide>


<!-- 5.3 greia -->
<slide>slides/internals/variables1.xml</slide>
<slide>slides/internals/variables2.xml</slide>
<slide>slides/internals/variables3.xml</slide>
<slide>slides/internals/variables4.xml</slide>
<slide>slides/internals/variables5.xml</slide>
<slide>slides/internals/variables6.xml</slide>
<slide>slides/internals/variables7.xml</slide>
<slide>slides/internals/variables8.xml</slide>
<slide>slides/internals/variables11.xml</slide>
<slide>slides/internals/variables-circular.xml</slide>

<slide>slides/internals/questions.xml</slide>
<slide>slides/internals/resources.xml</slide>
</presentation>

http://cvs.php.net/viewvc.cgi/presentations/slides/ezc/example-search.xml?view=markup&rev=1.1
Index: presentations/slides/ezc/example-search.xml
+++ presentations/slides/ezc/example-search.xml
<slide>
	<title>Search</title>

	<list>
		<bullet>Provide an interface to Search backends</bullet>
		<bullet>Interfaces to: Solr (Lucene)</bullet>
	</list>
	<example encoding="iso-8859-1" filename='search-query-abstraction.php'/>

</slide>


http://cvs.php.net/viewvc.cgi/presentations/slides/ezc/search-query-abstraction.php?view=markup&rev=1.1
Index: presentations/slides/ezc/search-query-abstraction.php
+++ presentations/slides/ezc/search-query-abstraction.php
<?php
$solr = new ezcSearchSolrHandler;
$session = new ezcSearchSession( $solr, new ezcSearchEmbeddedManager() );
$q = $session->createFindQuery( 'ezcSearchSimpleArticle' );
$searchWords = split( ' ', $searchWord );
foreach( $searchWords as $searchWord )
{
	$q->where( $q->eq( 'body', $searchWord ) )
	  ->where( $q->eq( 'title', $searchWord ) );
}
$q->facet( 'type' )
  ->limit( 10, $begin );
$r = $session->find( $q );
?>


Navigate in group php.pres at sever news.php.net
Previous Next




  
© No Copyright
You are free to use Anything
Site Maintained by PHP Developer
Powered By PHP Consultants