SlideShare a Scribd company logo
1 of 4
Download to read offline
PHP-icindekiler   4/23/09   12:43 AM    Page v




             ‹Ç‹NDEK‹LER
          1 OBJECT ORIENTED PROGRAMLAMA                     1
             Bafllang›ç “Construct ve Destruct Metotlar›”    2
             __autoload Fonksiyonu                          3
             Gizlilik                                       4
                 Public                                     6
                 Private                                    7
                 Protected                                  9
             Static Metot                                  11
             Const “Sabit” Metot                           13
             Final Metot                                   14
             Sihirbaz Metotlar                             15
                 __toString                                15
                 __call                                    16
             Overloading                                   16
             Nesne (Kopyalama) Klonlama                    21
             Soyut S›n›flar                                24
             Nesne Arayüzleri “Interface”                  32
             Son Söz                                       37
          2 GeoIP ‹LE IP KONTROL                           39
             Son Söz                                       46

          3 MEMCACHE                                       47
             Ne Tür Sitelerde Kullan›l›r?                  49
             Kurulum                                       50
                  PHP için Memcache Kurulumu               52
             PHP ile Memcache Kullan›m›                    54
                  Smarty ve Memcache ile cache             57
             Session’› Memcache’de Tutmak                  60
             Son Söz                                       62
PHP-icindekiler   4/23/09   12:43 AM   Page vi




         vi PHP

          4 xCache                                65
             Smarty ve xCache                     72
             Son Söz                              74
          5 MySQL                                 75
             MySQL Tablo Yap›lar›                 77
                  MyISAM                          78
                  InnoDB                          80
                  BerkeleyDB                      83
                  ARCHIVE                        83
                  MEMORY                          84
                  CSV                             85
                  EXAMPLE                        85
                  FEDERATED                       86
             MERGE veya MRG_MYISAM               87
             Fonksiyonlar                         88
                  VIEW                            90
             TRIGGER                             92
             Stored Procedures                    95
                  PREPARE                         96
                  WHILE                           97
                  CURSOR                          98
             EVENTS SCHEDULER                    101
             INDEX’ler                           104
                  FULLTEXT INDEX                 107
                  QUERY CACHE                    111
             PARTITION                           113
             Transaction Backup                  119
                  SLOW QUERY LOG                 120
             MySQL Performan›n› Artt›rmak        122
             Son Söz                             123
PHP-icindekiler    4/23/09   12:43 AM    Page vii




                                                           ‹Ç‹NDEK‹LER vii

          6 ZendPlatform                                            125
             ZendPlatform’un Yararlar›                              126
             Son Söz                                                128
          7 VERS‹YON KONTROL “SUBVERSION”                           131
             CVS                                                    132
             Subversion                                             132
                  Avantajlar›                                       133
                  Ne için Kullan›labilir?                           133
                  Linux için Kurulum                                134
                  Windows için Kurulum                              135
             Subversion ile Proje Oluflturma                         135
             Subversion Ayarlar›                                    137
             Checkout Komutu                                        139
             add ve commit Komutlar›                                140
             delete                                                 140
             copy ve move Komutlar›                                 141
             List                                                   142
             log                                                    143
             cleanup                                                143
             update                                                 144
             Subversion’a D›flar›dan Eriflim                          145
             WebDav ile Subversion’a Eriflim                         147
             TortoiseSVN                                            148
             Subversion’un Web Projelerinde Kullan›lmas›            155
             Zend Studio ile Subversion Kullan›m›                   156
             Son Söz                                                159
          8 SMARTY                                                  161
             Smarty’nin Bize Sa¤lad›¤› Faydalar                     162
             MVC “Model, Görünüm, Kontrol” Yap›s›                   163
             Smarty’de include                                      168
             Smarty ile Cache’leme                                  170
             Smarty’de Çoklu Cache                                  171
PHP-icindekiler    4/23/09   12:43 AM    Page viii




        viii PHP

             Smarty’de Cache ‹çerisinde Dinamik Alan Oluflturma   176
             Smarty’de Plugin Oluflturma                          177
             MVC ile Üyelik Sistemi Uygulamas›                   180
             Son Söz                                             226
          9 VPOS 3D SECURE UYGULAMASI “SANAL POS”                227
            3D Secure                                            228
               Kart Sahibi için Yararlar›                        229
               E-Ticaret Siteleri için Faydalar›                 229
            Normal API ile Kredi Kart›yla ‹fllem Mant›¤›          229
            3D Secure ile Kredi Kart› ‹fllem Mant›¤›              230
            3D Secure ile Güvenli Ödeme ‹fllemi                   233
            Son Söz                                              272
          10 SEO (SEARCH ENGINE OPTIMIZATION)                    273
             Site Haritas›                                       274
                 Site Haritas› Kaydetme                          275
                 Robots                                          275
             Arama Motorlar›na Özel ‹çerik Listeleme             276
             Apache için Rewrite                                 277
             Lighttpd için SEO                                   281
             Son Söz                                             283
          11 AJAX                                                285
             AJAX JS                                             286
             JSON                                                290
             JSON ile Listeleme                                  293
             Location “Ülke-‹l-ilçe” Sistemi                     298
             Son Söz                                             314
          12 TASARIM fiABLONU (DESIGN PATTERN)                    317
             Singleton Pattern                                   317
             Factory Pattern                                     321
             Decorate Pattern                                    323
             Prototype Pattern                                   325
             Adapter Pattern                                     327
             Son Söz                                             328

