12 1945
In article <10************ *@news.supernew s.com>, Deke <De**@nospam.co m>
wrote: I will be embarking on a large web project. I am still researching as to which language use - PHP or Perl.
Can someone clear up some of the bad publicity with PHP in the links below? They are very interestiing points. Are these points moot in PHP5?
http://www.bitstorm.org/edwin/en/php-sucks/ http://www.ukuug.org/events/linux200...php/index.html http://www.webkreator.com/php/commun...-and-hate.html
THanks!
Yawn! This smells so much like a troll, I can't barely bring myself to
give the poster the benefit of the doubt. It's as if he showed up in a
Mac newsgroup and posted "MACS SUCK! PCs RULE". If this were cross
posted in the perl groups, I can imagine their reaction. Perl hackers
in those groups can be brutal.
The URLs you posted above are all nits mostly about the abstracts of
php's implementation. So what? The second link talks more about the
pitfalls of building a large site and is quite useful than php vs. perl
in general. You could just as easily have inserted "Java/Tomcat" for
php in the 2nd URL's article.
Anyway, why not take a step back and not even think about the language
you're going to use at this point? Why not just do a story board of the
site, document on the flow of information, and figure out what you're
trying to do first?
Find out what sort of machine you'll be running the site on (PC running
Windows/IIS or Linux/Apache or something else). Is the system "all
yours" or will it be shared with other users and sites on an ISP? Any
restrictions on what's allowed to be installed on the host (some ISPs
won't install software for you--you take what they offer or go
elsewhere).
Now, if you had to design something from all this in a single day, which
language would you use? Perl or php? Which are you most comfortable
with?
I personally like the huge perl CPAN repository which has many man-years
of experience behind it. I like the ability to do step-by-step
debugging in the perl debugger. php isn't quite there yet (yes, I know
about PEAR and ZEND's editor with built-in php debugger).
Yet, I wouldn't want to recode my site using only perl. php is just
enough to do individual pages on the shared machine. For CGI scripts, I
use perl and CGIwrap. These constraints are imposed by my ISP but I can
work with them.
--
DeeDee, don't press that button! DeeDee! NO! Dee...
Thanks for the answer. This is not a troll, by the way. Anyone have any
good perl vs php links? Thanks
Michael Vilain wrote: In article <10************ *@news.supernew s.com>, Deke <De**@nospam.co m> wrote:
I will be embarking on a large web project. I am still researching as to which language use - PHP or Perl.
Can someone clear up some of the bad publicity with PHP in the links below? They are very interestiing points. Are these points moot in PHP5?
http://www.bitstorm.org/edwin/en/php-sucks/ http://www.ukuug.org/events/linux200...php/index.html http://www.webkreator.com/php/commun...-and-hate.html
THanks!
Yawn! This smells so much like a troll, I can't barely bring myself to give the poster the benefit of the doubt. It's as if he showed up in a Mac newsgroup and posted "MACS SUCK! PCs RULE". If this were cross posted in the perl groups, I can imagine their reaction. Perl hackers in those groups can be brutal.
The URLs you posted above are all nits mostly about the abstracts of php's implementation. So what? The second link talks more about the pitfalls of building a large site and is quite useful than php vs. perl in general. You could just as easily have inserted "Java/Tomcat" for php in the 2nd URL's article.
Anyway, why not take a step back and not even think about the language you're going to use at this point? Why not just do a story board of the site, document on the flow of information, and figure out what you're trying to do first?
Find out what sort of machine you'll be running the site on (PC running Windows/IIS or Linux/Apache or something else). Is the system "all yours" or will it be shared with other users and sites on an ISP? Any restrictions on what's allowed to be installed on the host (some ISPs won't install software for you--you take what they offer or go elsewhere).
Now, if you had to design something from all this in a single day, which language would you use? Perl or php? Which are you most comfortable with?
I personally like the huge perl CPAN repository which has many man-years of experience behind it. I like the ability to do step-by-step debugging in the perl debugger. php isn't quite there yet (yes, I know about PEAR and ZEND's editor with built-in php debugger).
Yet, I wouldn't want to recode my site using only perl. php is just enough to do individual pages on the shared machine. For CGI scripts, I use perl and CGIwrap. These constraints are imposed by my ISP but I can work with them.
Deke wrote: I will be embarking on a large web project. I am still researching as to which language use - PHP or Perl.
Can someone clear up some of the bad publicity with PHP in the links below? They are very interestiing points. Are these points moot in PHP5?
http://www.bitstorm.org/edwin/en/php-sucks/
Looks a little biased. From the points listed, the only thing that would
make a difference, with regards to the size of the project, is the lack
of namespace. If the project is written from scratch (i.e. not just
gathering up a bunch of prototypes or separate projects), you plan
ahead, and you are strict with your naming conventions (proper
prefixing), then it is less of a problem, if at all.
If you include more than one namespace, then you can still get name
collisions.
If not included but explicitly stated, then you would perhaps write
"fooNS:fooFunc( )" instead of "fooNS_fooFunc( )". (whoop dee doo)
But apart from that, they can be nice to have. If you have some old code
that you want imported, you can just slap on a namespace, and there you
go. On the other hand, in awareness of the lack of namespace, people
usually prefix their functions and classes, if it is something worth
reusing. http://www.ukuug.org/events/linux200...php/index.html
Pretty much same as above, has a point in "3. Using a Team of
Developers". But developers aware of the possibility of namespace
pollution will act accordingly. I wouldn't consider it a real problem. http://www.webkreator.com/php/commun...-and-hate.html
Hmm, upset about a tutorial that requires register_global s, written
years ago by some random grrl, that they (Zend) don't remove from their
site. Ok. Disagreeing with some articles on the net. Ok. Concluding that
PHP is headed straight to hell. Uhm... what?
Perhaps you should peek in some (larger) opensource projects both for
php and perl, and judge what you are most comfortable with.
/Bent
On 2005-01-31, Deke <De**@nospam.co m> wrote: Thanks for the answer. This is not a troll, by the way. Anyone have any good perl vs php links? Thanks
Imho, languageX vs languageY comparisions suck!
Just choose the one that allows you to do the things you need to do the
easiest/fastest/cheapest. From that point of view it doesn't matter
which parts of a language suck, because you have to focus on the parts that
are good... And if those parts are really good, other languages will
pick that up... This way we end up with a positive and inspiring
discussion instead of the usual flamewars...
--
Met vriendelijke groeten,
Tim Van Wassenhove <http://www.timvw.info>
"Tim Van Wassenhove" <ti***@users.so urceforge.net> wrote in message
news:36******** *****@individua l.net... On 2005-01-31, Deke <De**@nospam.co m> wrote: Thanks for the answer. This is not a troll, by the way. Anyone have any good perl vs php links? Thanks Imho, languageX vs languageY comparisions suck!
Just choose the one that allows you to do the things you need to do the easiest/fastest/cheapest. From that point of view it doesn't matter which parts of a language suck, because you have to focus on the parts
that are good... And if those parts are really good, other languages will pick that up... This way we end up with a positive and inspiring discussion instead of the usual flamewars...
What if every part of a language sucks? LISP is what I have in mind :-)
"Michael Vilain" <vi****@spamcop .net> wrote in message
news:vi******** *************** ***@news.gigane ws.com... In article <10************ *@news.supernew s.com>, Deke <De**@nospam.co m> wrote:
I will be embarking on a large web project. I am still researching as to which language use - PHP or Perl.
Can someone clear up some of the bad publicity with PHP in the links below? They are very interestiing points. Are these points moot in PHP5?
http://www.bitstorm.org/edwin/en/php-sucks/ http://www.ukuug.org/events/linux200...php/index.html http://www.webkreator.com/php/commun...-and-hate.html
THanks!
Yawn! This smells so much like a troll, I can't barely bring myself to give the poster the benefit of the doubt. It's as if he showed up in a Mac newsgroup and posted "MACS SUCK! PCs RULE". If this were cross posted in the perl groups, I can imagine their reaction. Perl hackers in those groups can be brutal.
The URLs you posted above are all nits mostly about the abstracts of php's implementation. So what? The second link talks more about the pitfalls of building a large site and is quite useful than php vs. perl in general. You could just as easily have inserted "Java/Tomcat" for php in the 2nd URL's article.
Anyway, why not take a step back and not even think about the language you're going to use at this point? Why not just do a story board of the site, document on the flow of information, and figure out what you're trying to do first?
Find out what sort of machine you'll be running the site on (PC running Windows/IIS or Linux/Apache or something else). Is the system "all yours" or will it be shared with other users and sites on an ISP? Any restrictions on what's allowed to be installed on the host (some ISPs won't install software for you--you take what they offer or go elsewhere).
Now, if you had to design something from all this in a single day, which language would you use? Perl or php? Which are you most comfortable with?
I personally like the huge perl CPAN repository which has many man-years of experience behind it. I like the ability to do step-by-step debugging in the perl debugger. php isn't quite there yet (yes, I know about PEAR and ZEND's editor with built-in php debugger).
Yet, I wouldn't want to recode my site using only perl. php is just enough to do individual pages on the shared machine. For CGI scripts, I use perl and CGIwrap. These constraints are imposed by my ISP but I can work with them.
-- DeeDee, don't press that button! DeeDee! NO! Dee...
To the point and right on target. To many jump in coding like mad and then
expect someone else to dig them out of their own mess.
The rule of thumb that has worked for me is, "For every minute you spend
planning, you save ten writing the code."
Then there is the corollary, "The first 90% of the project takes 20% of the
time and the last 10% take 80%."
--
Thank you,
Al Kolff
Technical Services
Divine Shepherd Lutheran Church
9741 W Beloit Rd
Milwaukee, WI 53227
Web Site http://www.divineshepherdlc.org
being the very first language I taught myself, Lisp is well loved.
granted not the most useful language for general usage
--
Junxter Ad Network http://www.junxter.com
Chung Leong wrote: "Tim Van Wassenhove" <ti***@users.so urceforge.net> wrote in message news:36******** *****@individua l.net...
On 2005-01-31, Deke <De**@nospam.co m> wrote:
Thanks for the answer. This is not a troll, by the way. Anyone have any good perl vs php links? Thanks
Imho, languageX vs languageY comparisions suck!
Just choose the one that allows you to do the things you need to do the easiest/fastest/cheapest. From that point of view it doesn't matter which parts of a language suck, because you have to focus on the parts
that
are good... And if those parts are really good, other languages will pick that up... This way we end up with a positive and inspiring discussion instead of the usual flamewars...
What if every part of a language sucks? LISP is what I have in mind :-)
Deke,
I used to do everything in Perl, then decided to learn PHP.
I like PHP as it is quite easy to learn and quick to develop web
applications.
For your BIG project, you may want to consider the following...
1) Testing
What I don't like about PHP is that it only runs in a web environment.
Perl can run stand alone, good for testing routines.
2) Processes
Also, Perl can spawn processes that you can control (child processes).
PHP is only ran when a user visits a page.
3) Alternative
Another thing you can consider is a combination of PHP and Perl.
This is what I chose for my BIG project http://boomstickservers.com/gpanel/
The web sections are all PHP (and MySQL).
The networking sections are all in Perl.
Have fun!
Rob
"Deke" <De**@nospam.co m> wrote in message
news:10******** *****@news.supe rnews.com... I will be embarking on a large web project. I am still researching as to which language use - PHP or Perl.
Can someone clear up some of the bad publicity with PHP in the links below? They are very interestiing points. Are these points moot in PHP5?
http://www.bitstorm.org/edwin/en/php-sucks/ http://www.ukuug.org/events/linux200...php/index.html http://www.webkreator.com/php/commun...-and-hate.html
THanks!
RL wrote: Deke,
I used to do everything in Perl, then decided to learn PHP.
I like PHP as it is quite easy to learn and quick to develop web applications.
For your BIG project, you may want to consider the following...
1) Testing What I don't like about PHP is that it only runs in a web environment. Perl can run stand alone, good for testing routines.
PHP can run standalong just fine, also. I have several cron jobs which
use PHP to access a MySQL database, for instance.
2) Processes Also, Perl can spawn processes that you can control (child processes). PHP is only ran when a user visits a page.
PHP can spawn processes anytime, also.
3) Alternative Another thing you can consider is a combination of PHP and Perl. This is what I chose for my BIG project http://boomstickservers.com/gpanel/ The web sections are all PHP (and MySQL). The networking sections are all in Perl.
Actually, this can also be a good alternative.
Have fun! Rob
Please note - I'm not saying one is better than the other - and don't
want to get into a holy war here. I'm just correcting some
mis-statements in your post.
--
To reply, delete the 'x' from my email
Jerry Stuckle,
JDS Computer Training Corp. js*******@attgl obal.net
Member of Independent Computer Consultants Association - www.icca.org This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: assaf__ |
last post by:
Hello,
I am beginning to work on a fairly large project and I'm considering to use python for most of the coding, but I need to make sure first that it is reliable enough.
I need to make sure that I won't have surprises when my program runs on different real-world systems. So far I wrote a little script with python using urllib, and on one computer it failed completely because of a problem in getting the proxies (in my opinion this is a...
|
by: Fred Ma |
last post by:
Hello,
This is not a troll posting, and I've refrained from
asking because I've seen similar threads get all
nitter-nattery. But I really want to make a decision
on how best to invest my time. I'm not interested on
which language is better in *general*, just for my
purpose. My area of research is in CAD algorithms,
and I'm sensing the need to resort to something more
expedient than C++, bash scripting, or sed scripting.
|
by: Andrea Griffini |
last post by:
I did it.
I proposed python as the main language for our next CAD/CAM
software because I think that it has all the potential needed
for it. I'm not sure yet if the decision will get through, but
something I'll need in this case is some experience-based set
of rules about how to use python in this context.
For example... is defining readonly attributes in classes
worth the hassle ? Does duck-typing scale well in complex
|
by: Adriaan Renting |
last post by:
I think the point you want to make is that Python needs vastly less
lines of code as a similar application written in C++. I think Python
might on average be 50-60% of comparable C++ code, but not the 1-2% you
seem to want to claim. LOC is a somewhat arbitrairy measurement, but it
gives an idea of what I'm talking about.
Your single example compares a simple use in Python with a much more
elaborate framework in one of the worst C++ IDE's...
|
by: Jed |
last post by:
Hello to all!
I have a couple of projects I intend starting on, and was wondering if
someone here could make a suggestion for a good compiler and development
environment.
My goals are as follows:
1. Develop the project code on XP.
| |
by: Tim Marsden |
last post by:
HI,
I am developing a application in vb.net. I split down my functionality
into several separate DLL's. The solution is becoming very large, nearly 100
projects, each project a dll's. There is one entry exe.
It is very slow to load and compile now. All my references are project
references, is there a standard way to split the solution. In the past I
have had versioning problems if a compile groups of projects individually.
|
by: Axter |
last post by:
I normally use a program call Doxygen to document my source
code.(http://www.stack.nl/~dimitri/doxygen)
This method works great for small and medium size projects, and you can
get good documentation like the following:
http://axter.com/smartptr
Now I'm on a client site, and I'm trying to create the same type of
documentation on a very large project.
I ran the Doxygen program, and it ran for over 16 hours, before I had
|
by: =?Utf-8?B?RG91Zw==?= |
last post by:
We have a very large code base and use the partitioned solution model for
development and deployment. The problem is that in .NET 2005 the setup
projects cause severe performance problems when working with the master build
solution in the .NET IDE. Currently we have about 300 projects with another
150+ going to production in the coming months. The build server we use is a
Windows 2003 server with quad Intel Xeon processors and 2GB...
|
by: Leah |
last post by:
I am a student and are required to build a website that provide
services (client-server).
I need advice in choosing approach or to be exact the methodology that
appropriate for such development. I am still new in design and
analysis, so any extra informations are greatly appreciated. Right
now, it is the initial phase, planning. So I need to decide which to
adapt. I had been read some of the open source projects code, and
majority seems...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |