Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-4041-

Web DB - PHP or ...? ... .

Name: estoT 2007-06-28 8:03 ID:7CfhZA0j

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?

--- thnx

Name: Anonymous 2007-06-28 8:23 ID:Heaven

I rate this troll SCIP/10.

Name: sage 2007-06-28 8:24 ID:KGQ5hSTE

sage

Name: Anonymous 2007-06-28 8:44 ID:oEmmyHKC

SICP/0

Name: Anonymous 2007-06-28 8:50 ID:LaBK6OoS

asm + cgi

Name: Anonymous 2007-06-28 8:55 ID:Heaven

Name: Anonymous 2007-06-28 9:12 ID:/QMmlD85

Ruby on Rails.

Name: Anonymous 2007-06-28 9:51 ID:oEmmyHKC

C and AJAX

Name: Anonymous 2007-06-28 10:20 ID:Heaven

Python and Django

Name: Anonymous 2007-06-28 12:43 ID:oEmmyHKC

Rails on Ruby on Java

Name: Anonymous 2007-06-28 13:19 ID:/HlKHyuy

dont program anything.  use a physical mailing list for this purpose.

Name: Anonymous 2007-06-28 13:47 ID:h/BH6GmL

Python. Sqlite. Django if you must, but plain CGI without big frameworks also works most of the time.

Name: Anonymous 2007-06-28 13:54 ID:5stqh8/q

>>11 wise.

Name: Anonymous 2007-06-28 13:57 ID:JyENt2QW

>>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: Anonymous 2007-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: Anonymous 2007-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: Anonymous 2007-06-28 21:41 ID:8HGJzmuu

Why reinvent the wheel? >>16 is right. PHP & mySQL are popular for a reason

stick with php + mysql.

Name: Anonymous 2007-06-28 23:16 ID:Heaven

If you're going to use the C MySQL API, why not just use C instead of shitty PHP?

Name: Anonymous 2007-06-29 0:11 ID:hcf3QOz8

>>18
age for truth

Name: Anonymous 2007-06-29 3:33 ID:gq+AcR2b

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.

Name: Anonymous 2007-06-29 5:08 ID:mPaA5KdV

Name: Anonymous 2007-06-29 6:19 ID:PRanVr9R

Name: Anonymous 2007-06-29 6:23 ID:eIQtM2sv

Name: Anonymous 2007-06-29 6:40 ID:Ck8mmJkj

Name: Anonymous 2007-06-29 7:55 ID:7E290n9w

Name: Anonymous 2007-06-29 8:04 ID:fV4eX6m0

Name: Anonymous 2007-06-29 10:16 ID:8stK6uS5

>>20
Depends on what you call clumsy. Compared to Java, PHP is heaven. Compared to Python or Ruby, PHP is clumsy.

Name: Anonymous 2007-06-29 14:31 ID:71eCnKvT

Name: Anonymous 2007-06-30 8:10 ID:/eXInl2B

Name: Anonymous 2007-06-30 8:34 ID:GKjbKXDd

>>27
compared to java, PHP is shit

Name: Anonymous 2007-06-30 8:51 ID:t2QXKbqX

>>30
compared to shit, PHP is shit

Name: Anonymous 2007-06-30 10:04 ID:09Zatzd4

>>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.

Name: Anonymous 2007-06-30 10:11 ID:Heaven

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: Anonymous 2007-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: Anonymous 2007-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.

Name: Anonymous 2007-06-30 13:17 ID:Heaven

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.

Name: Anonymous 2007-06-30 14:02 ID:09Zatzd4

>>36
of Java

Name: Anonymous 2007-06-30 17:57 ID:eS1S+HMU

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: Anonymous 2007-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.

Name: Anonymous 2007-06-30 23:29 ID:Heaven

>>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: Anonymous 2007-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: Anonymous 2007-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: Anonymous 2007-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: Anonymous 2007-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: Anonymous 2007-07-01 16:27 ID:Z9xEC+8M

you don't have to use FailCGI
What's wrong with FastCGI?

Name: Anonymous 2007-07-01 17:02 ID:mFoaegfe

PHP and Perl aren't THAT different when working with simple things like classifieds.

Name: Anonymous 2007-07-01 17:21 ID:Heaven

>>45
regular cgi generating static html for viewing is faster.

Name: Anonymous 2007-07-01 17:31 ID:Z9xEC+8M

>>47
Well, yes, I think we all know (other than PHP groupies, that is) that static HTML is fastest with any normal server.

That aside, is there anything wrong with FastCGI? Static HTML is becoming increasingly less useful, especially when you add Squid to the mix.

Name: Anonymous 2007-07-01 17:39 ID:Z9xEC+8M

>>46
Only if you use Pear DB. Unfortunately, the vast majority of PHP monkeys are just too stupid to figure out why it's useful.

mysql_*() ftw amirite?!1?

Name: Anonymous 2007-07-01 22:41 ID:pAhiRgbw

BINARIES OR GTFO
YOU CAN'T SPELL SCRIPT KIDDIE WITHOUT SCRIPT

Name: Anonymous 2007-07-02 18:37 ID:Heaven

>>50
OR DIE

Name: Anonymous 2009-03-06 10:25

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?

Name: ​​​​​​​​​​ 2010-10-24 23:32

Don't change these.
Name: Email:
Entire Thread Thread List