<?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; MVC</title>
	<atom:link href="http://www.webmahsulleri.com/tag/mvc/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>Simple MVC ile Java Üzerinde MVC uygulamaları</title>
		<link>http://www.webmahsulleri.com/yazilim-mimarileri/tasarim-kaliplari/simple-mvc-ile-java-uzerinde-mvc-uygulamalari/</link>
		<comments>http://www.webmahsulleri.com/yazilim-mimarileri/tasarim-kaliplari/simple-mvc-ile-java-uzerinde-mvc-uygulamalari/#comments</comments>
		<pubDate>Thu, 08 Jul 2010 21:11:58 +0000</pubDate>
		<dc:creator>Hüseyin Bora</dc:creator>
				<category><![CDATA[Framework]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[Mahsullerim]]></category>
		<category><![CDATA[Tasarım Kalıpları]]></category>
		<category><![CDATA[Controller]]></category>
		<category><![CDATA[Java EE]]></category>
		<category><![CDATA[OOP]]></category>
		<category><![CDATA[Servlet]]></category>
		<category><![CDATA[Simple MVC]]></category>

		<guid isPermaLink="false">http://www.webmahsulleri.com/?p=577</guid>
		<description><![CDATA[
Bundan önceki yazıda da belirtiğim gibi java ile ufak bir  mvc pattern uygulaması geliştirdim. Adında da anlaşılacağı üzere basit mvc kolay kullanıma yönelik bir çalışma oldu 7 kb hacmi ile hızlı mvc uygulamaları için ideal.
Öncelikle  http://code.google.com/p/javabasicmvc/downloads/list adresini ziyaret edip simplemvc.jar dosyasını indiriyosunuz  ve projenizin lib klasörüne yerleştiriyosunuz.
projenin ana dizini altına views altında bir klasör oluşturuyoruz [...]]]></description>
		<wfw:commentRss>http://www.webmahsulleri.com/yazilim-mimarileri/tasarim-kaliplari/simple-mvc-ile-java-uzerinde-mvc-uygulamalari/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Java Servlet ve JSP ile MVC Kalıbı Tasarımı</title>
		<link>http://www.webmahsulleri.com/yazilim-mimarileri/java-servlet-ve-jsp-ile-mvc-kalibi-tasarimi/</link>
		<comments>http://www.webmahsulleri.com/yazilim-mimarileri/java-servlet-ve-jsp-ile-mvc-kalibi-tasarimi/#comments</comments>
		<pubDate>Wed, 07 Jul 2010 21:59:04 +0000</pubDate>
		<dc:creator>Hüseyin Bora</dc:creator>
				<category><![CDATA[Framework]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[Yazılım Mimarileri]]></category>
		<category><![CDATA[Controller]]></category>
		<category><![CDATA[Java EE]]></category>
		<category><![CDATA[Java Se]]></category>
		<category><![CDATA[JSP]]></category>
		<category><![CDATA[OOP]]></category>
		<category><![CDATA[Pattern]]></category>
		<category><![CDATA[Servlet]]></category>

		<guid isPermaLink="false">http://www.webmahsulleri.com/?p=561</guid>
		<description><![CDATA[Java’nın Doğası MVC Kalıbı
Java da malum pek çok mvc çatısı var struct,jsf,spring velhasıl kelam bu yazıda java servlet kullanarak kendi mvc kalıbımızı oluşturup Java’nın doğasındaki  mvc yi dışarı çıkaracağız.
Öncelikle Controller sınıfımız HttpServlet sınıfından türetmeliyiz. Bir özet sınıf olarak tanımladığımız controller sınıfı   Controller()  adında bir özet metot tanımlar ki bu özet metodu [...]]]></description>
		<wfw:commentRss>http://www.webmahsulleri.com/yazilim-mimarileri/java-servlet-ve-jsp-ile-mvc-kalibi-tasarimi/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>PHP Faces PDF E-Kitap</title>
		<link>http://www.webmahsulleri.com/projeler/php-faces-pdf-e-kitap/</link>
		<comments>http://www.webmahsulleri.com/projeler/php-faces-pdf-e-kitap/#comments</comments>
		<pubDate>Sat, 24 Oct 2009 21:46:11 +0000</pubDate>
		<dc:creator>Hüseyin Bora</dc:creator>
				<category><![CDATA[Mahsullerim]]></category>
		<category><![CDATA[E-Kitap]]></category>
		<category><![CDATA[MVC]]></category>

		<guid isPermaLink="false">http://www.webmahsulleri.com/?p=408</guid>
		<description><![CDATA[
PHP Faces Türkçe Ekitap PDF Formatındaki dosyayı  indir
]]></description>
		<wfw:commentRss>http://www.webmahsulleri.com/projeler/php-faces-pdf-e-kitap/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>Doğrulama Kullanımları(Validator sınıfı)</title>
		<link>http://www.webmahsulleri.com/php/php-faces/dogrulama-kullanimlarivalidator-sinifi/</link>
		<comments>http://www.webmahsulleri.com/php/php-faces/dogrulama-kullanimlarivalidator-sinifi/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 18:11:58 +0000</pubDate>
		<dc:creator>Hüseyin Bora</dc:creator>
				<category><![CDATA[FDL]]></category>
		<category><![CDATA[PHP Faces]]></category>
		<category><![CDATA[Doğrulama]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[Validation]]></category>

		<guid isPermaLink="false">http://www.webmahsulleri.com/?p=301</guid>
		<description><![CDATA[Validator sınıfının metotları aşağıdaki gibidir.

required
equals
minLength
maxLength
mail
alpha
alpha_numeric
numeric
integer
betweenLength
between
boolean
test

required post edilen bileşinin içeriğinin boş olup olmadığını kontrol eder
Örnek

isim :&#60;f:textbox
name=&#34;textbox&#34;
validator=&#34; validator&#34;
rule=&#34;required&#34;
message=&#34;Bu alan boş geçilemez&#34;
messagefor=&#34;msgbox&#34;/&#62;
&#60;f:message  name=&#34;msgbox&#34;/&#62;

equals post edilen bileşenin içeriğinin  test niteliği ile uyuşup uyuşmadığını  kontrol eder
Örnek

isim :&#60;f:textbox
name=&#34;textbox&#34;
validator=&#34;validator&#34;
rule=&#34;equals&#34;
test=&#34;200&#34;
message=&#34;Hata girilen değer 200 değil &#34;
messagefor=&#34;msgbox&#34;
&#34;/&#62;
&#60;f:message  name=&#34;msgbox&#34;/&#62;

minLength post edilen bileşenin içeriğinin karakter uzunluğunun  min niteliğinden büyük olup olmadığını   kontrol eder
Örnek

isim :&#60;f:textbox
name=&#34;textbox&#34;
validator=&#34;validator&#34;
rule=&#34;minlength&#34;
min=&#34;10&#34;
message=&#34;En fazla 10 [...]]]></description>
		<wfw:commentRss>http://www.webmahsulleri.com/php/php-faces/dogrulama-kullanimlarivalidator-sinifi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Doğrulamalar (Validation)</title>
		<link>http://www.webmahsulleri.com/php/php-faces/dogrulamalar-validation/</link>
		<comments>http://www.webmahsulleri.com/php/php-faces/dogrulamalar-validation/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 17:12:21 +0000</pubDate>
		<dc:creator>Hüseyin Bora</dc:creator>
				<category><![CDATA[FDL]]></category>
		<category><![CDATA[PHP Faces]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[View State]]></category>

		<guid isPermaLink="false">http://www.webmahsulleri.com/?p=295</guid>
		<description><![CDATA[Doğrulama tanımlamaları view(görünün) içerisinde bileşen niteliklerine atama yapılarak sağlanır. Doğrulama sonucları event (olay) nesnesinin niteliğine göre AJAX ya da sayfa post edilerek tarayıcıya gönderilir.
Doğrulama işlemlerinde bileşenlerin 5 niteliği bulunur.
Bunlar

validator


rule


messagefor


message


success

Validator: bu niteliğe static metodlar barındıran doğrulama sınıfının ismi verilmelidir. io dizininde filtler ve validator isimlerimlerinde hazır iki doğrulama sınıfı bulunmaktadır.
Rule : Validator niteliği ile bildirilen doğrulama [...]]]></description>
		<wfw:commentRss>http://www.webmahsulleri.com/php/php-faces/dogrulamalar-validation/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Bileşen Niteliklerine Controllerdan Erişim Örnek Style Kullanımı</title>
		<link>http://www.webmahsulleri.com/php/php-faces/bilesen-niteliklerine-controllerdan-erisim-ornek-style-kullanimi/</link>
		<comments>http://www.webmahsulleri.com/php/php-faces/bilesen-niteliklerine-controllerdan-erisim-ornek-style-kullanimi/#comments</comments>
		<pubDate>Fri, 11 Sep 2009 17:10:07 +0000</pubDate>
		<dc:creator>Hüseyin Bora</dc:creator>
				<category><![CDATA[PHP Faces]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Controller]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[DOJO]]></category>
		<category><![CDATA[Faces Controller]]></category>
		<category><![CDATA[Facete]]></category>
		<category><![CDATA[FDL]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Java Script]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[style]]></category>

		<guid isPermaLink="false">http://www.webmahsulleri.com/?p=248</guid>
		<description><![CDATA[Niteliklere erişiken nesne adı -&#62; nitelik adı şeklindendir. örneğim bir textbox birde button bileşenimiz olsun buttona tıklandığında textbox un rengini değiştirelim.  faces view tanımlaması aşağıdaki gibidir.

&#60;faces&#62;
&#60;@import taglib=&#34;phpf.ui.*&#34; prefix=&#34;face&#34;/&#62;
&#60;face:textbox name =&#34;yazi&#34;  text =&#34;Merhaba&#34;/&#62;
&#60;face:textbox name =&#34;button&#34;  text =&#34;Rengi Değiştir&#34;/&#62;
&#60;/faces&#62;


class Controller extends Facete{
function Controller(){
parent::FacesController();
$this-&#62;render("view.html");
}
function buttonClicked($evt){
$this-&#62;yazi-&#62;setProperty("style", "background:blue");
}
}

Örneğimizde textbox bileşenin style niteliğine background:blue değerini artardık ve rengini değiştirmiş olduk.
Bir niteliği [...]]]></description>
		<wfw:commentRss>http://www.webmahsulleri.com/php/php-faces/bilesen-niteliklerine-controllerdan-erisim-ornek-style-kullanimi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Faces ORM Modeline  Giriş</title>
		<link>http://www.webmahsulleri.com/php/php-faces/faces-orm-modeline-giris/</link>
		<comments>http://www.webmahsulleri.com/php/php-faces/faces-orm-modeline-giris/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 21:33:57 +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[MVC]]></category>
		<category><![CDATA[ORM]]></category>
		<category><![CDATA[Persistence]]></category>

		<guid isPermaLink="false">http://www.webmahsulleri.com/?p=194</guid>
		<description><![CDATA[Önceki yazılarda da belirtiğim gibi PHP Faces framework model katmanında ORM (Object Relation Mapping) PHP Faces ORM yapısından faydalana bilmeniz için PHP PDO eklentisini aktif durumda olmalı.
PDO eklentisini php.ini dosyasından aktif duruma getirebilirsiniz. windows işletim sistemi için uzantılar .dll şeklinde olacak.
extension = pdo.so
extension = pdo_sqlite.so
extension = sqlite.so
extension = pdo_mysql.so
ORM programcıyı CRUD(Create, read, update,delete) işlemlerini kolaylaştıran [...]]]></description>
		<wfw:commentRss>http://www.webmahsulleri.com/php/php-faces/faces-orm-modeline-giris/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
