![]() For example if you use the default starter kit of Gatsby communicating with Drupal backend, you only need the backend to be up during the build time. So you can take that folder and deploy it on any server with Apache or nginx like server to serve the requests. What this means is that the public folder that is created during the build time will function as a static website. Gatsby is static site generator, so what are the scenarios where I can use Gatsby? ![]() In JAM stack markup is generally prebuilt at the deploy time. Markup : You will using the Markup or HTML/css for the front end. One more advantage is that in the front end you can make use of your own APIs as well as any third party APIs. Think AJAX.ĪPIS : Any interaction with the backend is abstracted into reusable APIs. Javascript : Javascript is used for the client side interactions, better handling of dynamic rendering of elements on the client side and also for interaction with the backend if any. This is not entirely true but JAM stack tries to combine the ease of static sites along with the dynamicness provided by APIs. JAMstack is “a modern web development architecture based on client-side JavaScript, reusable APIs, and prebuilt Markup.” In a crude analogy you can think of it like the static files deployment that you were doing if you were in software development say a decade ago. If you have already made your decision just visit the Setting up Gatsby section. I will just link to them here instead of repeating and answer the questions that I had when following them. There are many todo articles that already explain how to get started with Drupal and Gatsby.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |