
![]() |
nutballs
I know there will be a lot of opinions on this, mostly leaning towards
PHP, but I gotta talk out loud with a group that is better able to give a response than my wife... lolI am a traditional ASPguy, however, being thatASPreached end of life cycle 4 years ago or more at this point, I am trying to decide on a new direction. For the most part, I don't really like coding anymore which is why I haven't bothered with a new language, but I do like the development process. Unfortunately coding is my lot in life at the moment, especially for my own projects/inventions. so... New language time.Here is my list from a C# ASP.netpoint of view compared toPHP.+Pays more if i need to become a working stiff. At least in AZ and most jobs I have researched. +Higher probability of enterprise level projects. +slightly higher acceptance by PHBs as a "real" language, because its microsoft. +tiny mind shift to do compiled apps -good user base and public support, but phpis better i think by a bit.+more "pros" i think. PHPseems to have an enormous number of 'hacks' that make everyone look bad.+I know windows. I know it well. I am very well versed in security of it. -windows patches and security issues -more expensive servers +fishing awesome IDE in my opinion, and 2008 is better. but you don't have to use an IDE (masochist) -expensive IDE (or it is supposed to be, if you get my drift) -I dont know about php, butasp.nethas a huge set of objects build in. and the DOT notations get retardedly long. So much so that because of that alone, I am considering a shift. But i am guessingPHPhas the same problem.-the IDE. although its awesome, it can do so much for you that you lose a bit of control. Gridview is an example. Though again, you don't have to use any of the built in stuff. +postbacks are handled virtually invisibly. -postback data collisions in more complex multi-page apps. Thats what I have for now. I would be interested to hear intelligent reasons why to go PHPor more of why to continue with.NET. It really boils down to longevity of the language, which Im sure they both will have, and MONEY. Money really is it. Though ease of development is important currently for my own projects, earning potential is very important as not only a current earner as a contractor/consultant, but also for the future in case shit goes downhill and I need a job.perkiset
Hey NBs -
As an ex-compiled language guy I'd like the opportunity to be the PHPadvocate. Perhaps we could get together and I can show you first hand the way I have it all, since I'm pretty damn optimized - prolly akin to the way you'd want things.Gotta run right now, I'll contact later. /p m0nkeymafia
Personally im a
PHPboy [and I bum C++ and the new orcas IDE - yes it bloody well rocks]i could very easily learnc# to the point that i knowphpin about a week [given my background etc] however i dont, i likephp, its nice, it makes me feel warm.i cant really comment on the pros and cons between the two languages, but like c# with .netall i think about is bloat...and from what ive done inaspalthough a lot is done for you, some thing are more complicated.but considering your a bh boy id suggest phpis the way to go if for no other reason than the fact perk uses it [lol] no seriously there are tons of guys, on here and everywhere else, who can help, or who have had the same problem as you [will run into] and they usephp, and youll get community supporti'd take a few days to play with each one see how you feel...then keep playing with what you like until youve found which one your gonna use! perkiset
After our phone call I decided that I'd like to write a quick synopisis here so that others can see my points. I don't have it at the moment - I'll probably write it tonight... but my point will not be to talk about why
PHPis better, but moreso why I thinkPHPis better for *you* and what it's strengths are. I'd really love to hear fromASPfolks who will posit from the same place - we don't need another religeous language war, but a real discussion of strengths.I'll weigh in later. /p arms
neither would be my personal choice so maybe i can give less biased advice.
you already know aspand windows and you don't like coding anymore.go with c#. the ide will generate half the code for you and the code completion makes the rest faster. the auto generated code will be bloated but what you write doesn't have to be unless your an oop nazi and you care about fancy design patterns. with php's new oo feautures it isjust as verbose as c# or java. the only benefit to phpis everyone here and everywhere else uses it.edit: also whats up with the $ and -> syntax? is all that shift keying necessary? nutballs
lol arms. I was talking to perk about that shift key crap as well.
response.write is far better than response->write $ is for vars right? GHEY. though then again, in .netsomething.something.something.morethings.20things.response.write IS GHEYER After talking to Perk a bit, its actually not about the language. C# phpaspwhocares. just syntax. The questions was more about methodology. Ironically, we are reverse copies it sounds like. I have bee doing loosely structuredprogrammingin a procedural methodology. He was doing OOP. He then changed to a procedural methodology, though obviously kept ALOT of the OOPaspects. I was now thinking of switching to OOP. Since.netrequires everything to be in a class, it would make sense. However, I realized this might be dumb for me, since I really can stand the idea of having to instantiate an object just so I convert an IP to an INT as an example. Thats stupid. I just want a global function that i can call when I need it. I know the argument could be to make a helper class that contains my functions, and always instantiate it in a page that uses any of those functions, but that also seems stupid.I had decided to go with .NETa few weeks ago, but when I started digging into it, I noticed a few problems.The biggest one, which I didnt realize fully until talking it out with perk is the ability to add functionality to an existing website. With .NETyou cant just drop in a little data collection form into an existing HTML page. You can withASPorPHP. Since I do classicASPwhich fully embraces intermingling of code and HTML,PHPmight be the ideal choice since that would make be ambidextrous across either environment. If its a windows box, out of my control,ASP. if its alinuxbox,PHP. Both using the same development methodology which I have been doing for many years now.So i think I am going to take a stab at PHP. really its just a context issue for me, and then figuring out what libraries/objects/components/whatever is standard to make life easier. I'm going to try to use classes for as much as I can, because thats how I work anyway.nutballs
So how do i start?
![]() perkiset
Ring ring...
arms
quote author=nutballs link=topic=498.msg3217#msg3217 date=1189462927 though then again, in .netsomething.something.something.morethings.20things.response.write IS GHEYER you forgot: ObjectFactoryFactory objectFactoryFactory = ObjectFactoryFactoryFactory.createObjectFactory(SystemConfigurationFactory.createSystemConfiguration().getDefaultObjectFactoryFactorySettings()); m0nkeymafia
I write in C++ 8 hours a day, and I never use the IDE autocomplete or anything like that, at the end of the day im better than the IDE so can work faster without it autocompleting my functions etc [plus MS cant get intellisense to work pro
perly]either way its down to you nutballs, there are plenty of IDE's for phptoo |

Thread Categories

![]() |
![]() |
Best of The Cache Home |
![]() |
![]() |
Search The Cache |
- Ajax
- Apache & mod_rewrite
- BlackHat SEO & Web Stuff
- C/++/#, Pascal etc.
- Database Stuff
- General & Non-Technical Discussion
- General programming, learning to code
- Javascript Discussions & Code
- Linux Related
- Mac, iPhone & OS-X Stuff
- Miscellaneous
- MS Windows Related
- PERL & Python Related
- PHP: Questions & Discussion
- PHP: Techniques, Classes & Examples
- Regular Expressions
- Uncategorized Threads