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

Pages: 1-

How do you use PHP?

Name: Anonymous 2013-12-31 7:53

Just wondering but when you start a PHP project do you use a 3rd party framework, plain old PHP or your own PHP framework?

Name: Anonymous 2013-12-31 7:58

I just kinda open a text editor then smack my face into the keyboard until it all works.

Name: Anonymous 2013-12-31 8:38

I use the frameworks Perl, Python, Ruby or even Java. Those are very good frameworks you will never even know your are using PHP

Name: Anonymous 2013-12-31 11:18

How do you use PHP?
Terribly!

Name: Anonymous 2013-12-31 15:44

>>4
>le pedophile sage

Name: Anonymous 2013-12-31 20:22

install gentoo

Name: Cudder !MhMRSATORI!fR8duoqGZdD/iE5 2014-01-01 4:10

Plain PHP, easy and simple. Frameworks are for architecture astronauts.

Name: le pedophile 2014-01-01 8:17

Giving it its well-deserved retirement and proceeding to use a language that is actually decent.

>>7

I thought you were a bit less of an artless hack, Cudder, you've disappointed me :(

Name: Anonymous 2014-01-01 17:03

I use a framework, if I don't use a framework, it turns itself into something that resembles a modern framework anyway.

Name: Cudder !MhMRSATORI!fR8duoqGZdD/iE5 2014-01-02 7:28

>>9
That means you're doing it wrong...

Name: Anonymous 2014-01-02 16:58

>>10
>le kike sage

Name: Anonymous 2014-01-03 1:45

You need to work with some PHP code out in the wild to experience the joys of 'custom' code.  It will inevitably feel like a house of cards at one point or another, as PHP lets you get away with murder.

If you're in your basement by yourself, wanking it to dickgirls in between bouts of PHP, yeah, sure, write your own framework.
If you're working with other people, don't reinvent the wheel - you won't have time anyway.

The best code I write is code I steal from other people.  Find a framework that can do everything you need it to do, make sure people are actively writing code for it (lots of PHP abandonware out there), and figure out how it works.  I recommend CodeIgniter (sorta abandonware, but does everything you'll need until you know better).  MVC makes PHP bearable.


#Stay away from the Wordpress ghetto#

Name: Cudder !MhMRSATORI!fR8duoqGZdD/iE5 2014-01-03 1:57

MVC
One of the most disgusting abominations created by architecture astronauts as a way of making PHP as difficult to use for web programming as any other general purpose language? No.

Name: Anonymous 2014-01-03 2:25

>>12

This is terrible advice. PHP is a web development framework. That's what it started out as: a Perl framework.

>>13

The successor to MVC is Morphic. Morphic's goals are "directness" and "liveness".

Name: Anonymous 2014-01-03 2:28

When I used PHP I used plain old PHP. I pushed everything to the front end, and the PHP was just secure glue to MySQL.

Name: Anonymous 2014-01-03 9:22

PHP
secure
Back to reddit/r/funny, please.

Name: Anonymous 2014-01-03 10:07

PHP is pretty much designed to be written in a horribly unstructured way.
It's essentially Perl for web programming.
I'd suggest using a different language if your project is large enough to require serious structure.

Name: Anonymous 2014-01-03 13:36

>>17
It's essentially Perl for web programming.
If only....

Name: Anonymous 2014-01-03 15:18

>>18
Well if you want real Perl for web programming then I'm pretty sure Perl has web programming libraries. They're just not very popular for reasons unknown

Name: Anonymous 2014-01-03 15:22

>>19
You kids might not know it, but back in the 90's half of websites on the Internet had at least a "cgi-bin.pl".

Name: 17 2014-01-03 16:50

>>18
I use Perl::Dancer for my toy projects involving web pages. It's awesome

Name: Anonymous 2014-01-03 16:53

How do you use PHP?
You don't.

Name: 17 2014-01-03 18:36

>>21
Oh fuck, my schizophrenia is back.
Who am I again?

Name: Anonymous 2014-01-03 20:58

>>20
Why'd it fall out of popularity?
I can't imagine PHP is better, yet it's king for small, shitty websites

Name: Anonymous 2014-01-04 17:20

>>24
I don't use php unless I need posting.

Name: Anonymous 2014-01-04 17:33

>>13
MVC and Frameworks are too difficult for you Cudder, we get it.
But not all programmers have disabilities.

Name: Anonymous 2014-01-04 18:20

>>26

MVC is not that great though. It came from Smalltalk, but Smalltalk replaced it with Morphic from Self (a language in the Smalltalk family).

The "MVC" frameworks you get in other languages are usually as confused as "Actor" frameworks. They are the result of the California-(or USA in general)-magic-computer-snake-oil-cheer-leader-squad marketing.

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