framework

Sitecore 9 and my simple development framework version 2.1

HAPPY LUNAR NEW YEAR! My simple development framework version 1.8 (for Sitecore 8) was out a few days ago. I’ve just merged things below of version 1.8 to version 2.1 (for Sitecore 9):

  • Adapting new Unicorn 4’s feature: modular architecture friendly configuration
  • Integrating Site-Specific Error Handle module and putting the content into cache as well
  • Adding Multisolution project (Foundation layer) in order to support multi-solution in one Sitecore instance better
  • Adding one more gulp task 00-Init-Configuration:
    • copy/paste RewriteRules.config and RewriteMaps.config if they’re non-existent in Sitecore website root for the very first deploy
    • delete the directory of all patching config files so that we’re NOT worry about the issues due to redundant ones on every single deploy
  • Updating project templates

Any new updates?

There are some new updates against with this version as well:

  1. Upgrading Sitecore References via Nuget from Sitecore 9.0.0 to Sitecore 9.0.1 ones
    • sf21_3.png
  2. Playing with Sitecore 9, we can easily control the load order of configuration files (learn more about configuration layers)
    • this one addresses the issues with configs loading alphabetically if we’re playing with Helix principles and suggests how to correct the load order. Be noticed that we should have a chance to replace Unicorn’s config values as well by putting Unicorn’s one above our custom one
    • sf21_1
  3. For a better performance on local developer machine (at least in my opinion), we should put Sitecore’s data folder outside the webroot by updating 00-Init-Configuration gulp task:
    • create data folder if non-existent then copy / paste \App_Data\license.xml into it
    • sf21_2

Additional ones

Happy Sitecore Coding!

Advertisement

2 thoughts on “Sitecore 9 and my simple development framework version 2.1

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.