GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   PHP Refugees (https://gfy.com/showthread.php?t=1066601)

Brujah 04-30-2012 05:37 PM

PHP Refugees
 
What language did you move to?

Klen 04-30-2012 05:38 PM

You mean from PHP to or to PHP from ?

AdultKing 04-30-2012 05:39 PM

I'm rather fond of Python these days, but most of our stuff is PHP.

Babaganoosh 04-30-2012 05:53 PM

I've been doing less and less PHP over the last couple of years. Most of my backend stuff is Perl and my new frontend stuff is Pyton/Django.

videoscribe 04-30-2012 05:59 PM

PHP is a very popular script. A lot of people sure use it on the internet. Many traffic trading scripts are PHP.

FetishWeb 04-30-2012 07:19 PM

Quote:

Originally Posted by videoscribe (Post 18917737)
PHP is a very popular script. A lot of people sure use it on the internet.


wow, sounds great! where can I buy PHP ?

raymor 04-30-2012 07:26 PM

It looks like PHP 6.0 might not suck. Still, PHP 5.0 sucks enough that we do most things in Perl if not C. The Perl 6.0 design is awesome, but we'll se if it's ever released.

AdultKing 04-30-2012 07:43 PM

I do like this quote:

"“Recalling the exact syntax for the built-in stab() function, you make a sane assumption and call shoot(GUN, FOOT); The foot shoots your gun.”

— Some user who calls theirself “plams” on the Something Awful Forums"

brentbacardi 04-30-2012 07:55 PM

Why does pHp suck? Just curious... I know it because most shit out there is php so its good to know...

react 04-30-2012 08:04 PM

ruby/rails.

shake 04-30-2012 08:39 PM

Moving to python myself. So much more powerful, and not that hard to learn coming from PHP. :2 cents:

Although I'll keep using PHP as well most likely, as it works well for simpler projects.

baryl 04-30-2012 08:53 PM

Quote:

Originally Posted by videoscribe (Post 18917737)
PHP is a very popular script. A lot of people sure use it on the internet. Many traffic trading scripts are PHP.

This guy's a spammer btw. Should go hang out in the Q&A forum with the rest of the spammers trying to pick off new people.

brentbacardi 04-30-2012 09:00 PM

Quote:

Originally Posted by baryl (Post 18917956)
This guy's a spammer btw. Should go hang out in the Q&A forum with the rest of the spammers trying to pick off new people.

Its Fatfoo reincarnated! :1orglaugh

Hmm I think you may be too new to GFY to know that though?

barcodes 04-30-2012 09:05 PM

Use PHP and ColdFusion.
I prefer coldfusion but php is more popular withblogs, commerce, etc.
There is a custom tag where you can mix the two together which would be cool.

Brujah 04-30-2012 10:20 PM

Was picking up some Ruby skills (not Rails), and enjoyed it. Going to get familiar with Python.

AdultKing 05-01-2012 01:51 AM

Quote:

Originally Posted by Brujah (Post 18918043)
Was picking up some Ruby skills (not Rails), and enjoyed it. Going to get familiar with Python.

Ruby is great, Ruby on Rails is great but its a language that seems to get in the way of what I'm wanting to achieve. Maybe I haven't put enough time into it.

I love Python, the Django framework is great , applications are superfast to develop.

However most of our stuff is written in PHP simply for legacy reasons, there's no good reason to go and rewrite everything in another language so we don't.

Klen 05-01-2012 05:38 AM

Well if i would have to use other language then it would be java.

Klen 05-01-2012 05:38 AM

Quote:

Originally Posted by raymor (Post 18917858)
It looks like PHP 6.0 might not suck. Still, PHP 5.0 sucks enough that we do most things in Perl if not C. The Perl 6.0 design is awesome, but we'll se if it's ever released.

Depend what you want to do,in some cases php can do what perl cant.

u-Bob 05-01-2012 05:50 AM

Perl. learned perl long before php and while I do use php for certain things, 90% of what I do, I do in perl.

Babaganoosh 05-01-2012 05:53 AM

Quote:

Originally Posted by KlenTelaris (Post 18918419)
Depend what you want to do,in some cases php can do what perl cant.

Like what?

u-Bob 05-01-2012 05:56 AM

Quote:

Originally Posted by Babaganoosh (Post 18918440)
Like what?

curious about that myself.

mafia_man 05-01-2012 06:03 AM

Quote:

Originally Posted by react (Post 18917898)
ruby/rails.

Yup, because I like Rails more than Django.

mafia_man 05-01-2012 06:10 AM

Quote:

Originally Posted by AdultKing (Post 18918193)
Ruby is great, Ruby on Rails is great but its a language that seems to get in the way of what I'm wanting to achieve. Maybe I haven't put enough time into it.

That's kind of a strange point. Ruby and Python are really similar, major differences being indentation and blocks etc. Also, Rails and Django are pretty similar too.

I like Rails more than Django because the template system (ERB) is cleaner and Ruby gems makes development easier. Django has an admin but I'm usually doing maintenance in a terminal.

When I do Python web development these days I'll use Web2Py.

AdultKing 05-01-2012 06:23 AM

Quote:

Originally Posted by mafia_man (Post 18918477)
That's kind of a strange point. Ruby and Python are really similar, major differences being indentation and blocks etc. Also, Rails and Django are pretty similar too.

I started with Python quite a while ago, I guess I've grown along with the Python way of doing things.

Klen 05-01-2012 07:35 AM

Quote:

Originally Posted by Babaganoosh (Post 18918440)
Like what?

I'l need to dig my code database to give you answer,not much examples but i do know there was something just cant remember exactly what was it.

raymor 05-01-2012 07:48 AM

Quote:

Originally Posted by KlenTelaris (Post 18918419)
Depend what you want to do,in some cases php can do what perl cant.

I'd put a bet on that. I wouldn't be at all suprised if there was something you know how to do in PHP and you don't know how to do in Perl.

There are some things that PHP can do with four different functions that all do the same thing, do_it(), DoIt(), itDoto(), and it.do(), which Perl just uses one operator for.

raymor 05-01-2012 08:56 AM

Quote:

Originally Posted by brentbacardi (Post 18917889)
Why does pHp suck? Just curious... I know it because most shit out there is php so its good to know...


There's WHY it sucks, and HOW it sucks. For HOW it sucks, Google will bring up a million good pages. As to WHY it sucks, it sucks because it was never supposed to be a programming language from the beginning. It was designed as a blog/templating system, written in Perl. It wasn't designed as a good programming language because it wasn't designed as a programming language at all.

When people starting using it as if it were a programming language, they started adding programming-like functions, but skipped the design step. That resulted in things like cat_walk() and dog_walk(), but personWalk(). ( Perl would just have walk(). )

An exerpt from the PHP documentation is illustrative:
Quote:

I don?t see the point, especially for something like PHP where most of the scripts will be rather simple and in most cases written by non-programmers who want a language with a basic logical syntax that doesn?t have too high a learning curve.
Lerdorf was trying to make a simplified system for non-programmers to create non-programs, without having to learn much if anything. He suceeded, big time. Thousands of non-programmers create all kinds of stuff in PHP without learning anything first. That's great for them. The only problem is some people BUY these piles of PHP written by the clueless, thinking they are getting actual software. They then expose this non-program written by non-programmers publicly on the web, a delight to all the crackers. Oops.

Dejan 05-01-2012 10:43 AM

PHP with jquery works just fine...

ravo 05-01-2012 12:07 PM

perl, FTW.

Oh, and I'm loving using jquery for front-end stuff.

d-null 05-01-2012 12:17 PM


u-Bob 05-01-2012 12:22 PM

Quote:

Originally Posted by d-null (Post 18919158)

perl you learn because you want to get the job done no matter what the job is.

mafia_man 05-01-2012 01:13 PM

Quote:

Originally Posted by ravo (Post 18919142)
perl, FTW.

Oh, and I'm loving using jquery for front-end stuff.

The thing about jQuery is that it should be built straight into the DOM.

Klen 05-01-2012 01:26 PM

Quote:

Originally Posted by u-Bob (Post 18919170)
perl you learn because you want to get the job done no matter what the job is.

Actually,when i encounter something on php what i cant do,then i call perl or other language script over exec :upsidedow .So no need to fully code in perl :)

