Forum Moderators: phranque

Message Too Old, No Replies

Creating a site for baseball stats

Using Excel, or what?

         

Daily Sparring

5:09 pm on Dec 23, 2003 (gmt 0)

10+ Year Member



I am looking to redesign a site run by my local baseball league. What I want to do is create a database that will track a player over their 'career' (I know, a sad dream) Anywho, I have never done anything with excel, and it may not be the best option to do this, but it is what the current site uses. Any opionion on display and how to create the database would be much appreciated.

Baseball starts in May and I would really like to store the current info to help track for the years to come. Thank you in advance.

[edited by: heini at 6:09 pm (utc) on Dec. 23, 2003]
[edit reason] Please don't post urls, domain names etc, thanks! [/edit]

dcrombie

5:34 pm on Dec 23, 2003 (gmt 0)



Don't use Excel, Access or anything else starting with Microsoft if you can help it. What you need is an SQL database such as MySQL, Postgres, etc.. You will also need a scripting language such as PHP, ASP, etc.. Find out what software you have access to on the web server and check some of the other forums for related topics.

korkus2000

6:32 pm on Dec 23, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hey Daily_Sparring welcome to WebmasterWorld,

Do you have access? Excel will probably not be a good option. Are you wanting it to be viewed online? What server is the site on, ie Operating system?

>>Don't use Excel, Access or anything else starting with Microsoft if you can help it

With all do respect that is not very good advice.

tedster

6:35 pm on Dec 23, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld, Daily_Sparring.

First, it's important to recognize that Excel is a spreadsheet, and not a database application -- the MS Office database app is Access. I know many people use Excel as a poor man's database, but I definitely urge you to make the switch to a "true" database right from the start.

Second, I'm also no lover of MS applications and would strongly encourage you to explore PHP and MySQL -- especially since whatever you do will be a learning curve for you in any event. I'm pretty confident that you will avoid many headaches by starting out with that combination.

That said, this year I took on a client who was already commited to a MS Access solution and, reluctantly, I went forward with it because there was no practical way to back them out and start over. There was already a siginificant investment in ASP and VBScript development and that, simply put, was that.

I must say that MS has made things relatively easy for the Access user, especially if you already know something about databases in general. What I really don't like is the required Windows hosting, as contrasted to the safer footing of Apache on Linux.

A friend of mine (who is admin for over 100 different networks on various technologies) describes Windows server on the web as "a petri dish for web parasites". It takes a very vigilant server admin to stay on top of the situation. If you've got that, then it might make sense to go forward with MS apps. If you don't have that, then I encourage you to find a non-MS web server solution.

The "convenience" that MS builds into their products comes at a very high price in terms of security, in my experience. They may fix that going forward, or they may just try to spin things that way. Right now, MS security is a very squeaky wheel.

dcrombie

7:55 pm on Dec 23, 2003 (gmt 0)



With all respect, I consider staying away from M$ products to be extremely good advice - especially database and webserver applications. Apache, PHP and MySQL now work effectively across platforms so there's no excuse for limiting yourself to something that is demonstrably inferior such as IIS or (god forbid) Access.

As the previous poster suggested, using an open-source package gives you the flexibility of moving your site to another platform in the future. Also, using a SQL (preferably SQL92 compliant) database makes it much easier to transport your data.

;)

jatar_k

9:12 pm on Dec 23, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld Daily Sparring,

What do you have available? I am not totally sure about using excel but you could maybe use a csv file for storage if you don't have Access. Excel can open csv files and they run on a website quite nicely, I have a few applications that use them. They could be considered a "flatfile database".

If Microsoft technologies are what is available to you, that's just fine. Each set of languages/products has their own strengths and weaknesses.

So, as korkus asked, what do you have available to you?

RainMaker

9:48 pm on Dec 23, 2003 (gmt 0)

10+ Year Member



