PDA

View Full Version : سوال درباره مزیت های asp در مقال php



r4hgozar
سه شنبه 17 اردیبهشت 1392, 11:02 صبح
دوستان سلام.
من قبلا c# کار می کردم اما زیاد حرفه ای حرفه ای نبودم. در حد نوشتن یه برنامه مشاور املاک ساده و یه کتاب خونه و چیزای ساده مثل این.
اما الان به دلایل شغلی مجبورم الان طراحی صفحات وب رو یاد بگیرم.
حقیقتش خیلی سعی کردم به این نتیجه برسم که asp بخونم یا PHP اما به نتیجه ای نرسیدم.
اینجا تالار asp و پرسیدن این سوال شاید جوابش تو این تالار زیاد درست نباشه. اما دوست دارم دوستان تجربه هاشون رو اینجا ذکر کنن.و ممنون میشم من رو راهنمایی کنند.


موفق باشید

tree1371
سه شنبه 17 اردیبهشت 1392, 11:09 صبح
هدفت چیه ؟ ! دوتاشون عای هستن اما هدف مشخص می کنه کدوم یکی ؟!

r4hgozar
سه شنبه 17 اردیبهشت 1392, 16:05 عصر
هدفت چیه ؟ ! دوتاشون عای هستن اما هدف مشخص می کنه کدوم یکی ؟!

خوب دوست عریز من هم می خوام بدونم هر کدوم برای چه کار هایی بهتره. و چی واسه چیه!!

meisam3322
سه شنبه 17 اردیبهشت 1392, 16:52 عصر
خوب دوست عریز من هم می خوام بدونم هر کدوم برای چه کار هایی بهتره. و چی واسه چیه!!

چندین بار این سوالات مطرح شده و به هیچ جوابی نرسیده (سرانجام نداشته جز دعوا و جدال بین دوستان) ...
هر دو برای طراحی وب سایتن. جواب سوال شما آنقدر وسیع هست که بهتره خودتون در وب سایت های مختلف جستجو کنین (http://www.google.co.uk/#q=what+is+difference+between+aspx+net+and+php+tec hnically&spell=1&sa=X&ei=CvqIUd61NaXL4ATo34G4DA&ved=0CCoQBSgA&bav=on.2,or.r_qf.&bvm=bv.45960087,d.d2k&fp=42ed0f4dae2a3762&biw=1360&bih=665) و جوابتون رو پیدا کنین. من با هر دو شون کار میکنم. بیشتر از asp.net لذت میبرم.

موفق باشید

meisam3322
سه شنبه 17 اردیبهشت 1392, 16:53 عصر
ASP and PHP are similar in that both tend to put their code in with the HTML, and so the logic can be quite similar.
But, ASP.NET will be very different from PHP in design, as there is a strong incentive to use code-behind in ASP.NET, where you basically have the html template and all the code is in another separate file
Depending on what you are doing, how busy your site is, you may find that the speed difference is inconsequential, though one is compiled and the other isn't.
PHP is probably going to be faster to develop, as you can more easily code a little and test, than you can with ASP.NET, but ASP and PHP are similar in how you can develop.
If you don't know any of these languages then PHP may be the easier one to learn, as the php manual is so well written, with lots of comments from users, and ASP.NET has replaced ASP, so learning ASP for a new project, IMO, is of limited use.
If you go with ASP.NET then you are learning a new syntax and one of the .NET languages, but depending on your background, C# may be relatively easy to learn.
With ASP or ASP.NET you are stuck with using IIS for your server, but with PHP you can use IIS or Apache, so there is considerable flexibility there.
With ASP.NET you will find more options to help with code development, as they now have the classic ASP.NET and ASP.NET MVC (http://www.asp.net/%28S%28d35rmemuuono1wvm1gsp2n45%29%29/mvc/), both with pros and cons, but I believe this site is still written in the latter.
So, which would be better depends on what you are going to be doing with it, and what languages or frameworks you have already gained experience with.

meisam3322
سه شنبه 17 اردیبهشت 1392, 16:59 عصر
اینجا رو هم نگاه کن ، خیلی جالبه (http://msdn.microsoft.com/en-us/library/aa479002.aspx)

r4hgozar
سه شنبه 17 اردیبهشت 1392, 18:34 عصر
اینجا رو هم نگاه کن ، خیلی جالبه (http://msdn.microsoft.com/en-us/library/aa479002.aspx)

ممنون دوست عزیز. اما به خدا قصد من دعوا نیست. من تو 2 راهی قرار گرفتم و نمی دونم چی کار کنم

ahmad156
سه شنبه 17 اردیبهشت 1392, 18:50 عصر
دوست عزیز قبلا در مورد سوال شما خیلی خیلی بحث شده توسط اساتید بزرگ تو همین سایت و به هیچ نتیجه ای هم نرسیدن!!!میتونین یه جستجو بزنین همه پست ها رو ببینین.