ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Other Software > Developer's Corner

To ASPX, or Not To ASPX...

(1/3) > >>

Stoic Joker:
Greetings
   So the boss dropped by my office today to drop another (great idea) project in my lap. Which is basically a Quick-N-Dirty Shopping Cart type of affair. It will be publicly facing for (a specific) client access, but all orders will be processed internally through a single PO (e.g. No PCI is involved, needed, to be planned for). This is going to be strictly User Table -> Authentication Mechanism -> Product Table -> (and ephemeral) Order List "Cart".

   Now... (here's the weird part)... I'm debating on what to code it in, and speed is a factor (a huge one). ASP sucks, and PHP requires a bit too much pain staking care (considering I do it with a plain text editor) to meet the deadline. So I'm debating on taking the ASPX route because I can then speed things up using MSVS to hand the thing together quickly. The obvious downside being that I've never used it for that.

   I did however find a rather handy tutorial that I played with for most of this afternoon. It seem to do a fairly nice job of taking you from Hello World! ... All the way to the edge of the cliff... :) Which basically makes the question should I proceed in that direction? And if I do is VS2005 a good enough way to get there? Or should I jump to one of the newer ones (VS2008/2010) to avoid something that'll byte me in the ass down the road (or just screw me outa the gate)?

 Note: Ducking the project was also presented as an option...But I'm not that smart... ;)

Thank you,
Stoic Joker


P.S. I'm also not adverse to starting with a sample code project, if anyone knows of a good one.

Renegade:
I'd say use VS 2010 as you can use any .NET version there. It's like having 2005 and 2008 at the same time.

But there are a ton of things out there that can help you get it done fast. There's no reason to build that when you can buy it or get it for free. DNN has a shopping cart already built in and you can get commercial modules for it.

Say you end up spending $500 or $1000 on a solution... Check it out and figure how long it would take you to build it, and then figure out how much your time costs. It's highly unlikely that you can build something for the same or lower.

I did almost the exact same thing using DNN and the included shopping cart. It sends email notifications and saves the transaction in DNN with a state, e.g. In progress, ordered, delivered, whatever, etc. I used "clientname.domain.com" and used restricted access for who can login. The client got a login there, and could order whatever they wanted. I sorted tabular data in Excel, then used regex in EditPlus to create SQL that I ran directly in the database (or could have run from inside DNN too) to populate the tables with large numbers of products.

Stoic Joker:
DNN?

skwire:
DNN?-Stoic Joker (May 25, 2011, 06:25 PM)
--- End quote ---

I'd assume DotNetNuke.

Renegade:
On a semi-related note, for "ASPX or not ASPX", I like to drop extensions as they contain no useful information for the URL. In DNN this module lets you customize your URLs very quickly, easily, and RELIABLY:

http://www.ifinity.com.au/Products/Url_Master_DNN_SEO_Urls

I would highly recommend that module as I have used it and found it to be reliable. I'm using it at Super Simple for URLs like:


* http://www.supersimple.me/Photo-Resizer

* http://www.supersimple.me/FAQ

* http://www.supersimple.me/About
Etc.

I find having .../Default.aspx or .../About.aspx kind of dumb. There's no reason to have that junk in a URL.

At the moment I'm working on a spec for a site, and have decided to run with .../en/... - .../ko/... - .../ja/... in order to separate languages used at the site. I'll also use the iFinity module above for the site. It will make things nice an meaningful. I could end up going with something like:

.../en/About
.../ko/About

or a localized equivalent with something like this:

.../en/About
.../ko/회ė‚Žė†Œę°œ

You get the same kind of thing in WordPress too:

http://cynic.me/2011/05/18/where-people-use-photo-resizer-korea-number-1/

I like that for blogs as it's clear about when it was as well as what it's about. A lot of large sites drop the day in the URL, but 6 of 1...

And since you're primarily running Windows stacks, DNN is just a drop dead simple solution.

Navigation

[0] Message Index

[#] Next page

Go to full version