Well, it seems to me, guys, that we're falling in some kind of politics forgetting about programming. Someone who made something in PHP on the same topic, thinks that his/her product will lose its popularity after appearing of standard PHP module. I'd say this is wrong. There's a place for every project and there are things that this extension will never do because they're not have been even planned for this module and won't be.
I thought PHP has something to do with Open Source Community, but it's more like a Personal Closed Project. I don't complain. If you read my messages carefully, you won't find a word like "include my module to the main CVS tree now!" or anything like that. I'm NOT asking for nothing. I have just put in public a piece of my code for everyone could use it. Do I have to write the previous sentence in upper case for everyone understood this? :) That's what I think Open Source is. I am sure and agree that you should not accept _any_ code sent to you. And I would understand reasons like "your code sucks because..." or "your algorythm is unacceptable because..." or "your code does not meet our standards of coding because..." But noone said this. That is the only reason why I am writing this now. Most of you even did not open a .c file and/or read the documentation to have a look on how things are made. You have started all this flame just because there are many projects doing the same job and you don't want to accept another one. Let's try to think about one thing. What is PHP being created for? What is its purpose? Always to be used in homepages like "Hi, my name's Bob!" with 5-10 accident visitors per year, or to move towards more and more complex projects with thousands visits per day? I hope the answer is obvious. Hey! Don't tell me "I use PHP on 1M visits/day site and that's like OK!". Sure you do! But when there's a possibility to improve perfomance, why you don't want to accept it and don't want to innovate? Writing whole page in C? Well, you know, people used to ride horses before... So, why the hell they invented cars?! I hope you got the idea... Should I say something about existing template engines? I wouldn't even start to write this extension if I was satisfied with their quality. Ones are written in a very bad manner, others are too large and require some kind of Zend Cache to be ran in the proper way. But this will cost $$$ and is not full Open Source. Bad PHP coding manner? I will give you just one simple example. Don't ask for more. If you can read russian I can give you an URL with a good report made by a friend of mine. There's no any secret that the code $str_val = "sometext $str_variable sometext"; will be executed _much_ slower than the $str_val = "sometext".$str_variable."sometext"; but the latter structure is being used in almost 50% of template engines! That would be OK to use it in any class of software but extreme one. Under the term "extreme software" I assume the code which should be executed in the fastest possible manner and should consume less possible resources. Any template engine is an extreme software and should be really fast. This is the rule. Another issue is the PHP code. Everytime we call a page, we need to parse all PHP libraries it includes. It requires some time. So, less PHP code we have to parse, faster page we have. Isn't that right? With internal extension you have no code to parse, so it will be faster than anything written in PHP apriory. And again don't tell me about Zend Cache! PHP should have its own possibilities to work faster. Template caching engines? Please, tell me which of two things will be faster: 1. Read file, parse PHP code in it, replace some tags, print output 2. Read file, replace some tags, print output Anything else to be said? So, why noone wants to participate in creating something really good and fast? I have started this project, but that doesn't mean you can not contribute to it making it better. The current API is good. There's no need to change it in future. So, we only could add new things to it, and improve what is already done. Let's make it better and better untill we can say "Yes, sir. This module could be called a standard". In conclusion, my purpose is to create a really fast template engine and I will do this. I am not a "new school" 15 y/o kid who has just read a book about PHP yesterday and today starts to send his code everywhere, neither you are. I've got enough years of experience to be sure that I will finish the job and will get a better solution. If you want to use it too, you know the place where you can get it. It's free. I earn $$$ on other things. Everything said here is only my personal (may be not so humble, sorry) opinion. I didn't want to offend anyone. Thanks for reading such a long message :) With best wishes Maxx -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]