+ Post New Thread
Results 1 to 4 of 4
Home Access Plus+ Thread, Booking System: Multiple Schools in Projects:; Nick, you'll hate me for this because (at least to me) this request is a huge structural change. This would ...
  1. #1

    Join Date
    May 2013
    Posts
    65
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Booking System: Multiple Schools

    Nick, you'll hate me for this because (at least to me) this request is a huge structural change. This would probably be a good candidate for version 9.3.

    Districts with multiple schools tend to have multiple schedules. For example, my high school has 4 lessons a day, my middle school has 8, and my elementary schools (I'm pretty sure) don't do block lessons. I'll have to ask about that.

    This is what I'm thinking. Thoughts?

    HTML Code:
    <bookingsystem admins="District HAP Booking Admins" keepxmlclean="True">
    
      <school name="HS1" admins="HS1 HAP Booking Admins" maxbookingsperweek="50" maxdays="14" twoweektimetable="False" enablemultilesson="false" maxmultilesson="0">
        <resources>
          <resource name="Library Lab" type="Room" admins="HS1 HAP Booking Admins Library Lab" enabled="True" emailadmins="False" enablecharging="False" showto="District HAP Booking Admins,HS1 HAP Booking Admins,HS1 Staff" hidefrom="" years="HS1" quantities="30" readonlyto="" readwriteto="" disclaimer="I understand that a single group of students performing groupwork may require more than one computer, and the quantity I am reserving reflects that fact: " canshare="True" enablenotes="true" />
          <resource name="General Lab" type="Room" admins="HS1 HAP Booking Admins General Lab" enabled="True" emailadmins="False" enablecharging="False" showto="District HAP Booking Admins,HS1 HAP Booking Admins,HS1 Staff" hidefrom="" years="HS1" quantities="50" readonlyto="" readwriteto="" disclaimer="" canshare="True" enablenotes="true" />
          <resource name="Laptop Cart" type="Room" admins="HS1 HAP Booking Admins Laptop Carts" enabled="True" emailadmins="False" enablecharging="False" showto="District HAP Booking Admins,HS1 HAP Booking Admins,HS1 Staff" hidefrom="" years="HS1" quantities="25" readonlyto="" readwriteto="" disclaimer="When finished, (1) I will instruct my students to shutdown (not just close the lid), and (2) I will personally make sure that each laptop is plugged in when it's returned to the cart so that they will charge for the next use." canshare="True" enablenotes="true" />
        </resources>
        <lessons>
          <lesson name="Period 1" type="Lesson" starttime="7:35 AM" endtime="9:03 AM" />
          <lesson name="Period 2" type="Lesson" starttime="9:08 AM" endtime="10:31 AM" />
          <lesson name="Period 3" type="Lesson" starttime="10:36 AM" endtime="12:34 PM" />
          <lesson name="Period 4" type="Lesson" starttime="12:39 PM" endtime="2:05 PM" />
        </lessons>
        <subjects>
          <subject name="Art" />
          <subject name="Business" />
          <subject name="Central Office" />
          <subject name="English and Language Arts" />
          <subject name="Extra Curricular" />
          <subject name="General Lab" />
          <subject name="Health and Physical Education" />
          <subject name="Life Management" />
          <subject name="Mathematics" />
          <subject name="Media Center" />
          <subject name="Music" />
          <subject name="Science" />
          <subject name="Social Studies" />
          <subject name="Special Services" />
          <subject name="Study Hall" />
          <subject name="Technology Education" />
          <subject name="World Language" />
        </subjects>
      </school>
    
      <school name="MS1" admins="MS1 HAP Booking Admins" maxbookingsperweek="50" maxdays="14" twoweektimetable="False" enablemultilesson="false" maxmultilesson="0">
        <resources>
          <resource name="Library Mac Lab" type="Room" admins="MS1 HAP Booking Admins Library Labs" enabled="True" emailadmins="False" enablecharging="False" showto="District HAP Booking Admins,MS1 HAP Booking Admins,MS1 Staff" hidefrom="" years="MS1" quantities="30" readonlyto="" readwriteto="" disclaimer="I understand that a single group of students performing groupwork may require more than one computer, and the quantity I am reserving reflects that fact: " canshare="True" enablenotes="true" />
          <resource name="Library PC Lab" type="Room" admins="MS1 HAP Booking Admins Library Labs" enabled="True" emailadmins="False" enablecharging="False" showto="District HAP Booking Admins,MS1 HAP Booking Admins,MS1 Staff" hidefrom="" years="MS1" quantities="50" readonlyto="" readwriteto="" disclaimer="" canshare="True" enablenotes="true" />
          <resource name="General Lab" type="Room" admins="MS1 HAP Booking Admins Computer Labs" enabled="True" emailadmins="False" enablecharging="False" showto="District HAP Booking Admins,MS1 HAP Booking Admins,MS1 Staff" hidefrom="" years="MS1" quantities="50" readonlyto="" readwriteto="" disclaimer="" canshare="True" enablenotes="true" />
          <resource name="MacBook Cart" type="Room" admins="MS1 HAP Booking Admins Laptop Carts" enabled="True" emailadmins="False" enablecharging="False" showto="District HAP Booking Admins,MS1 HAP Booking Admins,MS1 Staff" hidefrom="" years="MS1" quantities="25" readonlyto="" readwriteto="" disclaimer="When finished, (1) I will instruct my students to shutdown (not just close the lid), and (2) I will personally make sure that each laptop is plugged in when it's returned to the cart so that they will charge for the next use." canshare="True" enablenotes="true" />
        </resources>
        <lessons>
          <lesson name="Period 1" type="Lesson" starttime="8:10 AM" endtime="8:55 AM" />
          <lesson name="Period 2" type="Lesson" starttime="8:55 AM" endtime="9:40 AM" />
          <lesson name="Period 3" type="Lesson" starttime="9:40 AM" endtime="10:25 AM" />
          <lesson name="Period 4" type="Lesson" starttime="10:55 AM" endtime="11:40 AM" />
          <lesson name="Period 5" type="Lesson" starttime="11:40 AM" endtime="12:25 PM" />
          <lesson name="Period 6" type="Lesson" starttime="12:25 PM" endtime="1:10 PM" />
          <lesson name="Period 7" type="Lesson" starttime="1:10 PM" endtime="1:55 PM" />
          <lesson name="Period 8" type="Lesson" starttime="1:55 PM" endtime="2:40 PM" />
        </lessons>
        <subjects>
          <subject name="Art" />
          <subject name="Geography" />
          <subject name="Health and Physical Education" />
          <subject name="History" />
          <subject name="Math" />
          <subject name="Music" />
          <subject name="Reading/Writing" />
          <subject name="Science" />
          <subject name="Social Studies" />
          <subject name="Special Services" />
          <subject name="Technology Education" />
          <subject name="World Cultures" />
          <subject name="World Languages" />
        </subjects>
      </school>
    
      <school name="ES1" admins="ES1 HAP Booking Admins" maxbookingsperweek="80" maxdays="14" twoweektimetable="False" enablemultilesson="false" maxmultilesson="0">
        <resources>
          <resource name="Library Lab" type="Room" admins="ES1 HAP Booking Admins Library Lab" enabled="True" emailadmins="False" enablecharging="False" showto="District HAP Booking Admins,ES1 HAP Booking Admins,ES1 Staff" hidefrom="" years="ES1" quantities="30" readonlyto="" readwriteto="" disclaimer="" canshare="True" enablenotes="true" />
          <resource name="General Lab" type="Room" admins="ES1 HAP Booking Admins General Lab" enabled="True" emailadmins="False" enablecharging="False" showto="District HAP Booking Admins,ES1 HAP Booking Admins,ES1 Staff" hidefrom="" years="ES1" quantities="50" readonlyto="" readwriteto="" disclaimer="" canshare="True" enablenotes="true" />
          <resource name="MacBook Cart" type="Room" admins="ES1 HAP Booking Admins Laptop Carts" enabled="True" emailadmins="False" enablecharging="False" showto="District HAP Booking Admins,ES1 HAP Booking Admins,ES1 Staff" hidefrom="" years="ES1" quantities="25" readonlyto="" readwriteto="" disclaimer="When finished, (1) I will instruct my students to shutdown (not just close the lid), and (2) I will personally make sure that each laptop is plugged in when it's returned to the cart so that they will charge for the next use." canshare="True" enablenotes="true" />
        </resources>
        <lessons>
          <lesson name="9:00" type="Lesson" starttime="9:00 AM" endtime="9:30 AM" />
          <lesson name="9:30" type="Lesson" starttime="9:30 AM" endtime="10:00 AM" />
          <lesson name="10:00" type="Lesson" starttime="10:00 AM" endtime="10:30 AM" />
          <lesson name="10:30" type="Lesson" starttime="10:30 AM" endtime="11:00 AM" />
          <lesson name="11:00" type="Lesson" starttime="11:00 AM" endtime="11:30 AM" />
          <lesson name="11:30" type="Lesson" starttime="11:30 AM" endtime="12:00 PM" />
          <lesson name="12:00" type="Lesson" starttime="12:00 PM" endtime="12:30 PM" />
          <lesson name="12:30" type="Lesson" starttime="12:30 PM" endtime="1:00 PM" />
          <lesson name="1:00" type="Lesson" starttime="1:00 PM" endtime="1:30 PM" />
          <lesson name="1:30" type="Lesson" starttime="1:30 PM" endtime="2:00 PM" />
          <lesson name="2:00" type="Lesson" starttime="2:00 PM" endtime="2:30 PM" />
          <lesson name="2:30" type="Lesson" starttime="2:30 PM" endtime="3:00 PM" />
          <lesson name="3:00" type="Lesson" starttime="3:00 PM" endtime="3:30 PM" />
        </lessons>
        <subjects>
          <subject name="Kindergarten" />
          <subject name="Grade 1" />
          <subject name="Grade 2" />
          <subject name="Grade 3" />
          <subject name="Grade 4" />
          <subject name="Grade 5" />
        </subjects>
      </school>
    
      <school name="ES2" admins="ES2 HAP Booking Admins" maxbookingsperweek="80" maxdays="14" twoweektimetable="False" enablemultilesson="false" maxmultilesson="0">
        <resources>
          <resource name="Library Lab" type="Room" admins="ES2 HAP Booking Admins Library Lab" enabled="True" emailadmins="False" enablecharging="False" showto="District HAP Booking Admins,ES2 HAP Booking Admins,ES2 Staff" hidefrom="" years="ES2" quantities="30" readonlyto="" readwriteto="" disclaimer="" canshare="True" enablenotes="true" />
          <resource name="General Lab" type="Room" admins="ES2 HAP Booking Admins General Lab" enabled="True" emailadmins="False" enablecharging="False" showto="District HAP Booking Admins,ES2 HAP Booking Admins,ES2 Staff" hidefrom="" years="ES2" quantities="50" readonlyto="" readwriteto="" disclaimer="" canshare="True" enablenotes="true" />
          <resource name="MacBook Cart" type="Room" admins="ES2 HAP Booking Admins Laptop Carts" enabled="True" emailadmins="False" enablecharging="False" showto="District HAP Booking Admins,ES2 HAP Booking Admins,ES2 Staff" hidefrom="" years="ES2" quantities="25" readonlyto="" readwriteto="" disclaimer="When finished, (1) I will instruct my students to shutdown (not just close the lid), and (2) I will personally make sure that each laptop is plugged in when it's returned to the cart so that they will charge for the next use." canshare="True" enablenotes="true" />
        </resources>
        <lessons>
          <lesson name="9:00" type="Lesson" starttime="9:00 AM" endtime="9:30 AM" />
          <lesson name="9:30" type="Lesson" starttime="9:30 AM" endtime="10:00 AM" />
          <lesson name="10:00" type="Lesson" starttime="10:00 AM" endtime="10:30 AM" />
          <lesson name="10:30" type="Lesson" starttime="10:30 AM" endtime="11:00 AM" />
          <lesson name="11:00" type="Lesson" starttime="11:00 AM" endtime="11:30 AM" />
          <lesson name="11:30" type="Lesson" starttime="11:30 AM" endtime="12:00 PM" />
          <lesson name="12:00" type="Lesson" starttime="12:00 PM" endtime="12:30 PM" />
          <lesson name="12:30" type="Lesson" starttime="12:30 PM" endtime="1:00 PM" />
          <lesson name="1:00" type="Lesson" starttime="1:00 PM" endtime="1:30 PM" />
          <lesson name="1:30" type="Lesson" starttime="1:30 PM" endtime="2:00 PM" />
          <lesson name="2:00" type="Lesson" starttime="2:00 PM" endtime="2:30 PM" />
          <lesson name="2:30" type="Lesson" starttime="2:30 PM" endtime="3:00 PM" />
          <lesson name="3:00" type="Lesson" starttime="3:00 PM" endtime="3:30 PM" />
        </lessons>
        <subjects>
          <subject name="Kindergarten" />
          <subject name="Grade 1" />
          <subject name="Grade 2" />
          <subject name="Grade 3" />
          <subject name="Grade 4" />
          <subject name="Grade 5" />
        </subjects>
      </school>
    
    </bookingsystem>

  2. #2
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,468
    Thank Post
    37
    Thanked 483 Times in 415 Posts
    Rep Power
    109
    Too big of a job that one, plus certain things in HAP+ are single site only.

    Recommendations are to have multiple HAP+ installs, i.e. /hap-high/, /hap-mid/, /hap-elem/

  3. #3

    Join Date
    May 2013
    Posts
    65
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Quote Originally Posted by nickbro View Post
    Too big of a job that one, plus certain things in HAP+ are single site only.
    How about this alternative? Grab different config file based on URL. That way we can maintain the user HTTP sessions.
    Code:
    https://hap.example.com/hap/BookingSystem/?school=high --> /App_Data/schools/high/hapconfig.xml
    https://hap.example.com/hap/BookingSystem/?school=mid  --> /App_Data/schools/mid/hapconfig.xml
    https://hap.example.com/hap/BookingSystem/?school=elem --> /App_Data/schools/elem/hapconfig.xml
    We could even merge configs. An admin could have the default hapconfig.xml, but then, HAP could overwrite (in memory, not the file system) the default XML tags with the school-specific ones (if they exist) before applying the settings, so if the admin wants to keep most of the default settings, but only change the <bookingsystem> or <resources> elements, he can do so.

    This solution changes the task from major restructuring to just replacing XML elements (in memory, not the file system) before applying the config.

    Code:
    if ( (HTTP_VAR['school'] != NULL) && fileExists('/App_Data/schools/' + escapeAndStripDoubleDotsSlashesEtc(HTTP_VAR['school']) + '/hapconfig.xml') ) {
        //merge configuration file in memory before applying it
    } else {
        //don't do anything
    }
    In that case, the admin would add multiple booking system links on the home page each showed to different groups and each linking to a different URL.

    How about that? That's not too bad, is it?
    Last edited by Arkaine; 29th May 2013 at 05:34 PM.

  4. #4

    Join Date
    May 2013
    Posts
    65
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Quote Originally Posted by nickbro View Post
    Recommendations are to have multiple HAP+ installs, i.e. /hap-high/, /hap-mid/, /hap-elem/
    Thanks! This is what I will probably end up doing.

SHARE:
+ Post New Thread

Similar Threads

  1. School booking system on Server 2008 R2
    By timbo343 in forum Windows Server 2008 R2
    Replies: 5
    Last Post: 14th March 2014, 03:19 PM
  2. Multiple booking systems
    By beneal in forum Home Access Plus+
    Replies: 2
    Last Post: 24th August 2012, 03:25 PM
  3. Devizes School Room Booking System Active Directory Help
    By has in forum How do you do....it?
    Replies: 3
    Last Post: 23rd August 2012, 09:40 AM
  4. Devizes School Online Booking System
    By plock in forum Network and Classroom Management
    Replies: 33
    Last Post: 9th September 2009, 10:09 AM
  5. Schools without IT Booking system
    By Outpost in forum Network and Classroom Management
    Replies: 14
    Last Post: 5th May 2009, 09:57 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •