ok. I'm about to build a website/database. It's gonna be like kind of online classifieds slash community - but the main focus is on the classifieds (which are free)
So... my first thought was to teach myself PHP and MySQL stuff. I've done a tiny bit of PHP before and I'm a fast learner and not a retard. I know I can do it and otherwise I would be hiring someone.
The Question:
Should I just go ahead and learn some PHP
OR
Is there a better language out there?
>>12
Sqlite is mostly good for application data storage. PostgreSQL is what you want for a web application.
Oh, and FastCGI, not plain CGI. Unless you want to have scalability issues once you hit a half-dozen users.
One more thing: web.py is a good (and small) Python web framework.
Name:
Anonymous2007-06-28 14:09 ID:h/BH6GmL
>Sqlite is mostly good for application data storage. PostgreSQL is what you want for a web application.
Yes.
>Oh, and FastCGI, not plain CGI. Unless you want to have scalability issues once you hit a half-dozen users.
Agreed. (scalable, dynamic enterprise web application etc)
Name:
Anonymous2007-06-28 20:08 ID:fPsownoG
I use PHP/mySQL for most of the stuff I work on, give it a shot - it's easy and its effective. Of course, you could get some PHP/SQL forums from any of the freely available sources and save yourself the 500 lines of code you would be typing (OH NOS!), but still...I like it better when I do it myself (sans writing the httpd/php/sql from scratch ;)
Name:
Anonymous2007-06-28 21:41 ID:8HGJzmuu
Why reinvent the wheel? >>16 is right. PHP & mySQL are popular for a reason
Man, you PHP coders are a pack of morons. It really isn't funny anymore.
How about, you know, seriously giving another language a shot. A language is just a tool, not a lover; it's not like PHP will have hard feelings if you finally realise it's a rather clumsy tool.
>>30
Compared to Java, PHP is satori. Java is a god awful language which is less braindamaged but more overengineered, overcomplicated and stupidly restrictive than PHP, and comes with a library that is several orders of magnitude less usable.
Whereas, PHP is underengineered and still overcomplicated, and with safe mode (which isn't safe at all, just more annoying) it's also stupidly restrictive.
Name:
Anonymous2007-06-30 10:25 ID:09Zatzd4
>>33
Amateur whiner, complaining about basic issues. Just disable safe shitty mode, just like magic shitty quotes and register shitty globals. I'm missing a "disable stupidity" and "disable bloat" option for Java though.
The reasons why Java sucks go beyond "why do I have to type $ before a variable" or "omg safe mode i can't write files". If you haven't written a 100K+ lines program (which is just medium-sized), chances are that you won't be able to tell.
Name:
Anonymous2007-06-30 12:06 ID:JSk4+moQ
>>20
I use PHP because it works quickly and easily and it wasn't hard to pick up at all. In terms of learning C, Python, Ruby or Java vs learning PHP, PHP was way easier and believe me, I put a lot of time into C/++ and attempting to get a Ruby on Rails environment set up, no good. I can't stand Java, though this could be because the majority of my exposure has been going through other peoples' code to try and fix problems that people who worked with me years ago left behind, but thankfully we're moving all of our applications to be web-based, no more stupid Java WebStart issues.
If you haven't written a 100K+ lines program
100K+ lines? seems that you're very bad at writing code.
seriously, you can write a functional kernel in C with less lines.
In terms of learning C, Python, Ruby or Java vs learning PHP, PHP was way easier and believe me
First, comparing PHP with C or Java is amazingly stupid; they're for different things. What you should compare PHP with is Python, Perl, Ruby or even Tcl. I can't believe I have to state the obvious.
I am also 100% confident in asserting that you never learned Ruby or Python, because nobody who knows either would ever use PHP unless paid. Maybe you think a couple of hours staring at code examples somehow means "learning".
attempting to get a Ruby on Rails environment set up
Rails is a framework, you dunce. Spell after me: F R A M E W O R K. Since when did the PHP base install come with CakePHP?
tl;dr: just another PHP moron
Name:
Anonymous2007-06-30 23:12 ID:JSk4+moQ
>>38
I was stating that out of the languages I've spent a decent amount of time with, PHP was the quickest to pick up and start going with. I never stated that I succeeded in learning any language other than PHP - there was a time when I could do some decent amount of C++ but when I got to college, my CSC C++ course got canceled and I got hired as a PHP developer, so for the last 4 years I've worked with PHP and had not much free time to go back to learning any other languages. I deal with Java at work occasionally, but it frustrates me since other people wrote the code who no longer work with us and no one but me comments or documents functionality.
>>39
it's actually harder to do things right in php than it is in x86 assembly.
if you think php is easy, your code is probably full of remote execution of code and script insertion vulnerabilities.
Name:
Anonymous2007-07-01 0:22 ID:6ySokCRS
>>39
let me refer you back to >>20
If you need to work with php, it's ok. But keep PHP to yourself, m'kay?
Name:
Anonymous2007-07-01 2:49 ID:Z9xEC+8M
I never stated that I succeeded in learning any language other than PHP
Look, I realise I came across as harsh, but it bothers me that people put up with such an amazingly shitty language for web development. PHP is bottom of the barrel of the LAMP languages, and it's going to stay that way.
Having said that, I sincerely recommend you find the time to learn new languages and tools. I too am employed full time, I too have family responsibilities, and I too come home wanting nothing more than a soft bed. However, I somehow have managed to learn to an intermediate level an average of two new languages a year since entering the workforce, and I read a stack of software-related books on the side as well.
I recommend you do too, because I've met software developers who tragically are unwanted even in the rather hot market I'm located in. They have decades of experience and families to support, but their skills aren't in demand. In this industry you CANNOT afford to sit still.
Honestly? Unless the market stinks, I suggest you start hunting on the side for a new job. Four years on PHP is long enough; if you keep this up, you'll damage your future employability. Time for a pay hike and something new.
no one but me comments or documents functionality
Good for you. Castrate the others on the way out, okay?
Name:
Anonymous2007-07-01 5:25 ID:u1ZHqXmO
USE HAppS.
but if you have to use a retarded scripting language, have the scripts generate static HTML for viewing, that way you don't have to use FailCGI for your UBER popular site (yeah rite)
THREAD OVAR!!!
Name:
Anonymous2007-07-01 15:17 ID:0EmZgewR
asp.net C# (on visual web dev express) and sql 2005 express. I've used that, asp classic (massive lulz), and php. I prefer the ENTERPRISE SOLUTION. Which, management buzzwords aside, isn't really all that bad.
Name:
Anonymous2007-07-01 16:27 ID:Z9xEC+8M
you don't have to use FailCGI
What's wrong with FastCGI?
Name:
Anonymous2007-07-01 17:02 ID:mFoaegfe
PHP and Perl aren't THAT different when working with simple things like classifieds.
The other HAX MY anusu got me i stop spaming hax my anusu got me i hear it I love that She is also nice misuse of show GRR Also you are trying to indirectly pick a random problem or paragraph from the file field function?