Squarespace Announces Local Development Server
engineering.squarespace.com
Squarespace Announces Local Development Server
1–10 of 41 posts
Re: Squarespace Announces Local Development Server
#2This is a great opportunity for those who have tried to teach themselves web basics before to actually add stuff to their own sites and really expand their skillset.
I've been working on my own thing similar to this for HubSpot, having to edit using a clunky CMS live in production is super scary. I really would like to live in a world where most "we make X easier to do" companies release things like this to let people who know how to do it by hand do it faster.
Re: Squarespace Announces Local Development Server
#3Re: Squarespace Announces Local Development Server
#4Re: Squarespace Announces Local Development Server
#5It's competing in a world where Wordpress is open source and is powering over 26% of the world's websites: https://w3techs.com/technologies/overview/content_management...
Re: Squarespace Announces Local Development Server
#6Re: Squarespace Announces Local Development Server
#7...interesting.
Re: Squarespace Announces Local Development Server
#8Why would a developer want to see a cached version of a page? A developer using this is actively developing the look and feel of the site so presumably would want to see the live version. This makes no sense and would only cause issues ("But it looked fine when I tested it locally a minute ago?!").
> The Development Server is built with Java using the Dropwizard framework. It takes advantage of our open-sourced JSON-T compiler and Less compiler. It’s packaged and distributed over NPM using a set of install scripts that detect the target platform and ensure Java is configured correctly. It’s built to be cross-platform, so Windows, Linux, and Mac developers can all take advantage of the efficiencies the Dev Server provides.
If this is really targeted for developers why not just make it a portable executable for each platform (rather than requiring a node install to just fetch the server)?
Alternatively, npm should install pip, use that to install cpan, use that to install gem, use that to install docker, and finally load the server from a container (which does the same series of npm/pip/cpan/gem installers run on Ubuntu 16.04 and then downloads a binary tarball of the app).
Re: Squarespace Announces Local Development Server
#9This is amazing news though! Hoping the next step is to expose a content manipulation api :)
Re: Squarespace Announces Local Development Server
#10> The first time you access a local template, it will take a while to load as the server fetches the site content. However, once the content has been cached, subsequent requests will complete more quickly until you terminate the server. If you need to invalidate the cache (because you’ve updated your website in the online editor, for example) you can use the ?nocache=true query parameter on any URL. Why would a devel…