38 coaches online • Server time: 00:53
* * * Did you know? The most touchdowns in a single match is 23.
Log in
Recent Forum Topics goto Post Star Player Picturesgoto Post NAF LIVE EVENT - 28t...goto Post No seasons. 2016 Pro...
Christer
Last seen 15 hours ago
Christer (5)
Overall
Super Star
Overall
Record
22/4/11
Win Percentage
65%
Archive

2024

2024-08-16 15:38:54
rating 6
2024-07-30 13:00:31
rating 6
2024-06-25 11:47:16
rating 6
2024-06-22 21:49:09
rating 5.6
2024-06-18 15:06:20
rating 6
2024-03-31 20:20:37
rating 6
2024-03-30 15:14:25
rating 6
2024-03-09 00:15:17
rating 5.5
2024-02-02 13:57:16
rating 5.9
2024-01-28 12:41:38
rating 6
2024-01-14 13:14:20
rating 6
2024-01-07 00:13:05
rating 6
2024-01-05 18:07:03
rating 5.9

2023

2023-12-29 22:52:22
rating 6
2023-12-21 21:21:09
rating 6
2023-12-19 16:04:27
rating 6
2023-11-02 13:35:55
rating 6
2023-10-03 18:18:21
rating 6
2023-09-13 19:12:07
rating 6
2023-07-12 18:17:17
rating 5.9
2023-07-11 22:33:25
rating 6
2023-06-29 11:09:33
rating 6
2023-05-27 23:06:09
rating 5.4
2023-05-10 11:45:33
rating 6
2023-05-03 21:31:28
rating 5.9
2023-04-25 18:01:24
rating 5.6
2023-01-29 15:52:51
rating 5.8
2023-01-21 18:35:18
rating 6
2023-01-11 12:39:37
rating 5.4
2023-01-02 18:57:10
rating 6

2022

2022-12-31 12:10:19
rating 6
2022-11-30 23:28:31
rating 5.6
2022-03-28 15:32:21
rating 5.8

2021

2021-10-16 20:23:20
rating 5.9
2021-09-02 11:32:40
rating 6
2021-08-27 23:04:22
rating 6
2021-08-06 23:08:34
rating 5.8
2021-07-26 01:26:31
rating 5.8
2021-07-20 02:46:59
rating 6
2021-07-07 20:30:33
rating 5.9
2021-06-14 14:24:30
rating 6
2021-03-09 00:39:11
rating 5.9

2020

2020-12-09 11:20:11
rating 6
2020-11-30 18:03:36
rating 5.8
2020-10-13 11:59:57
rating 5.9
2020-08-08 22:48:43
rating 5.8
2020-08-07 21:32:26
rating 5.9
2020-03-18 14:09:47
rating 6

2019

2019-12-13 21:32:02
rating 6
2019-11-25 16:00:40
rating 5.9
2019-04-14 23:33:08
rating 6
2019-04-07 16:59:39
rating 6
2019-04-07 00:55:26
rating 6
2019-01-08 15:27:38
rating 5.9
2019-01-05 02:58:18
rating 5.8

2018

2018-08-17 17:28:31
rating 6
2018-08-15 00:05:40
rating 6
2018-07-17 20:17:40
rating 6
2018-06-28 14:28:08
rating 5.9
2018-05-23 17:55:10
rating 6
2018-05-10 22:42:46
rating 6
2018-05-09 19:42:28
rating 6
2018-04-30 10:44:23
rating 5.8
2018-04-23 12:33:02
rating 5.8

2017

2017-04-23 18:06:35
rating 6
2017-04-06 23:00:56
rating 6
2017-04-03 19:06:00
rating 6
2017-03-29 22:35:46
rating 6
2017-03-25 16:18:39
rating 6
2017-03-11 21:24:26
rating 6
2017-02-14 14:23:58
rating 6
2017-02-10 14:54:03
rating 6

2016

2016-11-30 00:04:21
rating 6
2016-11-27 23:40:04
rating 6
2016-11-17 18:18:07
rating 6

2015

2015-09-06 23:59:26
rating 6
2015-01-24 15:56:29
rating 6
2015-01-22 13:10:32
rating 6
2015-01-19 21:20:53
rating 6
2015-01-10 19:03:45
rating 6

2014

2014-09-09 15:35:53
rating 6

2013

2013-04-26 11:48:40
rating 5.7

2012

