What language should I learn? |
This is a discussion on What language should I learn? within the PHP forums, part of the Development category; if( php =first) { echo "all is well"; } hehe... |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #11 |
| Member Join Date: Jun 2009 Location: Bali
Posts: 32
Thanks: 0
Thanked 2 Times in 2 Posts
![]() Expertise: (X)HTML / CSS Experience: Professional |
if(php=first) { echo "all is well"; } hehe |
| | |
| | #12 |
| Member Join Date: Dec 2008 Location: Hatfield, UK
Posts: 170
Thanks: 1
Thanked 8 Times in 8 Posts
![]() Expertise: PHP Experience: Professional | Your syntax is incorrect, the above will always return true. Should have a double equal sign ![]() Also to avoid the parse error php should be a variable and first should be a string. Code: if ($php == 'first')
{
echo "all is well!";
}
Code: if ($php == 'first') echo "all is well!"; I need to get out more lol |
| | |
| | #13 |
![]() Join Date: May 2009
Posts: 153
Thanks: 0
Thanked 8 Times in 8 Posts
![]() ![]() ![]() Expertise: PHP Experience: Professional |
correcting Pseudocode!!! sheesh...
__________________ Do you want me to teach you PHP? |
| | |
| | #14 |
| Member Join Date: Dec 2008 Location: Hatfield, UK
Posts: 170
Thanks: 1
Thanked 8 Times in 8 Posts
![]() Expertise: PHP Experience: Professional | lol, it is a php forum . On a more serious note, this is what happens when I start avoiding work... 5 things left to do today. Motivation gone, might as well mutter pointlessly on a forum till motivation returns.Back on topic, I don't think anyone asked what this person wanted to be. If they wanted to be a front end UI developer or something similar then PHP would be the wrong way to go. Instead they should go with JavaScript and just learn enough PHP to get by. After all, with so many good content management systems with thousands of a plugins, a web designer may never need to write a line of php code. |
| | |
| | #15 |
![]() Join Date: Jan 2009 Location: Your Imagination
Posts: 729
Blog Entries: 4 Thanks: 1
Thanked 27 Times in 26 Posts
![]() ![]() ![]() Expertise: PHP Experience: Professional |
Small correction to your PHP Jason, its good habit to always put in the brackets, even if you don't need them, because sometimes you forget to put them back in when you do need them.
__________________ Panthr - Web Design and Development |
| | |
| | #16 |
| Junior Member Join Date: Jul 2009 Location: Corfu (Greece) & London (UK)
Posts: 24
Thanks: 5
Thanked 1 Time in 1 Post
![]() Expertise: (X)HTML / CSS Experience: Intermediate |
Okay guys, to bring this back on topic, what about Ruby? Do you see any of its frameworks (Rails, Nitro, etc) replacing PHP?
|
| | |
| | #17 |
![]() Join Date: Jan 2009 Location: Your Imagination
Posts: 729
Blog Entries: 4 Thanks: 1
Thanked 27 Times in 26 Posts
![]() ![]() ![]() Expertise: PHP Experience: Professional |
I've learned a bit of Ruby on Rails, and it was a pretty good experience. Many more coding shortcuts than PHP. Only problem is, Ruby was never meant to be used online. So without the framework, Ruby is nothing. In other words, you can't choose not to use a framework, which sometimes you need to do. (Especially with smaller projects, sometimes you just don't want to bother with a framework.
__________________ Panthr - Web Design and Development |
| | |
| | #18 | |
| Member Join Date: Jun 2009 Location: Bali
Posts: 32
Thanks: 0
Thanked 2 Times in 2 Posts
![]() Expertise: (X)HTML / CSS Experience: Professional | Quote:
| |
| | |
| | #19 | |
![]() Join Date: May 2009
Posts: 153
Thanks: 0
Thanked 8 Times in 8 Posts
![]() ![]() ![]() Expertise: PHP Experience: Professional | Quote:
__________________ Do you want me to teach you PHP? | |
| | |
| | #20 |
| Member Join Date: Dec 2008 Location: Hatfield, UK
Posts: 170
Thanks: 1
Thanked 8 Times in 8 Posts
![]() Expertise: PHP Experience: Professional | Assuming that you are in a design based role at a web design agency you will often be expected to be familiar with PHP but you will not be expected to write anything. Ofcourse without knowing what the person wants to get into the discussion is irrelevant really. If they want to be a jack of all trades freelancer then PHP is the way to go. If they want to become a developer then go on reed or a similar job agency website and look at the required skills. Ruby is awesome, for that matter so is Django, the pay is better as demand still outstrips supply in the market at the moment. Anyone can learn anything. If you are looking to get into Government or corporate environments then you may want to look into ASP/.net. If you want to be on the cutting edge of web development then you may want to check out Ruby/Django If you want to be a good developer with a skill set that can be applied to almost any type of project, go with PHP. |
| | |
![]() |
| Tags |
| language, learn |
| Thread Tools | |
| Display Modes | |