Quote below from this post:
Thanks for that info David. (I've broken this discussion off to create a new thread so I can ask more questions without going to far out on a tangent in the other thread.)
I've been a little worried about Java b/c of the browser issues, but then I wonder whether that worry is misplaced because every site that I've looked at for ideas on how to implement my own site has extensive Java script! (And I've looked at a lot!) Plus, it seems that both ImageReady and Dreamweaver automatically put out Java scripts for such things as rollovers, etc. That allows me to just tweak the code that's created rather than have to start from scratch. I know enough about programming languages to figure out what's going on and copy syntax without having to actually learn a whole new language.
So, can PHP code create rollover effects like Java? Can it do basically anything Java can - without the browser imcompatibility issues? I guess most importantly, can it be worked in "after the fact"? Meaning, if I design my website using Java now (the path of least resistance a the moment) and decide later that I would prefer it to be implemented with PHP, can I work that in or would it necessitate me starting from scratch with my web design?
Sorry for all of these questions.
Jeanie
Originally posted by d_kendal
the advantage to PHP (and the reason I'm learning it before I get into Javascript much) is that it's a server side language meaning that all the scripts you write run on the server then display as an HTML page for any browser eliminating the possibility of browser compatibility (which can definitely be a problem with java, the menu bar here is an example, a lot of people had problems with it, but as long as people keep their browsers updated it's generally not a problem) the other advantage to it is that your code is kept hidden since it only runs on the server and your page is output in HTML, where with javascript, your code is right there to anybody who decides to do a "View source". ASP is the same idea, but I prefer to go with the open source stuff and from what I've seen and learned so far, I like PHP better anyway.
the advantage to PHP (and the reason I'm learning it before I get into Javascript much) is that it's a server side language meaning that all the scripts you write run on the server then display as an HTML page for any browser eliminating the possibility of browser compatibility (which can definitely be a problem with java, the menu bar here is an example, a lot of people had problems with it, but as long as people keep their browsers updated it's generally not a problem) the other advantage to it is that your code is kept hidden since it only runs on the server and your page is output in HTML, where with javascript, your code is right there to anybody who decides to do a "View source". ASP is the same idea, but I prefer to go with the open source stuff and from what I've seen and learned so far, I like PHP better anyway.
I've been a little worried about Java b/c of the browser issues, but then I wonder whether that worry is misplaced because every site that I've looked at for ideas on how to implement my own site has extensive Java script! (And I've looked at a lot!) Plus, it seems that both ImageReady and Dreamweaver automatically put out Java scripts for such things as rollovers, etc. That allows me to just tweak the code that's created rather than have to start from scratch. I know enough about programming languages to figure out what's going on and copy syntax without having to actually learn a whole new language.
So, can PHP code create rollover effects like Java? Can it do basically anything Java can - without the browser imcompatibility issues? I guess most importantly, can it be worked in "after the fact"? Meaning, if I design my website using Java now (the path of least resistance a the moment) and decide later that I would prefer it to be implemented with PHP, can I work that in or would it necessitate me starting from scratch with my web design?
Sorry for all of these questions.
Jeanie
Comment