nate wrote: > Not only does this lend itself to the unreadable, > non-standards-compliant coding horrors of other such editors (ahem, > Dreamweaver), but it also insulates the developer from the hard > realities of implementation which are specific to web development. It
I definitely take contention of mentioning DW as lending itself to unreadable non-standards-compliant coding horrors. Macromedia, er, Adobe, has made considerable effort to have DW be a competent tool for the standards-savvy developer. There are a number of tutorials on the Adobe site that also educates users on how to accomplish this. > while the page maintains state with > a giant serialized value in a hidden field, which gets sent back to the > server on each request. I agree that the view state approach is silly. Store too much info and this can get out of hand quickly. > Now, I could go on forever about the dumb things that the .NET > environment foists on it's developers, but I'd rather sum up with a > code example. Everyone knows you can send and email in PHP with one > short, simple line of code, using the mail function. > > Here is one short example of doing something equivalent in .NET (notice > how the Framework tries to be like Java with the package-style > organization of imports): > http://planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=1879&lngWId=10 Unfortunately, that's not a fair comparison. A quick email could be done just as quickly in .NET: SmtpClient.Send("from", "to", "subject", "body"); .NET may not be everybody's cup of tea but it's a solid language that definitely has similarities with Java. It's just a different approach than the one that PHP takes. (and I'm sure we can all mention our annoyances with PHP and its syntax. How I long for dropping $ and replacing -> with . ... and why do half the string functions start with str and the other half with str_) JavaScript is probably my favourite language to program in, at the moment. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~----------~----~----~----~------~----~------~--~---
