From: <ag...@ib...> - 2001-05-11 07:55:12
|
I will be very glad to work on the team to port SQL-Ledger to PHP! > > From: Caffeinate The World <moc...@ya...> > Date: 2001/05/09 Wed PM 07:42:30 CDT > To: sql...@li... > Subject: [SQL-Ledger-users] PHP version of sql-ledger > > has anyone made any effort porting sql-ledger to PHP? > > __________________________________________________ > Do You Yahoo!? > Yahoo! Auctions - buy the things you want at great prices > http://auctions.yahoo.com/ > > > |
From: Dieter S. <dsi...@sq...> - 2001-05-11 19:02:51
|
What does php offer over perl? Dieter Simader http://www.sql-ledger.org (780) 472-8161 DWS Systems Inc. Accounting Software Fax: 478-5281 =========== On a clear disk you can seek forever =========== On Fri, 11 May 2001 ag...@ib... wrote: > I will be very glad to work on the team to port SQL-Ledger to PHP! > > > > > > From: Caffeinate The World <moc...@ya...> > > Date: 2001/05/09 Wed PM 07:42:30 CDT > > To: sql...@li... > > Subject: [SQL-Ledger-users] PHP version of sql-ledger > > > > has anyone made any effort porting sql-ledger to PHP? > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! Auctions - buy the things you want at great prices > > http://auctions.yahoo.com/ > > > > > > > > > |
From: Michael D. <mi...@mi...> - 2001-05-13 16:39:02
|
> What does php offer over perl? > At the end it boils down to personal preference and experience. I did a bit of perl back at the university but was never really good at it. The main difference from my experience is that perl has a steeper learning curve. PHP works like ASP or JSP so that you can include PHP code in your HTML page, it just has top be escaped with <?PHP ... your code... ?>. So it fits more with the most popular way of doing things at the moment. When you are using templates, this becomes a bit meaningless, of course. (And you can integrate Perl into the server as well) There is quite a bit code for PHP out there. The quality tends to be lower than what perl has with CPAN but it is generally more Web centric and there are some libraries which are excellent (e.g. phplib, http://phplib.netuse.de) I started my port to PHP mainly because I had allready some code written and because with phplib you get session handling (no hidden form fields anymore), db-abstraction and a simple authorization concept just by starting you HTML page with: <?php page_open(array("sess" => "Session", "auth" => "Auth", "perm" => "Perm")); $perm->check("service"); // Checks if the user has permission "service" $user_name = $auth->auth["uname"] ; $language = $auth->auth["lang"] ; ?> <HTML> ...... The ass. arrays work very similar to perl. Some comparison PHP-Perl: http://php.resourceindex.com/Documentation/Reviews_and_Analysis/PHP_vs._Perl/ http://www.koehntopp.de/php/faq-phpinterpreter.html#phpinterpreter-2 (in depth but in german) IMHO the best book on PHP is "Web Application Development With PHP" by Ratschiller, Tobias, and Gerken, Till. (http://www.phpwizard.net/book/) For the beginnings of a PHP port look at http://www.michaeldiehl.com/~michael/etc/ It is not really a port, only the reporting and GL functionality is a 1:1 port. The AR and AP part is done differently and handling of multiple companies is done via a key in all relevant db tables. regards, Michael |
From: <li...@li...> - 2001-05-14 03:42:23
|
On Sun, May 13, 2001 at 12:39:26PM -0400, Michael Diehl was heard to remark: > > PHP works like ASP or JSP so that you can include PHP code in your HTML > page, it just has top be escaped with <?PHP ... your code... ?>. > So it fits more with the most popular way of doing things at the moment. > When you are using templates, this becomes a bit meaningless, of course. > (And you can integrate Perl into the server as well) FYI, 'eperl' by ralf engelschall does the same thing for perl. It was recently converted to an apache module (mod_eperl, I beleive). I think the escape is <? but I think <: also works ... -------- I find the history of php peculiar ... my (warped) understanding of it is that it was even in the begining meant to be a perl-look & work-alike but with more database support and the <? escape from html... and then one day, it took on a life of its own ... what i find stange is that a couple of quick hacks could have added <? support, and then php would never have happened (e.g. if eperl was created in 1995 instead of 1998 or whenever ...) -- Linas Vepstas -- li...@gn... -- http://www.gnumatic.com/ |
From: Antti K. <aka...@si...> - 2001-05-14 05:00:53
|
I think the most important reason for PHP's popularity is that it's designed to be easily hosted for use in user space. ISPs offering uncontrolled perl CGI are rare, but almost everyone allows PHP without extra hassle. --------------------------------------- Antti Kaihola Ambitone Oy, Helsinki, Finland Päivän palindromi: "Aava ratsuni, musta ravikoni Eino, kiva ratsu minusta, ravaa." |
From: ivan <iva...@42...> - 2001-05-21 15:54:32
|
On Sun, May 13, 2001 at 10:42:17PM -0500, Linas Vepstas wrote: > On Sun, May 13, 2001 at 12:39:26PM -0400, Michael Diehl was heard to remark: > > > > PHP works like ASP or JSP so that you can include PHP code in your HTML > > page, it just has top be escaped with <?PHP ... your code... ?>. > > So it fits more with the most popular way of doing things at the moment. > > When you are using templates, this becomes a bit meaningless, of course. > > (And you can integrate Perl into the server as well) > > FYI, 'eperl' by ralf engelschall does the same thing for perl. > It was recently converted to an apache module (mod_eperl, I beleive). > I think the escape is <? but I think <: also works ... eperl is not well-maintained (the most recent release is from 1998 and does not work with perl 5.005 or 5.6) and most of the userbase has moved on to more current templating packages. In the "little language" category, Embperl and Template Toolkit are popular, maintained choices, while in the "eval" category, HTML::Mason and Apache::ASP are maintained and widely used. -- meow _ivan |
From: Guido B. <gd...@le...> - 2001-05-14 06:28:19
|
Michael Diehl wrote: > > > What does php offer over perl? > > > > At the end it boils down to personal preference and experience. In the past I was start with PHP development of WEB project, but 2 next years I have change to Perl, because PHP isn't complete script language. The opinion of single man is not sufficient to sign the future of SQL-Ledger. Your decision to port it in PHP have the result to fragment the support to the project; I don't see problem to have PHP & Perl code on same WEB Server. best regards Guido Brugnara > >***cut*** > > regards, Michael -- ing. Guido Brugnara tel.+39(461)390804 fax.396028 Leader.IT S.r.l. (Leader Information Technology) Strada della Pozzata, 41 www.leader.it/srl 38050 Villazzano TRENTO (ITALY) in...@le... |