Is php necessary?
Page 1 of 114 Replies - 1423 Views - Last Post: 07 January 2012 - 12:38 AM
#1
Is php necessary?
Posted 30 December 2011 - 06:44 PM
Replies To: Is php necessary?
#2
Re: Is php necessary?
Posted 30 December 2011 - 06:54 PM

POPULAR
HTML5 is nothing to do with Javascript.
Javascript is nothing to do with CSS.
They are all completely independant technologies and used for completely different applications from everything. They *can* work together, but don't have to.
Of course PHP is still 'relevant' in web development as a whole and HTML5/JS/CSS is not a replacement for what PHP (or related) is.
#3
Re: Is php necessary?
Posted 30 December 2011 - 07:07 PM
sorry...here is the correct question
is ther something that php can do that the combination of the other 3 wont?
#4
Re: Is php necessary?
Posted 30 December 2011 - 07:13 PM
#5
Re: Is php necessary?
Posted 30 December 2011 - 07:24 PM
modi123_1, on 30 December 2011 - 07:13 PM, said:
Yeah, that's why I started to learn PHP, because of the dynamic pages. The reason for my question is that recently i visited the Mozila Developer Network website and they said nothing of php, apparently, according to them Javascript is the future, they even talked about serverside-javascript, i dont get it where is the love for php. Are they purposely trying to push it out of the way and make people use javascript.
#6
Re: Is php necessary?
Posted 30 December 2011 - 07:31 PM
#7
Re: Is php necessary?
Posted 30 December 2011 - 07:48 PM
The way browsing works is that the user sends a request to the server. If there is a server-side script present (like a PHP Script, ASP.NET, ColdFusion, etc.), that server-side technology is processed first and returns the result to the browser. The browser then displays what the server sends it (HTML/CSS/Javascript). You would use PHP for things like connecting to a database, File I/O on the server-side, sockets and networking, etc. Javascript is more applicable for things like drop-downs, popup windows, client-side form validation, etc.
Quote
When people refer to Javascript and standards, it is usually in comparison to other technologies like Flash. Node.js is a new server-side JS technology. At this point, PHP really isn't going anywhere. It is one common option for server-side development, though not the only one.
Also, I'm going to move this to Web Development for better discussion.
#8
Re: Is php necessary?
Posted 31 December 2011 - 04:19 AM

POPULAR
RudiVisser, on 30 December 2011 - 09:54 PM, said:
Javascript is nothing to do with CSS.
Yes and no. Technically, this is correct. However, whenever you hear someone gushing over HTML5 capabilities, they're invariably lumping Javascript in there. You don't technically need CSS at all, depending on whether you consider the style attribute to be part of it...
PHP? Let's be more general. How about "server side support." The language used on the server side really doesn't matter. It could be PHP, or perl, or Java, or a batch file. Without such support, your site is just a collection of web pages. That might be fine. However, if you want someone to "login" to that site, then you've already defined a requirement for server side support.
#9
Re: Is php necessary?
Posted 31 December 2011 - 06:22 AM
baavgai, on 31 December 2011 - 11:19 AM, said:
Yeah, that's highly irritating isn't it
"HTML5 can do geolocation!"
Riiiiiiiiiiiiiiiiight, well HTML4 can do jQuery
Quote
I wouldn't spend too much time reading into that rubbish, you should figure out what you need to achieve in your projects and decide what is the best technology from there on.
Server Side Javascript is going to primarily refer to node.js as previously mentioned, which in my opinion won't really go anywhere fast. I'm not saying it's not a great technology, but the great server side gods like PHP and ASP.NET (and JSP/ColdFusion and whatever other rubbish is out there
Put it this way, you're not going to be wasting your time if you learned PHP.
#10
Re: Is php necessary?
Posted 31 December 2011 - 12:59 PM
Node.js is the only exception, and it's not really even an exception. It's being interpreted and executed by a C runtime.
Anyway, my point is that you should feel free to learn any server-side language you want, because the concept of server pages is going nowhere. They'll adapt to be able to work better with HTML 5, and some already have. ASP.NET MVC 3 has a toggle to use HTML 5 syntax. Since server pages are converted and streamed as HTML, it's no stretch of the imagination that they'll soon be capable of being converted into HTML 5 compliant syntax.
#11
Re: Is php necessary?
Posted 31 December 2011 - 03:05 PM
Curtis Rutland, on 31 December 2011 - 03:59 PM, said:
Soon? I would think that's up to each individual server script. If it outputs W3C compliant HTML5 then it's HTML5 compliant, no?
#12
Re: Is php necessary?
Posted 01 January 2012 - 01:07 AM
#13
Re: Is php necessary?
Posted 01 January 2012 - 04:15 AM
Curtis Rutland, on 01 January 2012 - 04:07 AM, said:
If it makes you feel better, I knew what you meant.
One of the big things with HTML5 is the canvas. What's old is new again. You can just doodle on your little drawable control. What I'm surprised I haven't seen is a basic widget set for it, yet. You can, in effect, make your own internal GUI with Windows etc, if you just have the tools.
#14
Re: Is php necessary?
Posted 06 January 2012 - 11:14 PM
drklnk, on 30 December 2011 - 06:44 PM, said:
Not really. P.H.P is has nothing to do with HTML5, HTML5 has nothing to do with CSS, CSS Has Nothing to do with Javascript and javascript has nothing to do with any of the 4.
so PHP can't do the combination of the other 3.
#15
Re: Is php necessary?
Posted 07 January 2012 - 12:38 AM
|
|

New Topic/Question
Reply



MultiQuote







|