jobscas.blogg.se

Programming php rasmus lerdorf
Programming php rasmus lerdorf







It does not try to be a general-purpose scripting language and anybody who’s looking to solve a Web problem will usually find a very direct solution through PHP. In the end, what I think set PHP apart in the early days, and still does today, is that it always tries to find the shortest path to solving the Web problem. I was still writing all my real business logic in C. I was simply adding a little bit of functionality to the macro replacement parser. At no point did I think I was writing a scripting language. The simple parser slowly grew to include conditional tags, then loop tags, functions, etc. I then wrote a very simple parser that would pick tags out of HTML files and replace them with the output of the corresponding functions in the C library. I ended up with about 30 different little CGI programs written in C before I got sick of it, and combined all of them into a single C library.

programming php rasmus lerdorf

One tool did some fancy hit logging to an mSQL database, another acted as a form data interpreter.

programming php rasmus lerdorf

RL: The first version of PHP was a simple set of tools that I put together for my Website and for a couple of projects. SP: What led you to develop PHP? And what do you think this language has to offer that others don’t? When you don’t have the money to buy SCO Unix and you can download something that works and even find people who can help you get it up and running, how can you beat that? Religion never really played a part. I don’t think I was ever really "hooked" by a "movement". Previously I was using QNX and Xenix and then started to fiddle with Minix until Linux rescued me.

programming php rasmus lerdorf

"Free Software" existed, of course, and I had been playing with Linux almost since the very first release in 1991.









Programming php rasmus lerdorf