310 likes | 409 Views
Website Overview. Todd Harris ( harris@cshl.edu ). Website Milestones. 20 releases (3 frozen) User Survey (670 respondents) Community, outreach, coordination 4 new genomes Website redesign. 40%. of users are grads. 54%. Yearly(4%). Montly (6%). use WormBase daily. Weekly (35%).
E N D
Website Overview Todd Harris (harris@cshl.edu)
Website Milestones 20 releases (3 frozen) User Survey (670 respondents) Community, outreach, coordination 4 new genomes Website redesign
40% of users are grads
54% Yearly(4%) Montly (6%) use WormBase daily Weekly (35%) Daily (54%)
U.S.A. Canada U.K. Japan Germany China France South Korea Switzerland The Netherlands 55.2% 7.3% 4.5% 5.3% 5.3% 3.6% 2.1% 1.3% 2.0% 1.2%
Scope 187 scripts - ~280K lines of code 103 classes - unique displays for most Displays, searches, analysis
Community & Outreach Discussion (forums) SOPs & FAQs (Wiki)
Staying Up-To-Date Mailing lists RSS
Staying Up-To-Date twitter.com/wormbase
Project Coordination Basecamp (37signals.com)
The Road Ahead: A modern web application
what we have hardware platform sophisticated caching & load balancing failover horizontal scaling virtualization 24/7/365 uptime
Barnacles what we have software platform Square wheels Knots
Barnacles monolithic CGIs (Perl) fast development, few strictures many coders, many styles many hacks == many bugs what we have software platform Lots of maintenance
Square Wheels rolled our own insufficient tests introduces instability what we have software platform Slows us down
Knots intermixed logic: application business display what we have software platform Difficult to unplug just one
what we have software platform Square wheels Knots Barnacles Doesn’t scale: performance or team
Strategy • Use a web framework • Employ deliberate design • Convert site & maintain current structure
1. Use a web framework • Hard tasks easy, easy tasks automatic • Enforce structure & coding style • Flexible and maintainable • Extend resources • Due diligence: RoR, CGI::Application, Catalyst
The Catalyst Framework • Catalyst (catalyst.perl.org) • Open source • Model - View - Controller separation • Active community • Perl - can reuse good parts
2. Deliberate design (I) Generic: database & species Web 2.0 Influences User-configurable and interactive Community knowledge: tagging and trends API: mining & integration (REST interface) Multiple Formats: HTML, PDF, XML, JSON
Deliberate design (II) Borrow from Information Architecture, Usability, Graphic Design. Include extensive tests Open platform: core, plugins. Increase: usability, readability, absorbability
The current siteis page-based improve readability of the data
Keep this Discard this strategy: 2. current site as guide
Sections = Widgets improve readability of the data functional unit: content not page
get some REST! A Gene Report: /gene/unc-2/report ...as PDF: /gene/unc-2/report/pdf All alleles: /gene/unc-2/alleles
75%converted 3. conversion progress lines current refactored
Scraping The Hull Cleaner, simpler code 5x fewer barnacles lines current refactored
4. Roadmap current 2.0 (classic) 2.0 (new) Select pages, old look, new structure Begin demonew UI Full site in new structure; phase out old Release new UI