PDA

نسخه کامل مشاهده نسخه کامل : ASP.NET یا PHP



BEBETO1
19-07-2014, 19:41
با سلام
من برنامه نویسی در حد مبتدی بلد هستم

یک دوره طراحی صفخات وب که شامل HTML-CSS-JAVA وJQUERY بود گزراندم

الان میخوام به صورت حرفه ای کار کنم؟؟
بنظر شما PHP برم یا ASP

Sh-Meteor
19-07-2014, 20:37
سلام منم همین سوالو می خواستم بپرسم...
لطفا دوستان بیان کمک کنن!
.
البته من فعلا Html ، CSS و یه کمی هم JavaScript بلدم،
Jquery و Java بلد نیستم.
.
.
.
می تونم بدون اینا هم PHP یا ASP رو شروع کنم؟

hamedarian2009
19-07-2014, 21:00
سلام
برای یادگیری زبان سمت سرور حالا asp.net یا php فرقی نداره باید html و css رو بلد باشین و حالا جاوااسکریپت یا جی کوئری اگه بلد هم نباشین مشکلی نداره اما خب خیلی کاربردی هستن و پیشنهاد میشه بلد باشین
جاوا اما یک زبان مستقل دیگر هست و نیازی به یادگیریش ندارین چون زیاد تو ایران هم ازش برای وب استفاده نمیشه

مقایسه این دو توی نت زیاد انجام شده ولی در کل php قدرتش بر asp.net می چربه



PHP
ASP


Producer
Open Source
Microsoft


Server Platform
Unix, Linux, Windows
Windows only


Speed of writing

PHP has a much wider range of built in functions, and a less verbose syntax, making it a much quicker language for development. Other features of PHP also greatly simplify and speed up project development:


[*=left]type conversion - PHP converts types automatically
[*=left]Form, session and cookie variables are available to use straight away on the page


ASP has a much tighter error checker than PHP's default. This means that error reports are more common in ASP. This is also a positive when you are learning as, unlike PHP, ASP will not allow you to get away with sloppy code.


Flexibility
PHP seems to be the more flexibile language. Its open source nature means that anyone can add features as they come across the need
ASP is a very rigid language - what might be efficient methodologies in PHP are completely unworkable in ASP. (ie the absence of associative arrays)


Reliability
In themselves, both languages could be said to be equally reliable. However, as PHP will run on Linux and Unix, and ASP is bound to windows, the reliability of linux and unix count in the favour of PHP.


Speed of execution
PHP seems faster - I am looking for resources to quantify this. Anyone?


Ease of Learning
PHP is a much friendlier. Additionaly, there are more high quality online resources to help you.
ASPs more rigid structure and longhanded ways of doing things may be intimidating to the beginner.


Derived from
PHP syntax is derived from C++‎
ASP syntax is derived from VB


Stupid Gotchas
PHP's gotchas are limited to idiosyncracies. PHP is a well thought through language.
In an effort to debunk well established programming languages (such as C++‎), and monopolise standards, ASP insists on doing things their way. For the programmer, this means many wasted hours spent debugging code, before you think to wonder if, for example, calling a function from within a loop might exit the loop. I mean why? Who thought of that? Did they think they were being clever or did they just have a cruel sense of humour? There are many more gotcha's besides. Grrrrr!!!

hamid_diablo
19-07-2014, 22:45
دوستان منم یه سوال داشتم.به نظرتون Javascrip بهتره یا Jquery ???

Thor God
20-07-2014, 00:10
به صاحب تاپیک : هر دو زبان مزایا و معایب خودشون رو دارند، دلیل محبوب بودن php هم رایگان و متن باز بودنشه + خرج asp.net در خارج از ایران بالا تره.
زبان مهم نیست، مهم اینکه که برنامه نویس حرفه ای باشه.


دوستان منم یه سوال داشتم.به نظرتون Javascrip بهتره یا Jquery ???

برای سوالاتون تاپیک جدا بزنید
جهته اینکه بی جواب نمونید : jQuery یک کتابخانه جاوا اسکریپت هست. امکان مقایسه این دو وجود نداره. اما برای یک طراحی حرفه ای همون jQuery کافیه.

موفق باشید.

kian98
20-07-2014, 08:34
درود

درکل که بیشتر سایت های بزرگ و کوچک و تقریبا همه سیستم های مدیریت محتوا با php ساخته شده اند.
به نظر من php امروزه بیشتر مورد استفاده هست.
مهم این هست که به یکی از این زبان ها تسلط داشته باشید. در کل هردو زبان یک کار رو می تونند بکنند.

در حال حاضر jQuery برای طراحی بیشتر پیشنهاد میشه.

باتشکر