<?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>Web Mahsulleri ! &#187; FQL</title>
	<atom:link href="http://www.webmahsulleri.com/tag/fql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webmahsulleri.com</link>
	<description>İnsan Programı</description>
	<lastBuildDate>Thu, 02 Sep 2010 17:11:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>PHP Faces Pager Etiketi ile Sayfalama (Pagination)</title>
		<link>http://www.webmahsulleri.com/php/php-faces-pager-etiketi-ile-sayfalama-pagination/</link>
		<comments>http://www.webmahsulleri.com/php/php-faces-pager-etiketi-ile-sayfalama-pagination/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 20:11:48 +0000</pubDate>
		<dc:creator>Hüseyin Bora</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Component]]></category>
		<category><![CDATA[Controller]]></category>
		<category><![CDATA[FDL]]></category>
		<category><![CDATA[FQL]]></category>
		<category><![CDATA[ORM]]></category>
		<category><![CDATA[Persistence]]></category>
		<category><![CDATA[PHP Faces]]></category>

		<guid isPermaLink="false">http://www.webmahsulleri.com/?p=487</guid>
		<description><![CDATA[
Pager Etiketi sayfalama yapmak amacıyla kullanılır.İki farklı kullanım vardır birinci kullanım şeklinde entity niteliğine varlık sınıfının adı.
Limit niteliğine gösterilecek kayıt sayısı yazılır eğer FQL etiketinde olduğu gibi bir sonuc kümesi elde edilmek isteniyora resource niteliğine geri alınacak sounuc kümesinin adı yazılmalıdır.
Eğer php faces framework ü URI modunda kullanıyorsanız pager nesnesinin uri biçimde sayfalama oluşturması için [...]]]></description>
		<wfw:commentRss>http://www.webmahsulleri.com/php/php-faces-pager-etiketi-ile-sayfalama-pagination/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL ve FQL Etiketleri</title>
		<link>http://www.webmahsulleri.com/php/sql-ve-fql-etiketleri/</link>
		<comments>http://www.webmahsulleri.com/php/sql-ve-fql-etiketleri/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 20:02:10 +0000</pubDate>
		<dc:creator>Hüseyin Bora</dc:creator>
				<category><![CDATA[FDL]]></category>
		<category><![CDATA[Faces ORM]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[PHP Faces]]></category>
		<category><![CDATA[PHP ORM]]></category>
		<category><![CDATA[Bileşenler]]></category>
		<category><![CDATA[FQL]]></category>
		<category><![CDATA[ORM]]></category>
		<category><![CDATA[Persistence]]></category>
		<category><![CDATA[View State]]></category>

		<guid isPermaLink="false">http://www.webmahsulleri.com/?p=481</guid>
		<description><![CDATA[SQL etiketi query niteliğine paremetre olarak verilen SQL sorgusu işletir ve id niteliğine verilen isim ile bir sonuc kümesi getirir.
Örnek 

&#60;html&#62;
&#60;head&#62;
&#60;title&#62;&#60;/title&#62;
&#60;meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=UTF-8&#34;&#62;
&#60;/head&#62;
&#60;body&#62;
&#60;faces&#62;
&#60;@import prefix=&#34;c&#34; taglib=&#34;phpf.core&#34; type=&#34;static&#34;/&#62;
&#60;@import prefix=&#34;sql&#34; taglib=&#34;phpf.db.sql&#34;/&#62;
&#60;sql:sql id=&#34;results&#34; query=&#34;select * from urun&#34;/&#62;
&#60;table border=&#34;1&#34; align=&#34;center&#34;&#62;
&#60;thead&#62;
&#60;th&#62;Urun NO&#60;/th&#62;
&#60;th&#62;Urun Adı&#60;/th&#62;
&#60;th&#62;Fiyat&#60;/th&#62;
&#60;th&#62;Resim&#60;/th&#62;
&#60;/thead&#62;
&#60;c:foreach var=&#34;#{$results}&#34; item=&#34;$urun&#34;&#62;
&#60;tr&#62;
&#60;td&#62;#{$urun.no}&#60;/td&#62;
&#60;td&#62;#{$urun.ad}&#60;/td&#62;
&#60;td&#62;#{$urun.fiyat}&#60;/td&#62;
&#60;td&#62;&#60;img src=&#34;#{$urun.resim}&#34;/&#62;&#60;/td&#62;
&#60;/tr&#62;
&#60;/c:foreach&#62;
&#60;/table&#62;
&#60;/faces&#62;
&#60;/body&#62;
&#60;/html&#62;

FQL Etiketi
FQL etiketi query niteliğine paremetre olarak verilen FQL sorgusu işletir ve id niteliğine verilen [...]]]></description>
		<wfw:commentRss>http://www.webmahsulleri.com/php/sql-ve-fql-etiketleri/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ORM Kütüphanesi ve Grid Table Kullanımı</title>
		<link>http://www.webmahsulleri.com/php/orm-kutuphanesi-ve-grid-table-kullanimi/</link>
		<comments>http://www.webmahsulleri.com/php/orm-kutuphanesi-ve-grid-table-kullanimi/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 19:52:32 +0000</pubDate>
		<dc:creator>Hüseyin Bora</dc:creator>
				<category><![CDATA[FDL]]></category>
		<category><![CDATA[Faces ORM]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[PHP Faces]]></category>
		<category><![CDATA[PHP ORM]]></category>
		<category><![CDATA[Bileşenler]]></category>
		<category><![CDATA[Controller]]></category>
		<category><![CDATA[Facete]]></category>
		<category><![CDATA[FQL]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[ORM]]></category>

		<guid isPermaLink="false">http://www.webmahsulleri.com/?p=473</guid>
		<description><![CDATA[Grid bileşeni kendisine bind niteliği ile belirtilen Sınıf diziden bir HTML tablosu oluşturur. Oluşturulan tabloda hangi sutunların bulunacağı @item direktifi ile bildirilir. @item direktifinin key niteliğine Varlık sınıfının uye ismi title niteliğine ise sutunun başlığı yazılır.

@item direktifi ile tabloya sınıf harici bilgi eklemek için input niteliği kullanılır.
&#60;@item  input=&#8221;link&#8221; title=&#8221;Düzenle&#8221;  url=&#8221;testet.php?edit=$no&#8221;/&#62;
Örneğin yukarıdaki @item direktifi ile düzenle [...]]]></description>
		<wfw:commentRss>http://www.webmahsulleri.com/php/orm-kutuphanesi-ve-grid-table-kullanimi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ORM nedir ? PHP ORM Faces İlişkisel Nesne Eşleştirme</title>
		<link>http://www.webmahsulleri.com/php/orm-nedir-php-orm-faces/</link>
		<comments>http://www.webmahsulleri.com/php/orm-nedir-php-orm-faces/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 17:07:01 +0000</pubDate>
		<dc:creator>Hüseyin Bora</dc:creator>
				<category><![CDATA[Faces ORM]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[PHP ORM]]></category>
		<category><![CDATA[Yazılım Mimarileri]]></category>
		<category><![CDATA[Entity]]></category>
		<category><![CDATA[FQL]]></category>
		<category><![CDATA[Object relational mapping]]></category>
		<category><![CDATA[ORM]]></category>
		<category><![CDATA[ORM Faces]]></category>

		<guid isPermaLink="false">http://www.webmahsulleri.com/?p=365</guid>
		<description><![CDATA[PHP ORM Faces
ORM nedir? İlişkisel Nesne Eşleştirme (Object Relation Mapping) basit bir anlatımla veritabanındaki tablolara karşılık gelen sınıflar ve bu sınıfların özelliklerine göre SQL cümleleri üretebilen bir yazılım mimarisidir diyebiliriz.

Tablolarımıza karşılık gelen bu sınıflara genel anlamda Varlık(Entity) sınıfları adını veriyoruz. Nesne yönelimli programlamada her şey birer nesne olarak düşünülmeli O halde veri tabanındaki işlemlerimizde nesneler [...]]]></description>
		<wfw:commentRss>http://www.webmahsulleri.com/php/orm-nedir-php-orm-faces/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP ORM Tekbaşına kullanımı</title>
		<link>http://www.webmahsulleri.com/php/php-orm-tekbasina-kullanimi/</link>
		<comments>http://www.webmahsulleri.com/php/php-orm-tekbasina-kullanimi/#comments</comments>
		<pubDate>Fri, 16 Oct 2009 13:00:31 +0000</pubDate>
		<dc:creator>Hüseyin Bora</dc:creator>
				<category><![CDATA[Faces ORM]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[PHP ORM]]></category>
		<category><![CDATA[Entity]]></category>
		<category><![CDATA[FQL]]></category>
		<category><![CDATA[Model]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[ORM]]></category>
		<category><![CDATA[Persistence]]></category>

		<guid isPermaLink="false">http://www.webmahsulleri.com/?p=354</guid>
		<description><![CDATA[PHP ORM
PHP Faces ORM tek başına kullanabilirsiniz bunun için öncelikle aşağıdaki adresten ORM çatısını indirin. İlgili dosyaları bir dizine çıkarın ve kullanacağınız sunucuya taşıyın.
PHP ORM indir.
Yapılandırma
PHP ini dosyanızdan aşağıdaki eklentilerin kullanılabilir halde düzenleyin
extension = pdo.so
extension = pdo_sqlite.so
extension = sqlite.so
extension = pdo_mysql.so
Bir yapılandırma dosyası hazırlayın örneğin config.php dosyası olabilir
Örnek yapılandırma dosyası

define("DB_CONNECTION_STRING","mysql:host=localhost;dbname=faces");//sunucunuz ve veritabanı adı
define("DB_USER","root");//veritabanı kullanıcı adı
define("DB_PASS","abc345");
define("DB_CONNECTOR","PDO");//bu [...]]]></description>
		<wfw:commentRss>http://www.webmahsulleri.com/php/php-orm-tekbasina-kullanimi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Doğrulama Sınıfları (Kendi Doğrulayıcılarınız)</title>
		<link>http://www.webmahsulleri.com/php/php-faces/dogrulama-siniflari-kendi-dogrulayicilariniz/</link>
		<comments>http://www.webmahsulleri.com/php/php-faces/dogrulama-siniflari-kendi-dogrulayicilariniz/#comments</comments>
		<pubDate>Sat, 26 Sep 2009 14:56:37 +0000</pubDate>
		<dc:creator>Hüseyin Bora</dc:creator>
				<category><![CDATA[FDL]]></category>
		<category><![CDATA[Faces ORM]]></category>
		<category><![CDATA[PHP Faces]]></category>
		<category><![CDATA[Controller]]></category>
		<category><![CDATA[Doğrulama]]></category>
		<category><![CDATA[Entity]]></category>
		<category><![CDATA[Faces Controller]]></category>
		<category><![CDATA[Facete]]></category>
		<category><![CDATA[FQL]]></category>
		<category><![CDATA[Model]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[ORM]]></category>
		<category><![CDATA[Persistence]]></category>
		<category><![CDATA[Validation]]></category>

		<guid isPermaLink="false">http://www.webmahsulleri.com/?p=316</guid>
		<description><![CDATA[Doğrulayıcı(Validator) sınıfları durağan(static) metotları kullanan sınıflardır. işlerinizi kolaylaştırması ve yazılımın bütünleşik parçalar halinde kolektif bir yapıda çalışmasına olanak sağlar.
Bir doğrulama metodunun tanımlaması aşağıdaki gibidir


static function required(Component $c,Component $m,$message,$success)

Birinci parametre “Component $c” doğrulama işleminin yapıldığı bileşen
İkinci parametre “Component $m” mesajların yazdırılacağı bileşen
Üçüncü parametre uyarı mesajı
Dördüncü parametre doğrulama mesajı
Örneğin yeni üye kaydı için bir üye kayıt formumuzun [...]]]></description>
		<wfw:commentRss>http://www.webmahsulleri.com/php/php-faces/dogrulama-siniflari-kendi-dogrulayicilariniz/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Faces ORM FQL (Faces Query Language)</title>
		<link>http://www.webmahsulleri.com/php/php-faces/faces-orm-fql-faces-query-language/</link>
		<comments>http://www.webmahsulleri.com/php/php-faces/faces-orm-fql-faces-query-language/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 23:45:37 +0000</pubDate>
		<dc:creator>Hüseyin Bora</dc:creator>
				<category><![CDATA[Faces ORM]]></category>
		<category><![CDATA[PHP Faces]]></category>
		<category><![CDATA[Entity]]></category>
		<category><![CDATA[FQL]]></category>
		<category><![CDATA[Model]]></category>
		<category><![CDATA[ORM]]></category>

		<guid isPermaLink="false">http://www.webmahsulleri.com/?p=228</guid>
		<description><![CDATA[FQL varlık nesneleri üzerinde sorgulama yapmanıza olanak tanıyan SQL e benzer bir sorgulama dilidir. FQL Sorguları PHP Faces Framework tarfından doğal SQL sözcüklerine dönüştürülür.
SELECT İfadesi
SELECT takmaisim FROM sıfıfadı takmaisim  WHERE having vb..
Örnekler
SELECT b from Blog b 
SELECT c from Categories c
SELECT b from Blog b WHERE bi.id = 1
SELECT b from Blog b WHERE [...]]]></description>
		<wfw:commentRss>http://www.webmahsulleri.com/php/php-faces/faces-orm-fql-faces-query-language/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Faces ORM Varlık Sınıfları Arasında İlişkiler</title>
		<link>http://www.webmahsulleri.com/php/php-faces/faces-orm-varlik-siniflari-arasinda-iliskiler/</link>
		<comments>http://www.webmahsulleri.com/php/php-faces/faces-orm-varlik-siniflari-arasinda-iliskiler/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 23:30:24 +0000</pubDate>
		<dc:creator>Hüseyin Bora</dc:creator>
				<category><![CDATA[Faces ORM]]></category>
		<category><![CDATA[PHP Faces]]></category>
		<category><![CDATA[Entity]]></category>
		<category><![CDATA[FQL]]></category>
		<category><![CDATA[Model]]></category>
		<category><![CDATA[ORM]]></category>
		<category><![CDATA[Persistence]]></category>

		<guid isPermaLink="false">http://www.webmahsulleri.com/?p=220</guid>
		<description><![CDATA[ilişkisel annotationlar
@OneToOne
@OneToMany
@ManyToOne
@ManyToMany
üç paremetreleri bulunur
mappedBy = “Sınıf adı”
pk = ” primary key ”
fk = ” foreign key”
CREATE TABLE `blog` (
  `id` int(11) NOT NULL auto_increment,
  `name` varchar(255) default NULL,
  `content` text,
  PRIMARY KEY  (`id`)
)

 CREATE TABLE  comment` (
`comentid` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`content` TEXT NOT NULL ,
`blogid` INT NOT NULL
)

Yukarıdaki yapı şeklinde iki tablomuz olsun
blog [...]]]></description>
		<wfw:commentRss>http://www.webmahsulleri.com/php/php-faces/faces-orm-varlik-siniflari-arasinda-iliskiler/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Faces ORM Entity Manager (Varlık Yöneticisi)</title>
		<link>http://www.webmahsulleri.com/php/php-faces/faces-orm-entity-manager/</link>
		<comments>http://www.webmahsulleri.com/php/php-faces/faces-orm-entity-manager/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 23:01:52 +0000</pubDate>
		<dc:creator>Hüseyin Bora</dc:creator>
				<category><![CDATA[Faces ORM]]></category>
		<category><![CDATA[PHP Faces]]></category>
		<category><![CDATA[Entity]]></category>
		<category><![CDATA[FQL]]></category>
		<category><![CDATA[Model]]></category>
		<category><![CDATA[ORM]]></category>
		<category><![CDATA[Persistence]]></category>

		<guid isPermaLink="false">http://www.webmahsulleri.com/?p=209</guid>
		<description><![CDATA[Entity Manager (Varlık Yöneticisi) isminden de anlaşılacağı üzeri varlık sınıflarınız üzerinde temel işlemleri gerçekleştirmenizi sağlar. varlık yöneticisi ister controller sınıfınızda isterseniz entity sınıflarınız içersinde kullanın.
Metotlar
bir varlığı veri tabanına kaydetmek duruma göre insert ya da update sözcükleri üretilir

EntityManager::save(Entity $e)

Örnek

$blog = new Blog();
$blog-&#62;name="Hello world";
$blog-&#62;content="xxxx";
EntityManager::getInstance()-&#62;save($blog);

bir varlığı veri tabanınıda aramak için EntityManager&#8217;ın find metotdu kullanılır. Bu metodun ilk parametresi [...]]]></description>
		<wfw:commentRss>http://www.webmahsulleri.com/php/php-faces/faces-orm-entity-manager/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Faces Entity (Varlıklar)</title>
		<link>http://www.webmahsulleri.com/php/php-faces/faces-entity-varliklar/</link>
		<comments>http://www.webmahsulleri.com/php/php-faces/faces-entity-varliklar/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 22:07:45 +0000</pubDate>
		<dc:creator>Hüseyin Bora</dc:creator>
				<category><![CDATA[Faces ORM]]></category>
		<category><![CDATA[PHP Faces]]></category>
		<category><![CDATA[Entity]]></category>
		<category><![CDATA[FQL]]></category>
		<category><![CDATA[Model]]></category>
		<category><![CDATA[ORM]]></category>
		<category><![CDATA[Persistence]]></category>

		<guid isPermaLink="false">http://www.webmahsulleri.com/?p=201</guid>
		<description><![CDATA[Entity Varlık sınıfları Entity sınıfından genişletilir. genellikle import işlemlerini controllerda yaparsınız. aşağıdaki satırların controller da bulunması iyidir.

import("dbf.persistence");
import("models",true);

import fonksiyonun ikinci parametresinin true verilmesi durumda bu fonksiyon uygulamaya dahil edilecek dosyalara application/uygulamaadi/ içerisinede bakar.
Tekrar konumza yani varlık sınıflarına dönelim. varlık sınıflarını veri tabanındaki tablolarınız ile ilişkilendirirken haritalarken annotationları kullanırsınız.
Annotationlar
@Table(name = &#8220;blog&#8221;)  tablo adı tanımlanır class sözcüğün [...]]]></description>
		<wfw:commentRss>http://www.webmahsulleri.com/php/php-faces/faces-entity-varliklar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
