Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
İnsanlar için PHP
Search
Hidayet Doğan
May 18, 2013
Programming
0
540
İnsanlar için PHP
Karabük Üniversitesi Bilişim Haftası Etkinlikleri
Hidayet Doğan
May 18, 2013
Tweet
Share
More Decks by Hidayet Doğan
See All by Hidayet Doğan
Swoole ile Asenkron PHP
hdogan
0
740
Asenkron PHP
hdogan
0
1.5k
PHP Senfoni Orkestrası: Composer
hdogan
1
410
PHP ile Soket Programlama ve Ağ Servisleri
hdogan
5
4.2k
CakePHP ile Pasta Pişirmek
hdogan
1
860
PHP 101
hdogan
1
730
Web Uygulamalarında Güvenlik
hdogan
1
480
Phalcon - Eklenti olarak sunulan PHP çatısı - PHP Günleri 2013#1
hdogan
5
1.6k
Phalcon - Eklenti olarak sunulan PHP çatısı
hdogan
2
2.3k
Other Decks in Programming
See All in Programming
『改訂新版 良いコード/悪いコードで学ぶ設計入門』活用方法−爆速でスキルアップする!効果的な学習アプローチ / effective-learning-of-good-code
minodriven
29
4.7k
個人アプリを2年ぶりにアプデしたから褒めて / I just updated my personal app, praise me!
lovee
0
300
ErdMap: Thinking about a map for Rails applications
makicamel
1
1k
非ブラウザランタイムとWeb標準 / Non-Browser Runtimes and Web Standards
petamoriken
0
450
バックエンドのためのアプリ内課金入門 (サブスク編)
qnighy
1
360
為你自己學 Python
eddie
0
540
traP の部内 ISUCON とそれを支えるポータル / PISCON Portal
ikura_hamu
0
230
Spring gRPC について / About Spring gRPC
mackey0225
0
140
ESLintプラグインを使用してCDKのセオリーを適用する
yamanashi_ren01
2
350
ISUCON14公式反省会LT: 社内ISUCONの話
astj
PRO
0
140
Linux && Docker 研修/Linux && Docker training
forrep
19
3.6k
サーバーゆる勉強会 DBMS の仕組み編
kj455
1
350
Featured
See All Featured
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
3
370
Six Lessons from altMBA
skipperchong
27
3.6k
Bash Introduction
62gerente
610
210k
Building a Scalable Design System with Sketch
lauravandoore
460
33k
The Power of CSS Pseudo Elements
geoffreycrofte
74
5.4k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
3k
4 Signs Your Business is Dying
shpigford
182
22k
Code Review Best Practice
trishagee
65
17k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
What's in a price? How to price your products and services
michaelherold
244
12k
A Philosophy of Restraint
colly
203
16k
Transcript
İnsanlar için PHP Hidayet Doğan
Merhaba! 1995 Tübitak Bilgisayar Kulubü Linux, BASIC, C, Perl 1998
Merhaba PHP! 1999 İş Hayatı: Yazılım + Sistem 2000 İş Hayatı: Yazılım + Yönetim 2013 PHP Geliştiricileri Derneği Fotoğraf: Onur Canalp
İnsanlar için PHP Mevcut Durum Tarihçe Genel Bakış Neden? Kaynaklar
Sorular
Mevcut Durum
Mevcut Durum 244 milyon web sitesi* Tüm web sitelerinin %39’u*
Facebook, Wordpress, Yahoo, Baidu, Sahibinden, GittiGidiyor Kariyer: Türkiye: 250 iş ilanı - ABD: 500 iş ilanı** Başvuruların %80’ı red Herkes uzman @?!# * Netcraft (Ocak 2013) ** Mayıs 2013
Uzman Arayan? PHP ASP.NET Java MySQL PostgreSQL Oracle HTML CSS
JavaScript AJAX jQuery PSD to HTML JSON SOAP XML AJAX OOP / MVC Drupal / Joomla
Uzman Arayan? Subversion CVS Git Apache Linux Photoshop Dreamweaver ExtJS
CodeIgniter Yii Framework Zend Framework Memcache Redis Facebook API SEO İngilizce Tecrübe Mantı açsın
Uzman? Zend Certified Engineer: Türkiye: 34 - Almanya: 1078 -
ABD: 1172* Zend Certified Engineer != Uzman * Mayıs 2013
Uzman? İşletim sistemi Web sunucusu Veritabanı sunucusu PHP ayarları HTTP
protokolü Web teknolojileri SQL Güvenlik Analitik düşünme Araştırma Tecrübe
Eğitim Üniversite dersleri (yetersiz) Özel kurslar (gitme!) Kitaplar (yetersiz) İnternet
(Türkçe kaynak az, yanlış- eksik bilgi) İngilizce öğren Kod oku Hata yap Araştır Sor ARakla GEtir
Eğitim Linux Yaz Kampı: 2 hafta (ücretsiz) Akademik Bilişim: 4
gün (ücretsiz) INET-TR - Türkiye’de İnternet Konferansı: 1 gün (ücretsiz)
Tarihçe
Tarihçe 1994 Rasmus Lerdorf (Personel Home Page Tools, FI) 1995
PHP Tools, Personel Home Page Construction Kit 1996 PHP/FI 2.0 1998 PHP: Hypertext Preprocessor (PHP 3) 1998 70000 web sitesi 2000 PHP 4 (Zend Engine) 2004 PHP 5 (Zend Engine 2)
Tarihçe <!--include header.html--> <!--getenv HTTP_USER_AGENT--> <!--ifsubstr $exec_result MSIE--> <p>Internet Explorer
kullanmasaydın iyiydi...</p> <!--endif--> <!--include footer.html-->
Tarihçe <?php include ‘header.php’; if (substr($_SERVER[‘HTTP_USER_AGENT’], ‘MSIE’)) { echo ‘<p>Internet
Explorer kullanmasaydın iyiydi...</p>’; } include ‘footer.php’; ?>
Genel Bakış
Genel Bakış Betik dili Açık kaynak Ücretsiz Ögrenim süresi kısa
(basit?)
Genel Bakış Linux, Unix, BSD, OSX, Micro$oft Windows Apache, Nginx,
LigHTTPD, Micro$oft IIS
Veritabanları MySQL PostgreSQL Oracle Micro$oft SQL Server IBM DB2 SQLite
MongoDB CouchDB Cassandra Couchbase Redis Memcache
Genel Bakış 6000 fonksiyon 300 sınıf 80 dahili eklenti 300
eklenti (PECL) 11000 Composer paketi 600 Pear paketi Github (30000 “PHP”)* Google Code (280000 “PHP”)* * Sadece proje ismi içinde
Editörler NetBeans, Sublime Text, Notepad++ Zend Studio, PHPStorm, phpDesigner, Kohana
Editor/IDE TextMate, Coda GNU nano, vi
PaaS - Bulut PHP Cloud - Zend Orchestra - Engine
Yard AppFog Pagodabox Amazon Web Services Google Cloud Platform Micro$oft Azure
Menü 1 adet PHP yorumlayıcı 1 adet web sunucusu Tercihen
1 adet veritabanı sunucusu 1 adet editör
Tablot Menü apt-get install lamp-server^ Zend Server MAMP BitNami MAMP
Stack WampServer XAMPP BitNami WAMP Stack
Merhaba Dünya! <!DOCTYPE html> <html> <body> <?php echo ‘Merhaba Dünya!’;
?> </body> </html>
Bilgisayarlar için PHP (A) 010101000110000101110010011000010111100100111111 011000110011111100100000011101110110010101100010 001000000111001101110101011011100111010101100011 011101010111001101110101011011100110000100100000 011010010111001101110100011001010110101100100000 011001110011111101101110011001000110010101110010
011010010111001000101110
Bilgisayarlar için PHP (A) Tarayıcı web sunucusuna istek gönderir. (B)
Web sunucusu dosyanın varlığını kontrol eder, eğer dosya PHP ise yorumlayıcıya havale eder. (C) PHP yorumlayıcısı dosyayı yorumlar, sonucu web sunucusuna gönderir. (D) Web sunucusu sonucu tarayıcıya gönderir.
Kalkulus 101 <?php $a = 12; $b = 56.5; $c
= $a + $b; echo ‘Sonuç: ’ . $c; ?> <?php $a = 12; $b = 5; $c = $a % $b; echo ‘Sonuç: ’ . $c; ?> <?php $a = 12; $b = 5; $c = ($a - $b) / 2; echo ‘Sonuç: ’ . $c; ?>
Koşullar <?php $maas = 1750; if ($maas < 1000) echo
‘Fakir’; elseif ($maas < 3000) echo ‘Orta direk’; else echo ‘Zengin’; ?>
Fonksiyonlar <?php function selam_soyle($isim) { echo ‘Selam ‘ . $isim;
} ?> <?php selam_soyle(‘Hidayet’); selam_soyle(‘Engür’); selam_soyle(‘Ömer’); ?>
Eğlence <?php $a = date_sunrise(time(), SUNFUNS_RET_STRING, 39.91, 32.85, 90, 3);
echo ‘Bugün Ankara\’da güneşin doğuş saati: ‘ . $a; ?>
Neden?
Neden? Her yerde var. Mükemmel değil fakat her işi görüyor.
Kendi içinde tutarsız fakat her işi görüyor. Kariyer: PHP geliştirici nesli tükeniyor! Kariyer: 1000 TL - 5000 TL
Kaynaklar
Kaynaklar http://php.net http://www.phptherightway.com http://www.planet-php.org http://www.reddit.com/r/PHP http://phpsecurity.readthedocs.org http://packagist.org
Kaynaklar http://www.pgd.org.tr http://ab.org.tr http://inet-tr.org.tr http://kamp.linux.org.tr http://groups.google.com/group/php-egitimleri
Sorular
Teşekkürler! http://hi.do http://github.com/hdogan http://tr.linkedin.com/in/hdogan @hdogan http://speakerdeck.com/hdogan Hidayet Doğan