asdasd 05-01-2012 01:28 PM

Compiled EMCA.

brentbacardi 05-01-2012 08:08 PM

well I only know html, css and php all self taught mind you and I build some cool ass shit! so blah... thinking about ruby/rails though but its not on w3schools and their shit is soooo easy to follow.

Brujah 05-01-2012 08:38 PM

Quote:

Originally Posted by brentbacardi (Post 18919828)
well I only know html, css and php all self taught mind you and I build some cool ass shit! so blah... thinking about ruby/rails though but its not on w3schools and their shit is soooo easy to follow.

This was fun to go through.
http://railsforzombies.org/

rowan 05-01-2012 09:10 PM

I still use PHP for the majority of my websites, although I've recently started using C for non realtime / backend stuff.

Over the past few months I recoded an application that needed 400 different PHP processes consuming a total of about 2GB of RAM, into a single internally threaded C app that consumes <100MB. Internet bandwidth is now the limiting factor, rather than RAM and CPU utilisation.

brentbacardi 05-01-2012 09:28 PM

Quote:

Originally Posted by Brujah (Post 18919857)
This was fun to go through.
http://railsforzombies.org/

Should I learn rails or ruby first? how does that work?

Babaganoosh 05-01-2012 09:57 PM

Quote:

Originally Posted by brentbacardi (Post 18919902)
Should I learn rails or ruby first? how does that work?

Rails is a Ruby framework. You should know at least some Ruby before diving into a Ruby framework.

Brujah 05-01-2012 10:06 PM

Quote:

Originally Posted by brentbacardi (Post 18919902)
Should I learn rails or ruby first? how does that work?

It's been awhile but if I remember you pickup some ruby skills with that before it does anything with rails. I might be confusing it with something else.


All times are GMT -7. The time now is 03:51 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123