Well Daily sparring, You asked about any opinions on display and how to create the DataBase. You also mentioned that your site is currently using Excel for a 'DataBase' and wasn't too sure if that was the correct solution. Well on this topic it seems that you are being somewhat pulled into many directions as to what to use and what is best for future and stuff like that eh? Well All in all I know that your current site is configured for excel. While of course you would hate to change the current configuration, I and all of the people that have replied to this topic agrees that you should definatly change the excel portion of what you want to accomplish. Now that we have that, what are you going to use? Well you now know what your options are as far as database solutions are concerned, but which one. Really there is no wrong anwser here. What would only be wrong is something that would impede on getting what you want done by May.....before baseball starts up again. I mean you want to play with the site before then and get everything set up right? Well that is why you must choose something that isn't going to bog you down from your goal. all of this depends on your learning curve. If you decide that you want things quick and you don't have the learning curve of a geek...well I would definatly say that Microsoft products are well suited for you, expecially if you don't have alot of time to put into this. On the flip side, if you are a 'geek' or a 'geek wannabe' and you have ample time for this project well then I would consider other solutions as well. All you are doing is managing you local baseball league, not a complete corporate site that is going to have ten million hits a day. Point is, don't let anyone scare you into something. These Applications today work just fine, Microsoft or not. Most of all, and I would think most important, find something fun. Starting out on something fun can take you more places than expected. Starting out (like I said) pending on your learning curve, Microsoft is great. Anyways this is too long. I hope you get done what you need to get done. ;)

aspdaddy

10:44 pm on Dec 23, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi,

Probably best to first determine what data you will be storing, how many players, how frequent the updates will be , the level of anticipated traffic on this part of the site, and how much dev work you are realistically prepared to do.

Also what server you are hosted on will have a big impact on choice of solutions.

Its not a big/complicated task at all - but it will need some thought and planning :)

Daily Sparring

12:12 am on Dec 24, 2003 (gmt 0)

10+ Year Member



Thanks to all those who posted a response. I believe it is running PHP already. I am really only familiar with HTML in Dreamweaver.

I am relatively new, but extremly dislike what the guy who developed our site is doing. Are there any downloads of pre designed stuff? I don't want this to turn into a daily project. My wife will kill me. We play once a week and the stats wood be updated accordingly.

Thanks again for all your help already.

[edited by: tedster at 4:15 am (utc) on Dec. 24, 2003]

jimbeetle

12:30 am on Dec 24, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Are there any downloads of pre designed stuff?

Yeah, there are a few things around. Try searching for 'baseball statistics software' and like terms. I know there are a couple of inexpensive packages and maybe a freebie or two.

And, if I correctly remember, the last time I was searching the script sites (hotscripts and the 1/2 dozen or so php script sites), I think I saw some stuff for team stats. It would be worth it to take a look around.

jatar_k

5:03 pm on Dec 24, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I looked around a bit and found this

softballstats.sourceforge.net

free, php based, looks like it might work for you

slade7

4:34 pm on Dec 29, 2003 (gmt 0)

10+ Year Member



I do use excel quite a bit to mess with data that's going into mysql tables... I find it handy for that.

If you are used to maintaining a static html site, you'll find php/mysql to be a huge labor saver when it comes to stuff like this. I run a site that keeps up with statistics LIKE baseball stats, but not about baseball - I can update the whole site by uploading raw data text files, which I make in excel and save as csv files. Once you learn how, it's pretty easy. I've used a few canned php programs (e.g. forums) but for what you are asking it would be simple to set up a set of scripts yourself - not that complicated.

[edited by: slade7 at 4:58 pm (utc) on Dec. 29, 2003]

[edited by: txbakers at 5:36 pm (utc) on Dec. 29, 2003]
[edit reason] edited to keep on topic. [/edit]

Frank_Rizzo

5:10 pm on Dec 29, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you must stick with Excel then consider an XLS to HTML convertor.

What you could do, is keep all your stats in Spreadsheet format and then run some scripts to generate static HTML pages. All you need to do then, is to produce an index page (searchable or static depending on how many players you want to monitor) to point to the individual static pages.

The key to all this has to be automation. You don't want to be spending hours each week updating pages and pages.

I've used both offline generated pages and dynamic online generated pages. They both have their advantages but as server technology gets faster, then there is less need for static pages.

If you have the time, then go the MySQL/PHP route. If not, then look at XLS2HTML or XLS to CSV and then CSV 2 HTML convertors.

If I'm allowed to say, you can see examples of both technologies via the link in profile - just navigate to the free samples section on the left and choose Jockey Stats. (Mods, please delete this last paragraph if not acceptable)