2012-12-18 17:37:29
rating 5.9
2012-11-18 18:19:19
rating 6
2012-09-25 13:47:16
rating 5.6
2012-08-15 12:31:53
rating 5.9
2012-08-10 23:12:22
rating 5.9
2012-06-27 22:53:48
rating 5.9
2012-04-10 11:56:38
rating 5.9
2012-03-07 13:52:00
rating 5.9
2012-02-16 16:59:56
rating 5.9
2012-02-04 19:00:41
rating 5.3

2011

2011-07-25 23:32:43
rating 5.6
2011-05-23 13:12:52
rating 5.6
2011-02-04 14:26:18
rating 5.4

2010

2010-03-26 11:38:41
rating 5.1
2010-03-01 12:16:53
rating 5.6

2009

2009-12-08 16:40:30
rating 5.8

2008

2008-09-11 14:47:19
rating 4.1
2008-02-26 21:16:54
rating 5.3
2008-01-21 01:01:58
rating 5.6

2007

2007-11-06 21:23:14
rating 5.1
2007-10-16 00:26:11
rating 5.4
2007-09-30 17:10:03
rating 5.4
2007-09-30 12:01:42
rating 5.3
2007-08-09 12:14:57
rating 4.5
2007-08-06 12:02:52
rating 4.9
2007-08-03 17:56:21
rating 5.4
2012-02-04 19:00:41
56 votes, rating 5.3
FUMBBL development environment
After the recent web server replacement, I have been doing a couple of changes to my development environment for the site. For those of you who have an interest in these kinds of things, I figured I'd describe how things are set up from a pure development perspective.

First off, we have the code editor. A few years ago, while I was still using a Windows system, I was using NuSphere's PhpEd, which I still think is a fantastic environment for PHP development. Unfortunately, switching to Apple meant I had to find a new editor. I've tested a number of various editors and IDEs over the years, but to make a long story short I've ended up with Eclipse as my main development platform. The reasoning behind this is that I like having a full IDE (refactorisation support, code completion, integrated API reference), and Eclipse supports both major languages used for the site (PHP and Java {SE and EE}) in a fairly seamless manner.

On my desktop machine, I don't have Apache running, nor do I have Glassfish installed (both of these run various aspects of the website). To be able to test things on the PHP side, I have two websites set up. One production site (driving fumbbl.com and www.fumbbl.com) and one for development (dev.fumbbl.com, not accessable from outside my LAN).

To push code from my development machine to these two sites I am using two different methods. For the development copy of the site, I have a Samba share (windows file sharing), which is mounted as a remote file system on my desktop machine. I don't have my full eclipse workspace on the remote folder though. Instead, I have a plugin installed called FileSync. Every time I do a modification to the code, it automatically syncs the updated file to another folder. This other folder is obviously the remote file system, which makes the development site update automatically every time I save a file in my IDE.

For the live site, however, I want a bit more accountability and structure. To get this, I have connected the production site to my version control software. The concept is fairly simple: I have a source code repository to which I commit changes. Once a change is committed, a script on the web server is run that does an update of a local copy of the code and then syncs the code to the live site directory.

Now, prior to the web server replacement, I was using SVN for version control. So what I did was to commit a change and then manually run a script that did the update and pushed the code to the live site. This was somewhat annoying and meant I had to have a terminal window up on the web server for the sole purpose of doing these updates.

With the reinstallation of the web server, I took the time to switch to Mercurial (a more modern version control system). With the new setup, once I push a change to the live repository a triggered action is performed on the server where the repository is located that pushes the change to the web server repository. There, another triggered script is executed that automatically pushes the changes to the live folder. It may sound a bit complicated, but the end result is that once I push a change, it is automatically and immediately deployed on the live site.

I'm quite happy with how this setup is working for me. It's easy for me to test things, and develop new things and deploying to the live site is quite easy as well.

On the Java end, I have two primary methods. For Java SE applications (such as the blackbox scheduler and bowlbot), I can pretty much develop directly on the development machine. The applications can be run locally and I don't have to push the code elsewhere. To deploy to the production servers, I've simply set up Ant build scripts that compile, package, and copy files over to the live server using SSH.

