yeah… client side and serverside are two completely different worlds… I dont think there’s a language out there that can do both.
For example… javascript. I sometimes have to do some back end stuff in javascript (cause here we’re still doing stuff with the crappy NS Enterprise server), and it’s not regular javascript… it’s Server Side javascript… an entirely different animal.
See… a client computer and a server do different things… that’s why their languages are different. I ‘think’ you can do some clientside stuff using VBscript, but even then, the commands are different.
Kiti’,
“PHP is good for Tagboxes, email forms etc, although a little more difficult to learn than CF”
is that true? I found PHP to by quite easy, looks a lot like AS…how can CF by easier?
Anyway, almost all hosts now offer PHP support, some even for free, and if you want CF, you gotta search and pay! no?
But: CF is Macromedia, so I guess they’ll always favor it over free alternatives, it’s native to remoting and stuff…is it worth getting into?
If all you want is Flash + some PHP for mailforms, forums, chats, all these apps that need to store stuff server-side and / or interact with databases, I’d recommend getting “Foundation PHP for Flash” from friends of ED, be quick though coz their out of business since a week or so, don’t even know if the book’s still available…it’s what got me started with php, nice way to learn to integrate the server-side with Flash…also check www.flash-db.com and www.sephiroth.it for some nice examples…
Kiti’,
“PHP is good for Tagboxes, email forms etc, although a little more difficult to learn than CF”
is that true? I found PHP to by quite easy, looks a lot like AS…how can CF by easier?
I guess this is just my opinion. Personally I found ColdFusion easy to pick up. I think it might be easier to get started with than PHP, but again that’s a subjective viewpoint.
When you compare CF to JavaScript and Perl, that’s when you really notice the difference. There’s a function on the Churchill site written in JS to get the date. It looks like this:
whoops… why did I say PHP?
I woke up 2 minutes ago… haha. But wow, that’s a long function…
that’s one thing I like about VBscript… you can just say:
Response.Write (Now)
Probably because that’s the format thing I used on it.
And you don’t even want to ask how much the company paid for that bit of code. Soon as I saw it I thought “hang on a minute”. But it does what it’s supposed to so they didn’t care. Then you see the PHP / CF equivalent and begin to wonder.
Aren’t there numerous free scripts on the net that anybody could have found for free and installed to display the date? I think 2000 (about $3500+ USD) is quite a large sum to pay for that.
It’s so picky… Having to put an extension on to the date… Just adds code. And an array of months… Surely you can get this from the server. But would they listen? Noooo… :sigh:
And you’re right, £2000 is a horrendous sum of money to pay for just those few lines of code. I can’t believe they fell for it.