Comment On When the Query String Is Just Not Enough

As Stephen A.'s client was walking him through their ASP.NET site, Stephen noticed a rather odd URL scheme. Instead of using the standard Query String -- i.e., http://their.site/Products/?ID=2 -- theirs used some form of URL-rewriting utilizing the "@" symbol in the request name: http://their.site/Products/@ID=2.aspx. Not being an expert on Search Engine Optimization, Stephan had just assumed it had something to do with that. [expand full text]
« PrevPage 1 | Page 2 | Page 3Next »

Re: When the Query String Is Just Not Enough

2007-08-14 09:17 • by batasrki
HAHAHAHAHA

I just love idiotic web developers. Makes it easier to sell myself as a quality one

Re: When the Query String Is Just Not Enough

2007-08-14 09:19 • by Will (unregistered)
That's mind-boggling.

Re: When the Query String Is Just Not Enough

2007-08-14 09:20 • by Mike5 (unregistered)
120

Love it!!!

Re: When the Query String Is Just Not Enough

2007-08-14 09:20 • by death
Oh my... Paula did it?

Re: When the Query String Is Just Not Enough

2007-08-14 09:23 • by elitas (unregistered)
Priceless! :D

Re: When the Query String Is Just Not Enough

2007-08-14 09:33 • by James (unregistered)
Genius, I bet it’s quick!!

Re: When the Query String Is Just Not Enough

2007-08-14 09:38 • by dubya (unregistered)
that's awesome.

Pretty much the same thing happened at a place I used to work. They hired a bunch of consultants to rewrite the website in .Net (had been static before) - they got a static site with an empty db, and 100's of pages with long query string like values. Best part was they didn't realize it for months.

Re: When the Query String Is Just Not Enough

2007-08-14 09:44 • by Jan (unregistered)
Well, this is best advertisment on Deamweaver i have ever seen.

Captcha: ewwww, Yikes!

Re: When the Query String Is Just Not Enough

2007-08-14 09:50 • by World Wide... Wait! (unregistered)
This is no WTF, this is just a manual cache for optimizing web page response! Remember, hardware price is high, consultants paid by the hour isn't! Or.. Wait...

Re: When the Query String Is Just Not Enough

2007-08-14 09:53 • by Zecc
Is this "wget programming" ?

Re: When the Query String Is Just Not Enough

2007-08-14 09:55 • by adrian (unregistered)
That's...that's just...I can't quite wrap my mind around the absurdity of that one. WTF???

Re: When the Query String Is Just Not Enough

2007-08-14 09:57 • by Mike (unregistered)
Wow......just wow.

You can only imagine what the inside of each of those pages looks like. Probably the exact same content, with a database search parameter changed.

Re: When the Query String Is Just Not Enough

2007-08-14 10:01 • by soo true (unregistered)
I'm doing some freelance consulting with an acquaintance of mine right now - its my first gig as freelance - and he was going to set it up just like this. Not to fool them or such, but just because he thought it was supposed to be done like that. It's an ecommerce type website where every single page was going to be static. Worse, the pages were going to be image maps, gigantic image maps. If anything was changed, adding a customer, a product, a new advertisement, you would have nearly had to redesign the whole page. Finally convinced him it was correct to do a PHP/MySQL setup...now we just have a convince the guy we're doing it for...he just wants a pretty website.

Re: When the Query String Is Just Not Enough

2007-08-14 10:05 • by Brady Kelly (unregistered)
149559 in reply to 149557
Mike:
Wow......just wow.

You can only imagine what the inside of each of those pages looks like. Probably the exact same content, with a database search parameter changed.


I just converted an Access application to WinForms, and the Access application had five detail forms, each painstakingly copying the control layout of the others. What was the difference? Each one had a different parameter in the data source query, so Access would prompt for a different criteria when opening different forms from the menu.

Re: When the Query String Is Just Not Enough

2007-08-14 10:16 • by Jamie (unregistered)
149561 in reply to 149557
Mike:
Wow......just wow.

You can only imagine what the inside of each of those pages looks like. Probably the exact same content, with a database search parameter changed.


what makes u so sure there is a database behind the scenes....?! :-)

Re: When the Query String Is Just Not Enough

2007-08-14 10:20 • by uwaefjoiafjio (unregistered)
Whoohoo! He's struck it rich!

Too bad the price he'll pay will be his sanity.

Re: When the Query String Is Just Not Enough

2007-08-14 10:22 • by JOHN (unregistered)
The REAL WTF is Visual Basic.



I wish people would stop trying to make it easier for idiots to program. They lower salaries and increase costs, but corporations never realize this, due to the myth that workers * hours = productivity.