For Java EE, which is a fairly new aspect of the website, I am lacking a development site. This is something I will need to look into implementing at some point as I am planning to push more back-end functionality into the Java space (in order to be able to utilise caching and have better threading support). For now, Eclipse is set up to auto-deploy to the live server. So when I make a change to the code, Eclipse builds a new version of the servlet I'm working on and pushes it to the Glassfish server that's running on the web server machine without me having to do anything. Ideally, I'd want a similar workflow as for the PHP code, where Eclipse automatically pushes as it does now to a development copy, and then runs a build-script and deploys to the live version once I do a source control push. With a compiled language like Java, this is a bit trickier but I am certain it's possible.. Something for me to look into one of these days.. :)

That pretty much covers how I develop for FUMBBL. I'm sure this is a bit too technical for a lot of you and only hope you won't be too harsh when you rate this blog ;)
Rate this entry
Comments
Posted by anisdrin on 2012-02-04 19:21:15
All of this sounds lice chinese to me! I only remember Pascal an C++ when I was back in the university!. But also sounds like a lot of work!

Good job Christer and many thanks!
Posted by blocknroll on 2012-02-04 19:26:15
i also didnt understand a word of this but wanted to add my thanks for all the expertise passion and patience you share with us. thank you
Posted by lizvis on 2012-02-04 19:31:02
huh?
Posted by PainState on 2012-02-04 19:37:12
Rated a 5 due to the lack of Blood Bowl refrences to break up the monotone computer programming lingo.

Example: After the recent web server took a nasty DP boot for a RIP which needed replacement. Thanks to all your support I did not have to go out and get a Journeyman server.
Posted by PurpleChest on 2012-02-04 19:44:27
i am always impressed when someone knows a foreign language.
Posted by DatMonsta on 2012-02-04 20:01:59
Well...

sounds like a damn complicated thing to me...

good to know that at least you do know what you are talking about :-D

Thx for running the amazing FUMBBL-environment!
Posted by OenarLod on 2012-02-04 20:04:29
I'm scared, it is kinda reading the ways of the Creator...
Thanks BigC for all the effort you put in it!
Posted by Garion on 2012-02-04 20:35:41
Cant say I understood anything there but it still awsome to see how devoted to your site you are.

Thanks for creating the best thing on the internet by miles
Posted by pythrr on 2012-02-04 21:34:28
strange magical things make for happy games!
Posted by koadah on 2012-02-04 21:39:38
Blogs like that remind me why I should have become an accountant. ;)
Posted by Dhaktokh on 2012-02-04 22:44:38
I just vote 6 and scroll down, convinced I wont understand a single sentence. Thumbs up for BigC!
Posted by Ehlers on 2012-02-04 23:19:51
Rate 6, always good to hear from the creator of the site and still know you are here ^^

Did not understand a thing, but felt like I was reading something awesome even though not understanding anything.

Is there a secret message between the lines?
Posted by Nightbird on 2012-02-04 23:25:42
I overlooked the fact that I understood about 10% of the CPU lingo & rated 6 just because you continue to care & advance this site for the betterment of the community & game. Thanks Christer.
Posted by insanitie on 2012-02-05 02:43:31
so just wanted to add my thanks,
i even understood some of that :)
but thanks for all the hard work C
many millions of pixels have died thanks to your efforts :)
Posted by studmandudebro on 2012-02-05 05:37:25
i got like one word into it before my eyes glazed over and i had to pound a natty
Posted by Barre on 2012-02-05 06:57:44
Nice, good to know the site is in good hands, I haven't used Mecurial, but that's mainly because I'm lazy trying new things.

Having said that though, I also used Eclipse, until I discovered that NetBeans has a php integration, and I have to say I find Netbeans much better for development, so I recommend it. It has Mecurial and SVN integrated by default and also supports a myriad of languages and tools which you may use now of going forward.

Generally speaking I find Netbeans less cumbersome, the plugins are more streamlined than the open method of eclipse. Preferences on IDE's are as plentiful as developers though.

Posted by VoodooMike on 2012-02-05 09:15:05
Eclipse really is the best development environment these days - one of the reasons so many languages are implementing an Eclipse-based IDE. I do all my Erlang work in Eclipse, and technically all my AS3 since Flex Builder is built on top of Eclipse.

I still think Java is a clunky choice for pretty much any server system. Most client systems too. I guess I just don't like Java!
Posted by strikereternal on 2012-02-06 18:24:11
I for one understood it. :)
Posted by GAZZATROT on 2012-02-06 22:53:37
Blah Blah Blah, I learned how to copy and paste yesterday, so shove it Christer!!! ;)
Posted by maysrill on 2012-02-09 14:35:55
Engineer here, but married to a developer. Rated 6 on her behalf. ;)