I've got a question

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
MrPotatoes
Forum Regular
Posts: 617
Joined: Wed May 24, 2006 6:42 am

I've got a question

Post by MrPotatoes »

PHP is completely serverside and no real client side.

why is there no javascript type thing compiled as an extension into PHP so you can do client side things such as dragging/dropping and all that cute crap? you can build a site in Java and do this (it does have to load tho :( ) and i'm assuming you can do this inC# and ASP.NET as well with thier functions

if that is the case then why not do that? why isn't it in there? is javascript something too hard to get eh source for and redo it within PHP? or PHP can have ti's own made as well. PHP is written in C

i dunno, i just thought that this should have been in there from the start *shurg*
User avatar
CoderGoblin
DevNet Resident
Posts: 1425
Joined: Tue Mar 16, 2004 10:03 am
Location: Aachen, Germany

Post by CoderGoblin »

You have to look at what PHP history is as well as what it is designed to do. [url=http://de2.php.net/history]History

I for one am perfectly happy with what PHP does. It provides a simple/quick to develop scripting language to provide a "baseline" web page which I can customise as I want without the user having to do anything such as downloading a plug-in for a simple text page. If necessary I can build in addional functionality utilising other standards such as javascript but this is not a requirement.
User avatar
MrPotatoes
Forum Regular
Posts: 617
Joined: Wed May 24, 2006 6:42 am

Post by MrPotatoes »

CoderGoblin wrote:You have to look at what PHP history is as well as what it is designed to do. [url=http://de2.php.net/history]History

I for one am perfectly happy with what PHP does. It provides a simple/quick to develop scripting language to provide a "baseline" web page which I can customise as I want without the user having to do anything such as downloading a plug-in for a simple text page. If necessary I can build in addional functionality utilising other standards such as javascript but this is not a requirement.
with all the extensions that it has come preinstalled i think that saying it's simple is far from the truth

hey, if i want that type of system i can always do it myself right?

i'm just wondering tho
User avatar
panic!
Forum Regular
Posts: 516
Joined: Mon Jul 31, 2006 7:59 am
Location: Brighton, UK

Post by panic! »

Arrrrghhhh.
you can build a site in Java and do this
I think you're getting JSP and Java applets confused.

a) JSP can't do this

b) Java applets don't make drag and drop JavaScript.

c) An entire website in Java would be s**t...

To be fair there are loads of great JS frameworks out there...Use them. The Rails frame work might do this kinda stuff, but do you really want to learn an entire language AND framework or just learn JS which you'll need to know anyway if you're serious about becoming a web developer (assuming you're not, sorry if I'm making crappy assumtions!).

I really hate mixing and matching server and client side stuff like this...what if the framework's JS's become out of date or are incompatible with browsers (which I'm sure they invariably would be)

In short there are so many reasons to just do it yourself!

This all said I have a few classes for making forms etc.

If it's what you really want to do good luck! :)
User avatar
daedalus__
DevNet Resident
Posts: 1925
Joined: Thu Feb 09, 2006 4:52 pm

Post by daedalus__ »

I'd help, if I knew C, that is.
Post Reply