Hi Stefan,

I havent implemented error logs yet.. But Google Analytics is telling me strange things. Either you encountered a bug or you tried to break it ? Which :-)

I am interested in knowing what happened in either case.

Its not totally robust yet. But it will be before google indexes it in a few weeks time.

On 5/06/2011 5:51 p.m., Stefan Mueller wrote:

There are plenty of benchmarks out there showing that PHP isn't exactly a race horse:



But that said, php is plenty fast enough to easily handle a couple of **thousand webpage requests per minute** on a decent web server. That's usually fast enough for most websites ... and if you are some big-outfit that has to scale well beyond that limit then you could just loadbalance between multiple servers and/or take facebooks hiphop project and cross compile your PHP to much faster C-code (https://github.com/facebook/hiphop-php).

I choose C# over PHP for other much more important reasons - speed isn't the issue.


*From:*delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] *On Behalf Of *Rohit Gupta
*Sent:* Sunday, June 05, 2011 2:07 PM
*To:* NZ Borland Developers Group - Delphi List
*Subject:* Re: [DUG] Web development

I dont find PHP slow at all.

On 5/06/2011 2:20 p.m., Steve Peacocke wrote:

Paul. A very informative reply thanks. Gary also suggested PHP but I have 
always discounted it as slow and cumbersome. However reading through some of 
the blurb suggests that it may gave come a long way in recent years.
I'm very familiar with HTML and somewhat familiar with small JavaScript pieces (MS-CRM mods). So these languages don't really phase me but the thought of learning another language like Ruby was robbing me of sleep. I have about a dozen languages under my belt but anyone is really only fully conversant in up to 2. I remember when I was 6 years old I spoke 3 spoken languages fluently but can only manage a little French, some small German and still learning Chinese, but Gaelic has totally disappeared from my vocabulary. Its the same with programming, without regular use, other languages tend to leave the mind (we leak memory all over the place). However it does look like PHP might be an interesting prospect. I was seriously looking at C# as well but wanted something I could use sooner than the learning curve would require. Thanks again. I'll take a good strong look over the next few weeks. Steve On 5/06/2011, at 12:32 PM, Paul A Norman<paul.a.nor...@gmail.com> <mailto:paul.a.nor...@gmail.com> wrote:
    Hi Steve,

    Approaching it from the delphi/pascal orientation first...(not meaning

    pascal server side--and that is possible as well) ...

    You'd find much in Delphi for Php that is very familiar.

    It is built on top of an opensource framework " VCL for PHP", and

    you'd probably appreciate  E's familiar delphi IDE approach. When E

    bought up the front end the guy who wrote it went across with it - so

    it has been well backed technically in its development.

    Plus you can stand Lazarus on top of the opensource part and use it

    for the GUI parts.



    "With the PHP Toolkit you can also convert your Delphi and Lazarus

    form design files (.dfm/.lfm) to VCL for PHP files, as well as

    configure Lazarus for use as a PHP IDE."

    Using quality frameworks front and back end generally provides for

    decent testing and error reporting.

    Also if you want to look at  php frameworks like Delphi for php, as an

    approach, Prado (desgined heavily around Delphi - turboPascal


    http://www.pradosoft.com/   is highly spoken of.

    Also a derivative projecthttp://www.yiiframework.com/

    "The Fast, Secure and Professional PHP Framework

    "Yii is a high-performance PHP framework best for developing Web 2.0


    "Yii comes with rich features: MVC, DAO/ActiveRecord, I18N/L10N,

    caching, authentication and role-based access control, scaffolding,

    testing, etc. It can reduce your development time significantly."

    Further you can escape the confusion that has been mentioned here over

    html and css using a web framework / JavaScript library like jQuery

    (even now used and contributed to by Microsoft)

    "jQuery is a new kind of JavaScript Library.

    "jQuery is a fast and concise JavaScript Library that simplifies HTML

    document traversing, event handling, animating, and Ajax interactions

    for rapid web development. jQuery is designed to change the way that

    you write JavaScript.

    "The jQuery framework handles nearly ALL cross browser issues, and

    provides somewhat of a strong object orientated approach to the whole

    matter. You even just add visual components to the project in code."

    Using jQuery type frameworks as front ends and php framework(s) as a

    back end for business logic is very similar in thought processes to

    many necessary things you may have encountered in using Delphi over

    the years.

    Real-time testing on a local LAN apache is just that!

    You can still dive in to the html css js and of course the php as

    needed, but framework programming the web is the surest path to a

    consistent low hassle approach.

    Even just jQuery and doing your own php is very effective and time saving.

    People are doing whole cross-platform desktop client side  programs,

    mobile applications, Apple Linux MS etc etc like this now - see

    Titanium for an all in approach based on web-kit.


    Once you scratch below the surface of ECMA  (JavaScript) you'll find a

    different(!) but reasonably robust object system with protoyping etc.

    These sites from amongst many are really useful for orientation on 




    JavaScript has escaped the browser! There are even whole setups writen

    in JavaScript now -- seehttp://nodejs.org/

    "Node's goal is to provide an easy way to build scalable network

    programs. In the "hello world" web server example above, many client

    connections can be handled concurrently. Node tells the operating

    system (through epoll, kqueue, /dev/poll, or select) that it should be

    notified when a new connection is made, and then it goes to sleep. If

    someone new connects, then it executes the callback. Each connection

    is only a small heap allocation."

    And newer releases of php offer self serving capabilities as well.

    So it is an interesting time to be involved and to be (re-)entering the 

    If you just  want simple drag and drop with a framework, Delphi for

    Php or Lazarus with phpo toolkit, will do most of that for you, plus

    you can extend things..

    Here is an early blurb of  Delphi for Php at the outset.



    On 3 June 2011 16:35, Steve Peacocke<st...@peacocke.net>  
<mailto:st...@peacocke.net>  wrote:

        Friday question (or Can of Worms)

        Hey guys, I'm looking at getting into serious web development. I used 
to do this a number of years ago with standard Delphi 6 at that time.

        I have Delphi 7

        I've been looking seriously at Ruby on Rails but that would mean 
learning a whole new language and process

        There has been a lot of talk of the validity of using IntraWeb with 

        Perhaps others have a better suggestion? What do others use? Should I 
bite the bullet and jump to RoR or upgrade to D2011 or something else?


__________ Information from ESET NOD32 Antivirus, version of virus signature 
database 6182 (20110605) __________

The message was checked by ESET NOD32 Antivirus.


NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 

Reply via email to