Re: When the Query String Is Just Not Enough

2007-08-14 10:28 • by Bishop (unregistered)
Often there are some things so hard to believe that I can't help myselft not to google them to check if they are genuine. That one is :p

Re: When the Query String Is Just Not Enough

2007-08-14 10:32 • by nixen (unregistered)
Ah haha hahahaha!
Well, that happens when you let your team develop in vb ;-)

(No, no, I realise that it's perfectly possible to make perfect code in visual basic - it's just that that particular language seems to be overly represented in these contraptions)

Re: When the Query String Is Just Not Enough

2007-08-14 10:38 • by rob (unregistered)
That's brilliant! I think this will keep me grinning all the way to the end of the day.

Re: When the Query String Is Just Not Enough

2007-08-14 10:38 • by ParkinT
Each page is created in MSWord and then "Save As" HTML?

Re: When the Query String Is Just Not Enough

2007-08-14 10:40 • by TheRubyWarlock
Oh dear lord. WHY are people so stupid? Someone PLEASE tell me! It's idiots like this (and.. you know, all the rest of the idiots showcased on this site) that give real developers a bad name.

Re: When the Query String Is Just Not Enough

2007-08-14 10:46 • by James (unregistered)
149570 in reply to 149561
Jamie:
Mike:
Wow......just wow.

You can only imagine what the inside of each of those pages looks like. Probably the exact same content, with a database search parameter changed.


what makes u so sure there is a database behind the scenes....?! :-)


Ye an XML file would be better :-)

Re: When the Query String Is Just Not Enough

2007-08-14 10:47 • by Theo (unregistered)
The guy probably used "@" because he realised it was not possible to make static pages with a "regular" ? in the name...

I'm sure he wondered for some time how the other web developers are doing with their "?"...

Re: When the Query String Is Just Not Enough

2007-08-14 10:49 • by Keith (unregistered)
149572 in reply to 149564
It gets better... take a look at the end of /pages/@id=5.aspx:

<map name="Copyright">

<area shape="rect" coords="5,10,142,28" href="../../www.i4.net/default.aspx" target="_blank">
</map>


Not only that, but http://www.i4.net/default.aspx is a .NET 404...

!

Re: When the Query String Is Just Not Enough

2007-08-14 10:56 • by Andrew (unregistered)
ASP = A shxxxy programmer

People only get into ASP b/c they can't figure out anything else.

Re: When the Query String Is Just Not Enough

2007-08-14 10:57 • by su (unregistered)
the real wtf is using dreamweaver

Re: When the Query String Is Just Not Enough

2007-08-14 10:59 • by Lummox (unregistered)
149575 in reply to 149547
Will:
That's mind-boggling.


I beg to differ; I think it's mind-bottling. You know, like when your mind feels like it's trapped in a bottle?

Re: When the Query String Is Just Not Enough

2007-08-14 11:05 • by Andrew (unregistered)
149576 in reply to 149575
Lummox:
Will:
That's mind-boggling.


I beg to differ; I think it's mind-bottling. You know, like when your mind feels like it's trapped in a bottle?


Like one with the words Jose Quervo Blanco written on the side?

Re: When the Query String Is Just Not Enough

2007-08-14 11:09 • by Lummox (unregistered)
149577 in reply to 149576
Andrew:
Lummox:
Will:
That's mind-boggling.


I beg to differ; I think it's mind-bottling. You know, like when your mind feels like it's trapped in a bottle?


Like one with the words Jose Quervo Blanco written on the side?


http://www.imdb.com/title/tt0445934/quotes

I'm guessing you haven't seen Blades of Glory. Either that or I don't remember that quote in the movie.

Re: When the Query String Is Just Not Enough

2007-08-14 11:09 • by SomeCoder (unregistered)
149578 in reply to 149571
Theo:
The guy probably used "@" because he realised it was not possible to make static pages with a "regular" ? in the name...

I'm sure he wondered for some time how the other web developers are doing with their "?"...


Unfortunately... I bet that's exactly what happened.

This WTF hurts, physically.

Re: When the Query String Is Just Not Enough

2007-08-14 11:10 • by Ben (unregistered)
now that his evil plan was in full swing, he only needed to convince the corporation it was their server's fault

Re: When the Query String Is Just Not Enough

2007-08-14 11:15 • by Spartacus (unregistered)
http://www.google.com/search?hl=en&q=%22%40id%3D6.aspx%22&btnG=Search

Second from the top for a possible candidate.

Re: When the Query String Is Just Not Enough

