WebSite Dev
From TorontoMathWiki
Contents |
General
Our new website http://www.math.toronto.edu/cms is based on SilverStripe CMS where CMS =Content Management System. It is php and javascript driven mySQL based. All of our pages are dynamic in the sense that they are cooked on the fly from database records but some of them are more dynamic than others. For example the same data feeds people listings and individual pages like my albeit not all of it is used on either. Individual Pages have a built-in fields for customization: in addition to minimal data currently displayed it has fields to display secondary positions like "Chair" or "Graduate coordinator" or "Canada Research Chair" and honours like "FRSC" or "FRS", it can display photo; and there is currently non-used large Content field for free-form additions
Current version is 2.3+ but we need to update to 2.4
Modules
Currently there are two modules of our own development (based on modules developed by pros)
People
It controls general listing and individual pages
Seminars
It control events and is based on event-calendar, which in turn relies upon dataobject-manager and SWFupload
However in future some other modules will be added. As a very preliminary (developer) version look at
Courses
Undergrad
Undergrad < Breaks after I updated to Silverstripe 2.4. (need to redevelop) Victor 09:48, 22 September 2010 (UTC)
Grad
Grad < Breaks after I updated to Silverstripe 2.4. (need to redevelop) Victor 09:48, 22 September 2010 (UTC)
There is a stripped down People module installed to make one-to-many correspondence Faculty-Section (when instructor is picked up for the section, not only instructor is listed in the section page but also course/section is listed on instructor page (check it)
I would like to hear suggestions! Victor 15:06, 15 January 2010 (UTC)
We may also think about module
Awards & Honours
which would have its own page which will pull data from People Awards and Honours fields
SilverStripe 2.4
This are short notes
- Current 2.4.2
- Comes with theme BlackCandy HTML5 (vs XHTML1.1strict in the previous versions)
- We may or may not switch to HTML5
- Pro
- HTML5 is endorsed by major players. Meanwhile XHTML is considered by many as too restrictive (but hard work can overcome many if not all restrictions)
- Contra
- It is experimental; w3c validator validates it but with Warning of the experimental nature and does not provide "plaque
- Does not like px or . : width="50" is correct but width="50px"or width="50.1" are not (change from XHTML1.1
- Loved by losers who cannot follow standards (but some losers like those who run [1] or [2] so far have not switched to it to get an absolution
- Pro
- We may or may not switch to HTML5
- Comes with theme BlackCandy with CSS2.1 (no changes)
- CSS3 is experimental
- Does not have inner Search Engine enabled. To enable put in mysite/_config.php
FulltextSearchable::enable();
Victor 15:10, 16 January 2010 (UTC)