Yii Framework Forum: Paulaner Cup des Südens - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Paulaner Cup des Südens Apply for a match against germany's top football team Rate Topic: -----

#1 User is offline   Mike 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 3,013
  • Joined: 06-October 08
  • Location:Upper Palatinate

Posted 20 March 2012 - 01:54 PM

http://www.paulaner-cup-des-suedens.de

It may sound unlikely - but if you're not only a fan of Yii but also of germany's top football club FC Bayern Munich then this site is for you: Apply for a casting and perhaps play a match against one of the best football teams in the world.

The application was built with Yii 1.1.10. Development time including backend was about 1 month for 2 developers. Some exceeding features:

  • Both, frontend and backend where built with Bootstrap CSS framework with responsive design which drastically reduced development time
  • A package compressor for Js and CSS built around Yii's built-in packaging system guarantees quick response times
  • Image processing is handled by an easy-to-use image storage system which takes care of auto-resizing, cropping and serving of all image data

0

#2 User is offline   luc 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 211
  • Joined: 22-June 10
  • Location:france

Posted 20 March 2012 - 03:19 PM

hey, I live in Marseille, maybe I should be interested :)

Did you use the prettyphoto extension to show the youtube videos in a lightbox as seen on this page ?
Hey Ho !
Let's go !
0

#3 User is offline   Ivica 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 315
  • Joined: 25-May 11

Posted 21 March 2012 - 01:31 AM

The website loads really fast. Good work!
Zurmo: Yii Powered Open Source CRM
zurmo.org
0

#4 User is offline   Mike 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 3,013
  • Joined: 06-October 08
  • Location:Upper Palatinate

Posted 21 March 2012 - 02:53 AM

Yes, we use some very common jQuery plugins like prettyPhoto, tipsy and jCropper.
0

#5 User is offline   Raoul 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 633
  • Joined: 29-November 08
  • Location:Paris, France

Posted 21 March 2012 - 05:04 AM

hi Mike,
even if I didn't understand a word, that's a good example of bootstrap customization ! Did you use any yii extension for bootstrap ?

ciao
B)
0

#6 User is offline   Mike 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 3,013
  • Joined: 06-October 08
  • Location:Upper Palatinate

Posted 21 March 2012 - 05:50 AM

View PostRaoul, on 21 March 2012 - 05:04 AM, said:

even if I didn't understand a word, that's a good example of bootstrap customization ! Did you use any yii extension for bootstrap ?


No, we only used a customized version of CHtml (https://github.com/y...ft/yii/pull/373 ) and a helper function for the control-group divs. Bootstrap does not require lot of markup so we didn't use any extension.
0

#7 User is offline   mbi 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 604
  • Joined: 08-May 09

Posted 21 March 2012 - 07:03 AM

well done, looks good, loads fast
0

#8 User is offline   Tropi 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 73
  • Joined: 30-November 11

Posted 21 March 2012 - 07:15 PM

How did you manage to get the response times that fast? For the index site it just takes ~40ms to load. I mean you probably don't have complex database queries but still this seems very fast to me. Did you take any specific actions to tune that or did it just turn out that well?
0

#9 User is offline   Mike 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 3,013
  • Joined: 06-October 08
  • Location:Upper Palatinate

Posted 22 March 2012 - 02:49 AM

View PostTropi, on 21 March 2012 - 07:15 PM, said:

How did you manage to get the response times that fast? For the index site it just takes ~40ms to load. I mean you probably don't have complex database queries but still this seems very fast to me. Did you take any specific actions to tune that or did it just turn out that well?


It's a combination of several optimizations:

* We serve jQuery from CDN
* We combine all Js and CSS into one file each
* We compress javascript and CSS and add a hash (created from content) to the filename. This way we can let the browser cache this files very long. If the file is updated, the filename will change and the browser fetches the new file. The compressor also does not have to touch the disk on every request - it stores the compressed filenames in cache, too (requires manual flush on deployment)
* All image, css and js files are served with long expire times

Apart from that, bootstrap guarantees pretty lightweight markup, wich reduces pagesize.
1

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users