2007-08-14 11:31 • by Whitey (unregistered)
149583 in reply to 149580
Spartacus:
http://www.google.com/search?hl=en&q=%22%40id%3D6.aspx%22&btnG=Search

Second from the top for a possible candidate.


That's it... They're selling anti-depressant medication. I wonder if they eat their own dog food, so to speak.

Re: When the Query String Is Just Not Enough

2007-08-14 11:31 • by fewbars (unregistered)
They've buit a business out of hiding the fact that they are incompetent - www.i4.net's slogan is "perception is everything"

Talk about truth in advertising!

Re: When the Query String Is Just Not Enough

2007-08-14 11:31 • by Pilothaz
Christ, that is terrible. I can't believe someone would come up with that kind of static page naming scheme.

I am glad that my co-op job is no where near that place of business.

Re: When the Query String Is Just Not Enough

2007-08-14 11:32 • by YourMoFoFriend (unregistered)
149586 in reply to 149563
JOHN:
The REAL WTF is Visual Basic.
I wish people would stop trying to make it easier for idiots to program. They lower salaries and increase costs, but corporations never realize this, due to the myth that workers * hours = productivity.
JOHN, you're a retard. Every time I see someone going "The REAL WTF is Visual Basic" it's a retard like you with overinflated ego thinking he is smarter then everyone else just because he isn't using VB. There is a million different reasons why VB (and .NET in general) is used, and quiet successfully I might add, but you wouldn't understand them anyway because you are a retard.
And finally, this crap could've been just as easily done in any of the other 30 or so CLR compatible languages including C++, it's the programmer, not the language.

Re: When the Query String Is Just Not Enough

2007-08-14 11:38 • by Jasper Mantooth (unregistered)
I'm a bad man. I've actually handed off sites like this to clients. I'm just another ugly refugee of the NMJ* generation.



*("not my job")
(wget --mirror ftw too)

Re: When the Query String Is Just Not Enough

2007-08-14 11:39 • by tired (unregistered)
149588 in reply to 149563
<quote>The REAL WTF is Visual Basic.

I wish people would stop trying to make it easier for idiots to program. They lower salaries and increase costs, but corporations never realize this, due to the myth that workers * hours = productivity.
</quote>
John

Your attempt to open a subject that has been thrashed over and over again on this forum and many others is tiresome. The same code and set up could have been done in many other languages. The problem is not the language, I could pick up a book on C#, C++, php, mysql or anthing else and pump out crap like this in 24 hrs. Please comment on things that apply to the topic presented. Adding such a mundane comment only devalues this site. Thanks.

tired.

Re: When the Query String Is Just Not Enough

2007-08-14 11:42 • by poindexter (unregistered)
149589 in reply to 149586
YourMoFoFriend:

And finally, this crap could've been just as easily done in any of the other 30 or so CLR compatible languages including C++, it's the programmer, not the language.

As a Java programmer can I just say that this WTF is not restricted to CLR compatible languages.

Re: When the Query String Is Just Not Enough

2007-08-14 11:47 • by Hungry Dude (unregistered)
hmmm...a curiously similar structure to the site we're reading..

http://worsethanfailure.com/Articles/When-the-Query-String-Is-Just-Not-Enough.aspx

Re: When the Query String Is Just Not Enough

2007-08-14 11:54 • by JonC (unregistered)
149591 in reply to 149580
Spartacus:
http://www.google.com/search?hl=en&q=%22%40id%3D6.aspx%22&btnG=Search

Second from the top for a possible candidate.

Good find, it's almost certainly that one as 5.aspx seems to be the lowest id that works when I try various numbers, and looking at the source code this is the lowest id shown.

Re: When the Query String Is Just Not Enough

2007-08-14 12:03 • by Bruce W (unregistered)
149592 in reply to 149572
Keith:
It gets better... take a look at the end of /pages/@id=5.aspx:

<map name="Copyright">

<area shape="rect" coords="5,10,142,28" href="../../www.i4.net/default.aspx" target="_blank">
</map>


Not only that, but http://www.i4.net/default.aspx is a .NET 404...

!

LOL! I know one of the top managers of i4 in Utah. (They actually set up our SAN and did an excellent job.) I should show him this abomination and tell him this is why I will probably never have his people code for me.

Re: When the Query String Is Just Not Enough

2007-08-14 12:04 • by nowtf (unregistered)
It is by no means WTF. I've done that to develop sites for deployment on constrained servers - no DB, no scripts. You do this to ease your part of developement - use master page, DB, all locally. After that you wget --mirror site locally and - if properly created - you have fully functional, yet static website. I consider it normal practice in situations where it suits.

