ALPS

ALPS

The ALPS CDN is Here

alps-cdnOne of the core concepts of ALPS is to deliver the most up-to-date version of the pattern library to every website. As we considered this challenge, we quickly realized that if every website kept a local copy of ALPS in their theme folder, updating would become nearly impossible. To get the latest code, each site owner would need to keep their themes updated.

After some consideration, we decided that the best method to reach our goal is a CDN. CDN’s, or Content Distribution Networks”, are networks of distributed servers around the globe that serve the content larger pieces of a website from a server that is closer to the end user. When you load an image from Facebook, chances are it’s not coming from a server in Menlo Park, California, but from one of hundreds of server farms located around the world. CDN’s are great for serving images, CSS and Javascript, especially across a network of sites.

The ALPS CDN

So if you are building a site using ALPS, now is the time. The ALPS CDN serves the latest version of the ALPS CSS and Javascript, directly to your site. You can find all the links on alps.adventist.io. Just include a few lines in the <head> tag of your site and a few lines just below the closing </body> tag and your pages will always get the latest version.

Versioning

As ALPS develops, we recognize that we will be adding new patterns that we haven’t realized we need yet. (And some of those patterns might come from you!) At the same time we don’t want to break existing patterns, so as you link to the CDN, you will be able to link to files from a specific major version, currently version 2. Down the road, when we start making changes that we think will drastically change your site, such as changing the design, we will create a new version number that you can update your designs to.

Now it’s time for the fun to get started. We can’t wait to see what you build with ALPS! If you have any questions, don’t hesitate to post in the issue queue or join our Slack channel (#designsystem) on the GAiN Slack account.


One comment

  • | 1 year ago

    Excellent. Proud of the progress and thinking behind this project.

Leave a Comment

Your email address will not be published. Required fields are marked *