Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

As CountZero points out, "LAMP" just refers to a combination of Linux, Apache, MySQL and a web-dev scripting language which will work with them (PHP, Perl, or Python).

But here's an opinion on PHP anyway, since there could well be many "LAMP" jobs that do require PHP specifically: I had to learn php for a job that required writing a mediawiki extension (since mediawiki is in php). IMO, it is not as nice a language as perl -- regexps are ridiculously awkward by comparison, etc (of course, they are even more awkward in compiled languages). However, I would disagree that "PHP is not a decent language in general". Easy to say, but mostly just ignorance and hyperbole. Such arguments and attitudes are a waste of time, ie, ignore excessive naysayers.*

PHP borrows most of it's syntax from perl and C++. I found it very easy to pick up. Partially this is because the official PHP online documentation is terrific -- one area I would say the community is clearly light years ahead of "us"; perldoc.org, CPAN, & POD stuff are moldy old scrolls by comparison.

Also:

  • The more tools in your toolbox the handier you will be.
  • Learning new languages is fun and enlightening.

Of course, that can lead to the "Jack of all trades, Master of none". But it takes all kinds. Once you get comfortable, the language takes kind of a backseat to the thinkin' and programmin'. I'm happy to be back doing perl stuff, but I'm sure I'll end up doing php work again in the future. $0.02

* unless they are naysaying MS windows, in which case it is probably all true and worse ;)


In reply to Re: Learning PHP by halfcountplus
in thread Learning PHP by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (1)
As of 2024-04-19 00:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found