Arrow_left   Arrow_right
 
  #56 [Story]

Asset Dependencies

    • Status: Fixed
    • Priority: High (2)
    • Component: General Code
    • Type: Enhancement
    • Version: -
    The most recent thing I added is "dependencies". So if you load the "admin" group of resources you can list any dependencies that group has and then those resources will get loaded automatically. This was my solution to not having to have to have a shared resource folder load for all pages.
  • Followers
     
    Ico-users Adam Price (Assigned To) 
     
    Attachments
    No attachments
    Associations
     
    Ticket No. Relation Summary Status Action
    #61 Related Change names of BeP class Invalid  
    #11 Child JS Minification Fixed  
    #112 Child Unused variable in Page Class Fixed  
    Activity
     
    User picture

          on Jun 15, 2009 @ 05:09PM UTC * By Adam Price

    Milestone set to Version 0.5.X
    User picture

          on Jun 15, 2009 @ 05:12PM UTC * By Adam Price

    Assigned to set to aprice30
    Status changed from New to Accepted
    Started work on this, implementing the following features.

    Getting rid of the old public/admin folder structure for assets. All JS/CSS files will be in there own directories. You will be able to group assets (both css and js) in the config. An asset can have dependencies which will be loaded before load the main asset.

    Assets can be loaded either in the header or footer of the document, which will increase load times.

    Also looking into JSMin and CSSTidy to be implemented by default.
    User picture

          on Jun 17, 2009 @ 06:49PM UTC * By Adam Price

    Currently, need to do the following:
    • Fix an issue where the header/footer assets aren't outputted on a view.
    • Finish of the conditional css file support
    • Replace all current BackendPro asset loading with the new implementation
    • Move the asset methods to their own class out of the Site class
    • Move the old stuff in the Page class into the new Site class
    • Rewrite the documentation for the new class(s)
    User picture

          on Jun 18, 2009 @ 04:34PM UTC * By Adam Price

    Severity changed from normal to Normal
    Resolution set to
    Priority changed from Normal (3) to High (2)
    User picture

          on Jun 28, 2009 @ 04:28AM UTC * By Adam Price

    Status changed from Accepted to Fixed
    (In revision:235) The new Asset & Site Libraries finished. Move (I hope) all current BeP code to use the new libraries. Closes #56, #11, #112
    User picture

          on Jul 03, 2009 @ 03:31AM UTC * By Adam Price

    (In revision:236) Fixed some issues with asset styles not being updates. Also corrected the issue with the file system paths being incorrect after install, namely the base_url string in the config file. Closes #67, #91, #124, See #56
    User picture

          on Jul 04, 2009 @ 05:00AM UTC * By Adam Price

    (In revision:243) Added the FlashStatus asset so it loads for the public front end. See #56
    Time Expenditure
    Loading