Re: When the Query String Is Just Not Enough

2007-08-14 12:10 • by brazzy
149594 in reply to 149589
poindexter:
YourMoFoFriend:

And finally, this crap could've been just as easily done in any of the other 30 or so CLR compatible languages including C++, it's the programmer, not the language.

As a Java programmer can I just say that this WTF is not restricted to CLR compatible languages.

To pharaphrase someone wiser than me: "The problem with making things idiot-proof is that the world keeps producing better idiots".

Besides, what we're looking at is not necessarity a WTF. I remember doing something quite similar in order to host a DB-backed site on my university account that didn't support PHP - I had a PHP app running at home and with a little fiddling made it spit out static pages which I'd then upload to the university account.

Maybe the actual code is running somewhere else?

Re: When the Query String Is Just Not Enough

2007-08-14 12:21 • by savar
149595 in reply to 149588
tired:

John

Your attempt to open a subject that has been thrashed over and over again on this forum and many others is tiresome. The same code and set up could have been done in many other languages. The problem is not the language, I could pick up a book on C#, C++, php, mysql or anthing else and pump out crap like this in 24 hrs. Please comment on things that apply to the topic presented. Adding such a mundane comment only devalues this site. Thanks.

tired.


A) You don't know how to use quote tags.

B) The point that John was making is that while managed runtimes like VB.net are intended to increase developer productivity, they have the perverse side effect of lowering the bar for becoming a programmer. Then a company hires Philip Q. Shitforbrains instead of you or me because he has "tons" of VB.net experience and will work for 20% less.

Just because you know/use/love VB.net doesn't make you an idiot. But VB.net does allow people who don't know what they're doing to get by anyway. If this project had been written in C++, the dumbass "consultant" who did this job would have never made the cut.

At the same time, it would have taken more lines of code and more man hours to write it in C++. I think we all understand this. We just like to pick on VB because so many WTFs arise from it.

Re: When the Query String Is Just Not Enough

2007-08-14 12:25 • by DW Sux (unregistered)
The real WTF is that the .NET file are set to open with Dreamweaver. Should have been his first clue.

Re: When the Query String is just not enough

2007-08-14 12:29 • by vertagano
149598 in reply to 149594
brazzy:

Besides, what we're looking at is not necessarity a WTF. I remember doing something quite similar in order to host a DB-backed site on my university account that didn't support PHP - I had a PHP app running at home and with a little fiddling made it spit out static pages which I'd then upload to the university account.

Maybe the actual code is running somewhere else?

Either you're WaC, or this is a much more common practice than I would have imagined.

Re: When the Query String Is Just Not Enough

2007-08-14 12:31 • by rumpelstiltskin (unregistered)
149599 in reply to 149586
YourMoFoFriend:
JOHN:
The REAL WTF is Visual Basic.
I wish people would stop trying to make it easier for idiots to program. They lower salaries and increase costs, but corporations never realize this, due to the myth that workers * hours = productivity.
JOHN, you're a retard. Every time I see someone going "The REAL WTF is Visual Basic" it's a retard like you with overinflated ego thinking he is smarter then everyone else just because he isn't using VB. There is a million different reasons why VB (and .NET in general) is used, and quiet successfully I might add, but you wouldn't understand them anyway because you are a retard.
And finally, this crap could've been just as easily done in any of the other 30 or so CLR compatible languages including C++, it's the programmer, not the language.

Nice grammar there, YourMoFoFriend. Did you pick that up at DeVry?
VB is a WTF- it exists so that people who can't be bothered with learning how to program, can write GUI apps. It's meant for Shirley in Accounting, but, somehow, the jokers using it started calling themselves programmers, and pointy haired bosses, not knowing any better, institutionalized the error.

Re: When the Query String Is Just Not Enough

2007-08-14 12:35 • by Andrew (unregistered)
149600 in reply to 149588
tired:
<quote>The REAL WTF is Visual Basic.

I wish people would stop trying to make it easier for idiots to program. They lower salaries and increase costs, but corporations never realize this, due to the myth that workers * hours = productivity.
</quote>
John

Your attempt to open a subject that has been thrashed over and over again on this forum and many others is tiresome. The same code and set up could have been done in many other languages. The problem is not the language, I could pick up a book on C#, C++, php, mysql or anthing else and pump out crap like this in 24 hrs. Please comment on things that apply to the topic presented. Adding such a mundane comment only devalues this site. Thanks.

tired.


Now that's funny. Someone who's defeneding VB screws up the quote syntax!
« PrevPage 1 | Page 2 | Page 3Next »

Add Comment