<?xml version="1.0" encoding="iso-8859-9"?>
<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>CODE PROJECT &#124; php, codeigniter, smarty, design patterns &#187; proje</title>
	<atom:link href="http://code.internet.com.tr/kategori/php/proje/feed/" rel="self" type="application/rss+xml" />
	<link>http://code.internet.com.tr</link>
	<description>bir gün bir gün bir çocuk</description>
	<lastBuildDate>Sun, 31 Jan 2010 11:11:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>auth sınıfı kullanımı</title>
		<link>http://code.internet.com.tr/auth-sinifi-kullanimi/</link>
		<comments>http://code.internet.com.tr/auth-sinifi-kullanimi/#comments</comments>
		<pubDate>Sun, 12 Jul 2009 20:32:36 +0000</pubDate>
		<dc:creator>Emre Çevik</dc:creator>
				<category><![CDATA[codeigniter]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[proje]]></category>
		<category><![CDATA[auth]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[oop]]></category>
		<category><![CDATA[üyelik]]></category>

		<guid isPermaLink="false">http://code.internet.com.tr/?p=436</guid>
		<description><![CDATA[bir önceki yazımızda codeignitere auth sınıfını nasıl entegre edeceğimizi anlatmıştık. şimdi bu sınıfı nasıl kullanacağımıza bakalım.

Eğer daha önce okumadıysanız auth sınıfı yazısına göz atınız

PROJE DOSYASI 
+ parse sınıfı ve kullanımı
+ auth sınıfı ve kullanımı
+ smarty sınıfı ve kullanımı


/project/system/application/controllers/user.php

Yeni kullanıcı ekleme

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
    function register&#40;&#41; &#123;
        if&#40;!LOGIN&#41;
  [...]]]></description>
		<wfw:commentRss>http://code.internet.com.tr/auth-sinifi-kullanimi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>auth sınıfı</title>
		<link>http://code.internet.com.tr/auth-sinifi/</link>
		<comments>http://code.internet.com.tr/auth-sinifi/#comments</comments>
		<pubDate>Sun, 12 Jul 2009 20:24:08 +0000</pubDate>
		<dc:creator>Emre Çevik</dc:creator>
				<category><![CDATA[codeigniter]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[proje]]></category>
		<category><![CDATA[auth]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[oop]]></category>
		<category><![CDATA[üyelik]]></category>

		<guid isPermaLink="false">http://code.internet.com.tr/?p=424</guid>
		<description><![CDATA[projemizde kullanıcıların, üye girişi, kayıt ve üyelik işlemleri için bir sınıf yazmamız gerekli. ben bu sınıfın projede kullanılacak ozelleklerini oluşturdum. daha sonra bu sınıfımızı geliştireceğiz. şu an için kullanılacak özelliklere bakalım.

TÜM DOSYALARI İNDİRMEK VE AUTH SINIFININ KULLANIMI İÇİN TIKLAYIN
Sınıfımızın methodları
Auth : sınıfımızın constructoru checklogin fonksiyonunu cagirir.
checkLogin : siteye giriş yapılıp yapılmadığını kontrol eder ve setDefine [...]]]></description>
		<wfw:commentRss>http://code.internet.com.tr/auth-sinifi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>parse sınıfı</title>
		<link>http://code.internet.com.tr/parse-sinifi/</link>
		<comments>http://code.internet.com.tr/parse-sinifi/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 22:24:14 +0000</pubDate>
		<dc:creator>Emre Çevik</dc:creator>
				<category><![CDATA[codeigniter]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[proje]]></category>
		<category><![CDATA[description]]></category>
		<category><![CDATA[file_get_contents]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[meta]]></category>
		<category><![CDATA[oop]]></category>
		<category><![CDATA[parse]]></category>
		<category><![CDATA[parser]]></category>
		<category><![CDATA[preg_match]]></category>
		<category><![CDATA[preg_match_all]]></category>
		<category><![CDATA[resim]]></category>
		<category><![CDATA[simplexml]]></category>
		<category><![CDATA[src]]></category>
		<category><![CDATA[title]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://code.internet.com.tr/?p=420</guid>
		<description><![CDATA[simplexml ile ilgili daha önce yazı yazmıştım. xml ve html yi parse edecek bir sınıf yazacağız.
bu sınıfı daha sonra geliştirip projemizde kullanacağız.
sınıfımız ne yapacak.
xml dosyasından xpath ile title, link ve description alacak.
html sayfasından title, description ve resimleri çekecek.


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
&#60;?php if &#40;!defined&#40;'BASEPATH'&#41;&#41; exit&#40;'No direct script access allowed'&#41;;
&#160;
class Parse &#123;
&#160;
    var $xpath;
    [...]]]></description>
		<wfw:commentRss>http://code.internet.com.tr/parse-sinifi/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>smarty</title>
		<link>http://code.internet.com.tr/smarty/</link>
		<comments>http://code.internet.com.tr/smarty/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 20:32:15 +0000</pubDate>
		<dc:creator>Emre Çevik</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[proje]]></category>
		<category><![CDATA[smarty]]></category>
		<category><![CDATA[codeigniter]]></category>
		<category><![CDATA[kurulum]]></category>
		<category><![CDATA[smarty kurulumu]]></category>
		<category><![CDATA[tema]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://code.internet.com.tr/?p=410</guid>
		<description><![CDATA[projemizde codeigniter ile smarty kullanacağız. aslında codeigniter&#8217;in kendi template parseri var. fakat smarty kullanılması tema dosyalarının daha duzenli ve okunaklı olmasını sağlıyor veya bana öyle geliyor.
bu konuda codeigniter ile birlikte smarty&#8217;nin nasıl kullanılacağını anlatacağım.

önceki yazılarımızda codeigniter&#8217;i nasıl kuralacağınızı anlatmıştım.
smarty&#8217;nin sitesinden son sürümünü indiriyoruz. ben 2.6.26 sürümünü indirdim ve /libs klasörünü codeigniteri yuklediğimiz /project klasorunun içine [...]]]></description>
		<wfw:commentRss>http://code.internet.com.tr/smarty/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>simplexml</title>
		<link>http://code.internet.com.tr/simplexml/</link>
		<comments>http://code.internet.com.tr/simplexml/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 19:23:55 +0000</pubDate>
		<dc:creator>Emre Çevik</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[proje]]></category>
		<category><![CDATA[rss]]></category>
		<category><![CDATA[simplexml]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://code.internet.com.tr/?p=406</guid>
		<description><![CDATA[digg benzeri bir proje yapacağımız için xml kayıtlarını okuyacak bir sınıf hazırlamamız gerekli. simplexml diye bişey olduğunu biliyordum fakat onceden php5 kullanmadığım için incelememiştim.
Dün gece simplexml araştırdım bayada hoşuma gitti. Şimdi kısaca kullanımını sizlerede anlatacağım.

a.xml

1
2
3
4
5
6
7
8
9
10
11
12
13
&#60;?xml version=&#34;1.0&#34;?&#62; 
&#60;rss&#62;
&#60;channel&#62;
&#60;item&#62; 
&#60;title&#62;php ile xml&#60;/title&#62; 
&#60;description&#62;hede hödö&#60;/description&#62; 
&#60;/item&#62; 
&#60;item&#62; 
&#60;title&#62;php ile rss&#60;/title&#62; 
&#60;description&#62;vırrık cırrık&#60;/description&#62; 
&#60;/item&#62; 
&#60;/channel&#62; 
&#60;/rss&#62;

xml dosyasını yükleyelim.

1
$xml = [...]]]></description>
		<wfw:commentRss>http://code.internet.com.tr/simplexml/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>codeigniter kurulumu</title>
		<link>http://code.internet.com.tr/codeigniter-kurulumu/</link>
		<comments>http://code.internet.com.tr/codeigniter-kurulumu/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 10:34:53 +0000</pubDate>
		<dc:creator>Emre Çevik</dc:creator>
				<category><![CDATA[codeigniter]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[proje]]></category>

		<guid isPermaLink="false">http://code.internet.com.tr/?p=400</guid>
		<description><![CDATA[1- Öncelikle http://codeigniter.com/downloads/ adresinden codeigniter&#8217;in en son sürümünü indiriyoruz. Ben en son sürüm olan 1.7.1 indirdim.
2- İndirdiğimiz zip dosyasını açıyoruz ve sunucumuza yüklüyoruz.
3- CodeIgniter_1.7.1 olan klasör adını &#8220;project&#8221; olarak değiştiriyoruz. (siz istediğiniz gibi değiştirebilirsiniz)
evet codeigniter kurulumumuz tamamlandı. şimdi ayarları nasıl düzenleyeceğimize bakalım.
system\application\config\config.php dosyasını açıyoruz.
$config['base_url']	= &#8220;http://example.com/&#8221;; kısmına kendi adresimizi giriyoruz.
$config['charset'] = &#8220;UTF-8&#8243;; kısmına kullanacağımız dil kodlamasını [...]]]></description>
		<wfw:commentRss>http://code.internet.com.tr/codeigniter-kurulumu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>proje geliştirelim&#8230;</title>
		<link>http://code.internet.com.tr/proje-gelistirelim/</link>
		<comments>http://code.internet.com.tr/proje-gelistirelim/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 01:07:34 +0000</pubDate>
		<dc:creator>Emre Çevik</dc:creator>
				<category><![CDATA[genel]]></category>
		<category><![CDATA[proje]]></category>

		<guid isPermaLink="false">http://code.internet.com.tr/?p=396</guid>
		<description><![CDATA[sitede design patternler ile alakalı epeyce bir yazı yazdım. hem bunları pratikte görmek için. hemde nesne tabanlı programlamayı daha iyi anlayabilmek için proje geliştirelim.
tabi bu projeyi gerçekleştirirken çok fazla zaman harcamamak için bir adet framework (codeigniter) kullanalım. aslında kendi frameworkumuzu kendimizde yazabiliriz ama amerikayı yeniden keşfetmeye gerek yok. ayrıca yaptığımız projede zaman kazanarak elle tutulur [...]]]></description>
		<wfw:commentRss>http://code.internet.com.tr/proje-gelistirelim/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
	</channel>
</rss>

