From The UL Developer (jmhenry5150) [BLOG]
United Leagues Merchandise United Leagues RSS Feed United Leagues @ twitter United Leagues @ facebook
Shop on Amazon? Support United Leagues! Click the link below the owner console!
X1FL (Madden 15) sign-ups are open! Confirm your spot today!
JULY BIRTHDAYS: BenchBoss67(22)
Global Home > Blogs > From The UL Developer (jmhenry5150)
From The UL Developer (jmhenry5150)

Hey everyone!!!

Welcome to the new UL blog network (for VIP members only!)

In my blog I will try to keep the UL community as up to date as possible with site updates and changes...new features too!

Code Consolidation 10/17/2008 11:17:00 AM

As a developer (and I guess an anal nerd), you are always looking to make things better, more efficient and easier to maintain.

This past 2 weeks I have been looking over the 350+ files that make up the United Leagues and with the size being what it is - maintenance is a really big effort...If I need to make a change to the team schedule page, I had to do it 7 times - once for each sport because each sport has different stat categories, tie designations (ties, draws), etc...

But...at the heart of the code - it's really just cosmetics...It's just static text...

So, being the nerd that I am, I developed a way so that I can consolidate all team pages, schedule pages, submit score pages and stat pages into a single code base by making all of the static text - dynamic.

So what does this mean to the average user here?  Bah - nothing...lol.

But now when you click on a team icon for instance - instead of going to schedule_t_football.asp you will goto schedule_team.asp...whether the sport is baseball or footbal - you will always go to the same page now...

Doing this for all of these pages (including the mobile site) has drastically reduced the number of pages to around 250 - a BIG difference from 350!  Yep - it actually got rid of about 100 pages...

Anyways - that's what I have been doing for the past few weeks and wanted to let you guys know - I mean...it IS a blog from the UL developer ya know.

Comments
electrickeeper
10/17/2008 12:05:00 PM
Good work!
Fiddy14
10/17/2008 9:03:00 PM
geek... :)
electrickeeper
10/17/2008 9:41:00 PM
I believe the proper nomenclature is nerd.


electrickeeper
10/19/2008 10:47:00 AM
Are there some issues going on with the news pages? I can't see them on any page on the site. I've tried Safari and Firefox, neither show them.
Previous Blog Entries (Comments)
9 Years ago this month (3)
Special Offers (1)
Facebook Integration (0)
New Owner / Gamertag selectors (I need your help!) (13)
Electrickeeper - Welcome to the family (8)
 - More -
jmhenry5150's Blog Network
electrickeeper
"Welcome Back!"
7/10/2014 5:21:00 PM
Sharko Libre
"XBCF 2011 Hall Of Fame Ceremony Red Carpet Special"
12/22/2011 1:52:00 PM
Patriot9
"Hockey on UL's Site"
12/21/2011 9:26:00 AM
Pontification
"FIFA - PES? XBCL - XBPL?"
10/4/2008 9:49:00 AM
All logos and trademarks in this site are property of their respective owner(s).
United Leagues is in no way affiliated with Sony or Microsoft Corp.
All content / trademarks are property of their respective owners.
The United Leagues logo was designed by Sean Saliva for The United Leagues.
All The Rest ęCopyright 2014 All Rights Reserved
www.unitedleagues.com (Disclaimer)
This page rendered in 1 seconds by
SPECIAL OFFERS
Support the United Leagues at amazon.com
Madden NFL 15 - Xbox One (8/26/2014)
Pre-Order and Free Shipping
Madden NFL 15 - PlayStation 4 (8/26/2014)
Pre-Order and Free Shipping
NHL 15 - Xbox One (9/9/2014)
Pre-Order and Free Shipping
NHL 15 - PlayStation 4 (9/9/2014)
Pre-Order and Free Shipping
FIFA 15 - PlayStation 4 (9/23/2014)
Pre-Order and Free Shipping
FIFA 15 - Xbox One (9/23/2014)
Pre-Order and Free Shipping
NBA 2K15 - PlayStation 4 (10/1/2014)
Pre-Order and Free Shipping
NBA Live 15 - PlayStation 4 (10/7/2014)
Pre-Order and Free Shipping
NBA Live 15 - Xbox One (10/7/2014)
Pre-Order and Free Shipping
NBA 2K15 - Xbox One (10/7/2014)
Pre-Order and Free Shipping
Microsoft Xbox LIVE 12 Month Gold Card
$47.95
Xbox One Chat Headset
$24.71