More Related Content

Featured

Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationErica Santiago
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellSaba Software
 

Featured (20)

Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
 

Php Icindekiler

  • 1. PHP-icindekiler 4/23/09 12:43 AM Page v ‹Ç‹NDEK‹LER 1 OBJECT ORIENTED PROGRAMLAMA 1 Bafllang›ç “Construct ve Destruct Metotlar›” 2 __autoload Fonksiyonu 3 Gizlilik 4 Public 6 Private 7 Protected 9 Static Metot 11 Const “Sabit” Metot 13 Final Metot 14 Sihirbaz Metotlar 15 __toString 15 __call 16 Overloading 16 Nesne (Kopyalama) Klonlama 21 Soyut S›n›flar 24 Nesne Arayüzleri “Interface” 32 Son Söz 37 2 GeoIP ‹LE IP KONTROL 39 Son Söz 46 3 MEMCACHE 47 Ne Tür Sitelerde Kullan›l›r? 49 Kurulum 50 PHP için Memcache Kurulumu 52 PHP ile Memcache Kullan›m› 54 Smarty ve Memcache ile cache 57 Session’› Memcache’de Tutmak 60 Son Söz 62
  • 2. PHP-icindekiler 4/23/09 12:43 AM Page vi vi PHP 4 xCache 65 Smarty ve xCache 72 Son Söz 74 5 MySQL 75 MySQL Tablo Yap›lar› 77 MyISAM 78 InnoDB 80 BerkeleyDB 83 ARCHIVE 83 MEMORY 84 CSV 85 EXAMPLE 85 FEDERATED 86 MERGE veya MRG_MYISAM 87 Fonksiyonlar 88 VIEW 90 TRIGGER 92 Stored Procedures 95 PREPARE 96 WHILE 97 CURSOR 98 EVENTS SCHEDULER 101 INDEX’ler 104 FULLTEXT INDEX 107 QUERY CACHE 111 PARTITION 113 Transaction Backup 119 SLOW QUERY LOG 120 MySQL Performan›n› Artt›rmak 122 Son Söz 123
  • 3. PHP-icindekiler 4/23/09 12:43 AM Page vii ‹Ç‹NDEK‹LER vii 6 ZendPlatform 125 ZendPlatform’un Yararlar› 126 Son Söz 128 7 VERS‹YON KONTROL “SUBVERSION” 131 CVS 132 Subversion 132 Avantajlar› 133 Ne için Kullan›labilir? 133 Linux için Kurulum 134 Windows için Kurulum 135 Subversion ile Proje Oluflturma 135 Subversion Ayarlar› 137 Checkout Komutu 139 add ve commit Komutlar› 140 delete 140 copy ve move Komutlar› 141 List 142 log 143 cleanup 143 update 144 Subversion’a D›flar›dan Eriflim 145 WebDav ile Subversion’a Eriflim 147 TortoiseSVN 148 Subversion’un Web Projelerinde Kullan›lmas› 155 Zend Studio ile Subversion Kullan›m› 156 Son Söz 159 8 SMARTY 161 Smarty’nin Bize Sa¤lad›¤› Faydalar 162 MVC “Model, Görünüm, Kontrol” Yap›s› 163 Smarty’de include 168 Smarty ile Cache’leme 170 Smarty’de Çoklu Cache 171
  • 4. PHP-icindekiler 4/23/09 12:43 AM Page viii viii PHP Smarty’de Cache ‹çerisinde Dinamik Alan Oluflturma 176 Smarty’de Plugin Oluflturma 177 MVC ile Üyelik Sistemi Uygulamas› 180 Son Söz 226 9 VPOS 3D SECURE UYGULAMASI “SANAL POS” 227 3D Secure 228 Kart Sahibi için Yararlar› 229 E-Ticaret Siteleri için Faydalar› 229 Normal API ile Kredi Kart›yla ‹fllem Mant›¤› 229 3D Secure ile Kredi Kart› ‹fllem Mant›¤› 230 3D Secure ile Güvenli Ödeme ‹fllemi 233 Son Söz 272 10 SEO (SEARCH ENGINE OPTIMIZATION) 273 Site Haritas› 274 Site Haritas› Kaydetme 275 Robots 275 Arama Motorlar›na Özel ‹çerik Listeleme 276 Apache için Rewrite 277 Lighttpd için SEO 281 Son Söz 283 11 AJAX 285 AJAX JS 286 JSON 290 JSON ile Listeleme 293 Location “Ülke-‹l-ilçe” Sistemi 298 Son Söz 314 12 TASARIM fiABLONU (DESIGN PATTERN) 317 Singleton Pattern 317 Factory Pattern 321 Decorate Pattern 323 Prototype Pattern 325 Adapter Pattern 327 Son Söz 328