|
About DotPHP
|
DotPHP is the next step of the Web Components project. DotPHP contains web components ver 3.00. or better.
DotPHP want be like ASP.NET. You can make application same as DELPHI or C++. It mean developer can make web site only with components. Where are some limits of course. When you use DotPHP you don't need much knowledge about HTML, CSS or JavaScript. Use the components only. You can write a whole web site witout HTML or CSS coding. It is pure PHP.
|
Open your mind and think in web components and event handling.
|
<?php
$dp = new web('dp');
$dp->render_start();
function form_create() {
global $dp;
$obj2 = new button('obj2');
$obj2->caption = 'my button';
$obj2->on_click = 'first_event';
$obj2->render();
$lab = new llabel('lab');
$lab->render();
}
function first_event() {
global $dp;
global $lab;
$lab->caption = 'You clicked the button';
$lab->render();
}
$dp->render_end();
?>
|
|