CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 DelphiŽ for PHP

Print topic Send  topic

Author Message
michaelwpayton

Posts: 18
Posted: 03/09/2007, 2:45 PM

Has anyone looked at, had any experience with DelphiŽ for PHP? It looks to be targeted directly at CCS's audience. Love to hear anyone's thoughts.
View profile  Send private message
eserver220

Posts: 42
Posted: 03/09/2007, 11:32 PM

I have saw codegear's introduction about DelphiŽ for PHP. I don't think it directly
target CCS's audience. CCS is a long product before DelphiŽ for PHP's existance and is
the best web RAD tools I found so far.
As far as DelphiŽ for PHP is concerned, I don't think it will have a bright future. The truth
is no one have the interest to learn Delphi for Php web development. The web development
itself is very complex, it based on database/javascript/PHP/HTML knowledge. The professionals only have the interest to solve the problem in very direct way. you don't believe it? Look at the difference Visual C++ 2005 and Borland C++ Builder now, you will have some hints.

View profile  Send private message
eserver220

Posts: 42
Posted: 03/15/2007, 6:57 PM

Quote michaelwpayton:
Has anyone looked at, had any experience with DelphiŽ for PHP? It looks to be targeted directly at CCS's audience. Love to hear anyone's thoughts.

Codegear had adopted QaDram. QaDram had a product named Qstudio which was free.
It was amazing QaDram could generate such a visual php develop product in 2002.
Here is the sample code:
<?php
//Includes
require_once("wcl.inc.php");
use_unit("auth.inc.php");
use_unit("dbctrls.inc.php");
use_unit("db.inc.php");
use_unit("dbtables.inc.php");
use_unit("forms.inc.php");
use_unit("extctrls.inc.php");
use_unit("stdctrls.inc.php");

//Class definition
class Index extends Page
{
public $baAdmin=null;
public $editpost=null;
public $readmore=null;
public $addcomment=null;
public $addpost=null;
public $btnSendPost=null;
public $mePostBody=null;
public $edPostTitle=null;
public $lbPostTitle=null;
public $lbCommentPosted=null;
public $fdcomments1=null;
public $ddcomments1=null;
public $dscomments1=null;
public $tbcomments1=null;
public $btnSendComment=null;
public $meComments=null;
public $pnWorkingZone=null;
public $lbComments=null;
public $lbPostedOn=null;
public $fdposts2=null;
public $fdposts1=null;
public $ddposts1=null;
public $dsposts1=null;
public $dbqblog1=null;
public $tbposts1=null;
public $lbSlogan=null;
public $lbAddPost=null;
public $lbDate=null;
public $lbTitle=null;
public $pnHeader=null;

function editpostExecute($sender, $params)
{
$this->baAdmin->execute();
$this->tbposts1->Filter=" post_id = ".$params['post_id'];
$this->tbposts1->open();
$this->pnWorkingZone->ActiveLayer="editpostlayer";
$this->mePostBody->Text=$this->tbposts1->post_body;
$this->edPostTitle->Caption=$this->tbposts1->post_title;
}

function lbCommentPostedShow($sender, $params)
{
echo sprintf($sender->Caption, $this->tbcomments1->comment_date);
}

function readmoreExecute($sender, $params)
{
$this->tbposts1->Filter=" post_id = ".$_SESSION['post_id'];
$this->tbposts1->open();
$this->pnWorkingZone->ActiveLayer="postlayer";
}

function btnSendCommentClick($sender, $params)
{
$this->tbcomments1->append();
$this->tbcomments1->post_id=$_SESSION['post_id'];
$this->tbcomments1->comment_text=$this->meComments->Text;
$this->tbcomments1->post();
}

function addcommentExecute($sender, $params)
{
$this->tbposts1->Filter=" post_id = ".$params['post_id'];
$this->tbposts1->open();
$this->meComments->Text="";
$this->pnWorkingZone->ActiveLayer="commentlayer";
}

function lbCommentsShow($sender, $params)
{
$this->tbcomments1->Filter=" post_id = ".$this->tbposts1->post_id;
$this->tbcomments1->open();
echo sprintf($sender->Caption, $this->tbcomments1->RowCount,$this->tbposts1->post_id,$this->tbposts1->post_id,$this->tbposts1->post_id);
}

function lbPostedOnShow($sender, $params)
{
echo sprintf($sender->Caption,$this->tbposts1->post_date);
}

function IndexBeforeShow($sender, $params)
{
if (!isset($_GET['action']))
{
$this->pnWorkingZone->ActiveLayer="";
$this->tbposts1->Filter="";
$this->tbposts1->open();
}
}

function btnSendPostClick($sender, $params)
{
if ($_SESSION['post_id']!='') $this->tbposts1->post_id=$_SESSION['post_id'];
else $this->tbposts1->append();
$this->tbposts1->post_title=$this->edPostTitle->Caption;
$this->tbposts1->post_body=$this->mePostBody->Text;
$this->tbposts1->post();
}

function addpostExecute($sender, $params)
{
$this->baAdmin->execute();
$this->pnWorkingZone->ActiveLayer="editpostlayer";
$this->mePostBody->Text="";
$this->edPostTitle->Caption="";
}

function lbDateShow($sender, $params)
{
echo date("Y-m-d");
}

}

global $application;

global $Index;

//Creates the form
$Index=new Index($application);

//Read from resource file
$Index->loadResource(__FILE__);

//Shows the form
$Index->show();

?>


In last post I doubted Delphi for PHP. you know just like Kylix for linux and Clarion/PHP,
those products seems good at debut,then people seldom use them. they all introduced
a new style of language. I think one key for new framework's success is still keeping compliance with PHP . CodeIgniter is a good example.
Except Zend Studio and CCS, lacking good IDE in PHP world may be the reason for Codegear to introduce Delphi for PHP.
Qstudio performance somewhat changes my mind. It seems quite mature even
though it was developed in 2002. If Codegear can incorporate more Web 2.0 feature ,it will
make a difference.
However i'm not sure how well will it be. Like Java Studio Creator/Bea workshop,
Develop web applications like Conventional Desktop application still has a long way to go.

View profile  Send private message
michaelwpayton

Posts: 18
Posted: 03/17/2007, 5:43 AM

Thanks for your thoughts. I guess time will tell.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright Š 2003-2004 by UltraApps.com  and YesSoftware, Inc.