Our server costs ~$56 per month to run. Please consider donating or becoming a Patron to help keep the site running. Help us gain new members by following us on Twitter and liking our page on Facebook!
Current time: August 13, 2025, 10:51 pm

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Advice Sought for Web Programming
#2
RE: Advice Sought for Web Programming
If you are already comfortable with C# and VB, then I recommend looking into ASP. This is Microsoft's answer to PHP, and you can use either C# or VB as the code-behind. In fact, you design Web Forms almost exactly the same as you make Windows Forms: drag tools onto a window, double click to autobuild an event handler, etc. However, when you say "client-side," I'm not sure what that means to you: both PHP and ASP are server-side. Yes, you have PHP-GTK, or AJAX controls for ASP, but I wouldn't do that: web pages are SUPPOSED to be mainly processed server side, so that you're not dependent on the speed and capabilities of whatever hardware is viewing your webpage. If you want more power, then I think you'll have to write in Java, or port your app to iOS, Android and Windows.

Okay, so back to PHP vs ASP. I love ASP. It's easy to design a page quickly, and you design your code-behind in either C# or VB using Visual Studio (same drag-and-drop forms design, same way of creating events, same debugging tools). You can use the same .NET libraries you already use: graphics libraries, string builders, etc. Properties are also referred to in the same way. For example, in ASP, to set the text in a textbox, you'll say something like Mybox.Text = "Hello, world," exactly as you already do for Windows programming. Combine ASP with Javascript (Or, easier, jQuery), and you can do pretty much any cool thing you've ever seen a webpage do: hide, show and animate divs using a single line of code, have buttons which do neat stuff clientside, etc. Javascript also gives you access to a client-side timer, so you can play sounds at a regular interval, flash lights, etc. and you can use controls to adjust variables: scale image boxes, etc. Technically, Javascript would probably be powerful enough to write a simple game, though I don't think it would be the best tool for the job.

Anyway, my answer is that if you already like .NET, use it, and supplement it with jQuery. You'll find the web flooded with fanboys for ASP (like me) or fanboys for PHP ("Dude, it's free!"), but in the end, either will get the job done very well. Go with what you know. Also-- check out CSS5. It's pretty sexy.




There IS one major drawback to using ASP: actually getting a server. You will probably have to pay $20 or $40 / month for a Windows server, whereas most free hosting solutions I've seen work with PHP.
Reply



Messages In This Thread
Advice Sought for Web Programming - by AFTT47 - March 26, 2015 at 12:16 pm
RE: Advice Sought for Web Programming - by bennyboy - March 26, 2015 at 7:39 pm
RE: Advice Sought for Web Programming - by AFTT47 - March 26, 2015 at 7:57 pm
RE: Advice Sought for Web Programming - by bennyboy - March 26, 2015 at 8:38 pm
RE: Advice Sought for Web Programming - by AFTT47 - March 26, 2015 at 8:43 pm
RE: Advice Sought for Web Programming - by WinterHold - March 28, 2015 at 9:54 am
RE: Advice Sought for Web Programming - by bennyboy - March 29, 2015 at 10:01 am
RE: Advice Sought for Web Programming - by AFTT47 - March 29, 2015 at 12:19 pm
RE: Advice Sought for Web Programming - by bennyboy - March 29, 2015 at 5:14 pm
RE: Advice Sought for Web Programming - by Jackalope - March 29, 2015 at 12:59 pm
RE: Advice Sought for Web Programming - by AFTT47 - March 29, 2015 at 7:45 pm
RE: Advice Sought for Web Programming - by Aoi Magi - March 30, 2015 at 2:00 am
RE: Advice Sought for Web Programming - by KevinM1 - April 4, 2015 at 6:02 pm
RE: Advice Sought for Web Programming - by bennyboy - April 4, 2015 at 10:41 pm

Possibly Related Threads...
Thread Author Replies Views Last Post
  The Web SimpleCaveman 24 5314 January 9, 2024 at 5:29 pm
Last Post: brewer
  [Serious] Coronavirus plotting on a web map WinterHold 6 1852 May 26, 2021 at 5:29 pm
Last Post: BrianSoddingBoru4
  bots and the change of the web. WinterHold 29 4971 June 20, 2020 at 11:26 am
Last Post: Abaddon_ire
  How to make a "span" across the diagonal of a web-page? FlatAssembler 6 1511 May 26, 2020 at 2:54 pm
Last Post: Abaddon_ire
  Solar System simulation: my latest web app. WinterHold 8 2011 February 7, 2020 at 2:49 pm
Last Post: WinterHold
  [Serious] Multiple Sclerosis Map: my latest web project WinterHold 22 4942 October 4, 2019 at 10:02 am
Last Post: WinterHold
  Fire TV advice, please. Gawdzilla Sama 22 4021 November 8, 2018 at 10:44 am
Last Post: Gawdzilla Sama
  Is front-end web development dying? WinterHold 18 3092 September 10, 2018 at 12:28 am
Last Post: KevinM1
  Welcome to McAfee Web Advisor popups... Rev. Rye 5 3596 June 4, 2017 at 5:31 pm
Last Post: Jackalope
  Here's a simple programming problem for you to solve ErGingerbreadMandude 44 7888 April 28, 2016 at 10:02 am
Last Post: ErGingerbreadMandude



Users browsing this thread: 1 Guest(s)