Leanpub Header

Skip to main content

PHP dhe MySQL për fillestarë

Libri "PHP dhe Mysql për fillestarë" u dedikohet fillestarëve të cilët janë të gatshëm të shkojnë një hap më tej në Web programim.

Free With Membership

With Membership

Free!

$10.00

You pay

$10.00

Author earns

$8.00
$

...Or Buy With Credits!

You can get credits monthly with a Reader Membership
PDF
EPUB
WEB
167
Readers
143
Pages
31,443Words
About

About

About the Book

Libri "PHP dhe Mysql për fillestarë" u dedikohet fillestarëve të cilët janë të gatshëm të shkojnë një hap më tej në Web programim.

Share this book

Categories

Author

About the Author

Tahir Hoxha

Web developer, trainer and author based in Prizren, Kosovo.

Contents

Table of Contents

Parathënie

Hyrje në PHP

  1. Web serverët
  2. HTTP
  3. 1. Ç’është PHP?

Përgatitja e ambientit të punës

  1. AMP stack
  2. AMP stack: Cross-platform
  3. AMP stack: Linux
  4. AMP stack: Mac
  5. AMP stack: Windows
  6. IDE
  7. Ekzekutimi i php skriptave

Variablat dhe konstantat

Strukturat

  1. Strukturat e degëzimit
  2. Strukturat e iteracionit

Funksionet

  1. User-defined functions
  2. Anatomia e funksionit
  3. Dallimi ndërmjet argumentit dhe parametrit
  4. Jetëgjatësia e variablave brenda funksioneve

Klasat dhe objektet

  1. Instancat
  2. Konstruktori
  3. Destruktori
  4. Vetitë statike
  5. Metodat statike
  6. Vizibiliteti

GET

POST

Data dhe ora

  1. Funksioni date()

FILES

  1. Gabimet
  2. MAX_FILE_SIZE
  3. post_max_size dhe upload_max_filesize
  4. Kontrollimi i MIME type të fajllit
  5. Bartja e fajllave në destinacionin final

Cookie

Sesionet

  1. Fillimi i një sesioni
  2. Përfundimi i sesionit
  3. Session hijacking
  4. Menaxhimi i sesioneve nga databaza

Procesimi i formularëve

MySQL

mysqli

  1. Konektimi me databazë
  2. Funksionet kryesore

Shembuj me mysqli

  1. Leximi i të dhënave nga një SQL tabelë
  2. Prepared statements

Regular Expressions

Kriptimi

  1. Hash

Object Oriented Programming

  1. Krijimi i një klase

Composer

  1. PEAR
  2. Packagist
  3. Composer
  4. Inkludimi i pakove në aplikacionin tonë

AJAX

  1. XMLHttpRequest

SEO friendly URLs

  1. mod_rewrite.so
  2. .htaccess
  3. Leximi nga superglobali $_SERVER
  4. router

Arkitektura MVC (Model-View-Controller)

  1. Modelet
  2. Pamjet
  3. Kontrollerët
  4. Kontrolleri
  5. Modeli
  6. Funksioni për thirrjen e View
  7. Views

Template Engine - Twig

  1. Instalimi i Twig
  2. Inicializimi i Twig
  3. Përdorimi i Twig nëpër kontrollerë
  4. Thirrja e një template/view
  5. Struktura e një view fajlli
  6. Variablat në Twig
  7. Strukturat në Twig

Virtual hosts

Aspekte të sigurisë në PHP

PHP frameworks

  1. Lista e PHP frameworks
  2. Cilin ta përdor?

PHP extensions

GIT

  1. git init

Referenca e funksioneve/urdhërave të përdorura

  1. array()
  2. checkdate()
  3. date()
  4. die()
  5. echo
  6. error_log()
  7. error_reporting()
  8. exit()
  9. extract()
  10. filter_var()
  11. floatval()
  12. for
  13. header()
  14. if...else
  15. ignore_user_abort()
  16. ini_set()
  17. intval()
  18. isset()
  19. mktime()
  20. nl2br()
  21. phpinfo()
  22. print_r()
  23. session_start()
  24. setcookie()
  25. strip_tags()
  26. strlen()
  27. strval()
  28. substr()
  29. time()
  30. trim()
  31. urlencode()
  32. var_dump()

Get the free sample chapters

Click the buttons to get the free sample in PDF or EPUB, or read the sample online here

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub