saho adlı üyeden alıntı:
mesajı görüntüle
yine de sürükle bırak bir PHP framework yazılabilir aslında
2-3 ayım olsa ben kodlarım öyle birşeyi. Ama vakit yok yahu.
18
●4.447
o kadar iyiyseniz neden hazır şeylerle uğraşıyorsunuz ki, otur kendin yaz. Php de olaylar derme çatma bir yapıda geçiyor 
(tmm ms yi çok sevmem şirket ve tekeller nihayetinde) vs.vs. proje yönetimi de .net le kolay fakat zend development programı normal e göre biraz daha iyi proje yönetimi sunuyor<?php
function input($name,$type,$id,$value,$ex=null) {
$html = "<input type='{$type}' name='{$name}' value='{$value}' id='{$id}' {$ex} />";
return $html;
}
echo input('saho','type','idcik','valuecik','...');
?>class.saho.phpclass Html {
var $name;
function __construct($name)
{
return $this->name=$name;
}
}
class Input extends Html {
var $type;
var $name;
var $id;
var $value;
function type($string)
{
return $this->type = $string;
}
function name($string)
{
return $this->name = $string;
}
function id($string)
{
return $this->id = $string;
}
function value($string)
{
return $this->value = $string;
}
function derle() {
$html = "<input type='{$this->type}' name='{$this->name}' value='{$this->value}' id='{$this->id}' />";
return $html;
}
}
?>test2.php<?php
require"class.saho.php";
$input = new Input("saho");
$input->id("idcik");
$input->type('text');
$input->value('valuecikx');
echo $input->derle();
?>ikiside aynı kapıya çıkıyor
adam isterse kulağını tutmak için kafasının üstünden dolandırır ister hemen yanından