teşekkürler, bu kitap daha ayrıntılıymış daha güzel anlatıyor..
diğer kitabada bu bittikten sonra bakarım arada ne fark var onu anlamış oluruz.
Çalışırken de php dosyalarına açıklamalarla birlikte kaydediyorum düzenli bir şekilde. İleride lazım olunca oradan bakarım nasıl kullanıldığına dair.
Gerçi phpmanuel var, gereksizmi olur bu iş bilmiyorum.
<?php
# TİPLERİ settype İLE DEĞİŞTİRMEK
# settype()
# kullanımı : settype($degisken_adi, 'yeni_tip');
$degisken = 15.33;
echo "$degisken <br>";
echo "eski tip: "; echo gettype($degisken); // double 15.33
echo "<br>";
settype ($degisken, 'integer'); // integer olarak değiştirildi
echo "yeni tip: "; echo gettype($degisken); // ekrana yazdır
echo "<br>";
echo "$degisken"; // integer olarak değiştiğinden ekranda 15 görünüyor
?>
Kesinlikle gerekli bu alışkanlığınızı kaybetmeyin devam ettirin. Tebrik ediyorum sizi, bence hızlıca bu aşamaları geçeceksiniz gibi görünüyor özenli çalıştığınız için.
Bence bir yazılımın geliştirici tarafındaki en önemli kısmı hatasız olması değil, düzgün bir şekilde dökümantasyonunun yazılmasıdır. Çünkü o yazılıma elbet birileri devam edecek, o biri acı çekmemeli
Dökümantasyon ile ilgili bilgi için bir göz at derim, fikrin olsun en azından.
/**
* The short description
*
* As many lines of extendend description as you want {@link element} links to an element
* {@link http://www.example.com Example hyperlink inline link} links to a website
* Below this goes the tags to further describe element you are documenting
*
* @param type $varname description
* @return type description
* @access public or private
* @author author name
* @copyright name date
* @version version
* @see name of another element that can be documented, produces a link to it in the documentation
* @link a url
* @since a version or a date
* @deprecated description
* @deprec alias for deprecated
* @magic phpdoc.de compatibility
* @todo phpdoc.de compatibility
* @exception Javadoc-compatible, use as needed
* @throws Javadoc-compatible, use as needed
* @var type a data type for a class variable
* @package package name
* @subpackage sub package name, groupings inside of a project
*/Örnek bir kullanım da buldum.
/**
* A sample class
*
* This class is just random php used as a {@link http://phpdocu.sourceforge.net phpdoc} example
*
* @version 1.0
* @author Joshua Eichorn <jeichorn@phpdoc.org>
* @project test
*/
class phptestclass
{
/**
* A sample class variable
* @access private
* @var string
*/
var $sample;
/**
* The class constructor
*
* This sets up the class and does other random stuff
*/
function phptestclass
{
$this->sample = "test";
}
/**
* A test function
*
* This function returns {@link $sample}
*
* @see set(), $sample
* @return string
*/
function test()
{
return $this->sample;
}
/**
* Set the sample var
*
* @param string $var
* @see phptestclass::$sample, phptestclass::test()
*/
function set($var)
{
$this->sample = $var;
}
}Artık kodlarımızı herkes anlayabilir ve okuyabilir

Bu işi kolaylaştıran çeşitli araçlarda var. Frameworklere göz atabilirsin bu konuda bilgi almak istiyorsan.