PHOTO-2022-08-06-13-39-03

Gatsby makes a new approach to web development easy – TechRepublic

Register for your free TechRepublic membership or if you are already a member, sign in using your preferred method below.
We recently updated our Terms and Conditions for TechRepublic Premium. By clicking continue, you agree to these updated terms.
Invalid email/username and password combination supplied.
Current TechRepublic, ZDNet, or former Tech Pro Research users, you may log in here with your credentials.
An email has been sent to you with instructions on how to reset your password.
By registering, you agree to the Terms of Use and acknowledge the data practices outlined in the Privacy Policy.
You will also receive a complimentary subscription to TechRepublic’s News and Special Offers newsletter and the Top Story of the Day newsletter. You may unsubscribe from these newsletters at any time.
Username must be unique. Password must be a minimum of 6 characters and have any 3 of the 4 items: a number (0 through 9), a special character (such as !, $, #, %), an uppercase character (A through Z) or a lowercase (a through z) character (no spaces).
Gatsby makes a new approach to web development easy
Your email has been sent
Commentary: Jamstack’s modern approach to web development used to come with a caveat. With Gatsby 4, that caveat is gone.

Image: NDAB Creativity/Shutterstock

So much of what we consider enterprise software today was once derided as hobbyist toys. Though it’s not exclusively an open source phenomenon, it’s perhaps most obvious in open source projects like Linux or MySQL, which seem so inappropriate for serious enterprise use at first, then grow to become defaults for enterprise use. Something similar is happening in web development. 
SEE: The best programming languages to learn–and the worst (TechRepublic Premium)
Not so long ago, static site generator (SSG) frameworks like open source Gatsby were considered limited to simple applications like blogs or documentation sites. The problem was performance. SSGs were lightning fast because they rendered websites as files, but that speed broke down once a website moved beyond 10 to 1,000 pages and scaled to 10,000 or 100,000 pages. Suddenly the compilation process got really slow. 
Well, that was then, and this is now.
Projects like Gatsby increasingly challenge the notion that enterprises would need, much less want, a heavy-duty, all-in-one-but-master-of-none CMS like WordPress or Sitecore. Not when they can get best-of-breed: a headless CMS like Contentful as a back-end, API-driven content store; Stripe for payments, Gatsby for front-end presentation, etc. Indeed, this relatively new Jamstack approach may be setting a new standard for web development. Perhaps most importantly for developers, with Gatsby 4, there’s no longer a need to bet on SSG over server-side rendering (SSR). With Gatsby 4, you can have both.
But that’s not where developers start. The world has lived in traditional CMSes for so long that developers will usually turn to something like WordPress for their work projects. WordPress, for example, is the CMS behind 39.6% of websites. When developers build for fun, however, they look to something like Gatsby, an open source framework for building websites with React. Gatsby is also the name of the company that does most of the development on the project, while also offering a cloud service to make it easier to get started with Gatsby, and also to keep going. 
SEE: How to build a successful developer career (free PDF) (TechRepublic)
As Gatsby project and company co-founders Kyle Mathews and Sam Bhagwat explained in an interview, the company keeps pushing to make Gatsby easier and more powerful to use.
On the “easier” side, for years the company has offered Starters, which are open source, pre-built Gatsby sites with dummy content to enable a developer to start using Gatsby with minimal learning curve. How useful are Starters for a would-be Gatsby user? “That’s where everyone starts,” Mathews noted. “They’re like, ‘What’s this Gatsby thing? I’ll rebuild my portfolio.’ And they’re like, ‘Oh, that was fun. I’ll suggest it at work.’ That’s a story we hear over and over again, and it’s not going to stop.” 
To ensure developers don’t choose Gatsby for its ease of use and then abandon it because of performance deficiencies, the company has continuously (and dramatically) improved Gatsby’s performance, introducing things like Gatsby Builds (resulting in as much as 1,000X build speed improvement) and, more recently, delivering improvements in Gatsby 4 through things like Deferred Static Generation and Parallel Query Processing in Gatsby Cloud, netting another 10X performance boost by dramatically lowering the amount of time it takes to compile the files necessary to render the site. For developers, this means they’re no longer locked out of modern application development when it comes to website development. 
Of course, it’s still a step of faith for developers steeped in a traditional CMS’s SSR approach to delivering dynamic web pages. With the introduction of Gatsby 4, however, no faith is required. Gatsby has added the ability to use SSR, in addition to static site generation. With one deft move, one of the primary reasons not to use Gatsby was removed, creating an “escape hatch” for developers who wanted to use Gatsby but didn’t want the blame if SSR became necessary (or was perceived to be so). 
Developers will still choose SSG, the founders believe, but “server-side rendering is the all-purpose escape hatch in web development because you can do anything in that mode.” Its addition makes it easy to choose Gatsby … and stay with it. 
SEE: You can learn web development with MySQL, PHP, GitHub, .NET, Blazor and Heroku (TechRepublic Academy)
This inclusion keeps to a core theme within Gatsby’s progress: increasing levels of developer empowerment. In fact, the whole premise behind Gatsy/Jamstack is to give developers control of their development experience again. According to Mathews, “Developers want a more flexible way to build websites”; a way out of the traditional monoliths with their vertically integrated stack of tools that get you “stuck in that world.” The Jamstack, by contrast, allows a developer to take a best-of-breed approach, using a preferred presentation framework (Gatsby or Vue.js or many others), their headless CMS of choice, etc. “It’s like the CMS has been dismantled but people still want the CMS,” Mathews went on. That is, they want the benefits of the CMS but not its inflexible approach.
And now, with the introduction of SSR, developers don’t even need to choose between their comfortable CMS approach to site rendering or Jamstack’s more modern approach. Concluded Bhagwat, with Gatsby 4 “You can go anywhere on the [static vs. dynamic/SSR] spectrum you want. … You can server-side render so a server can respond to every request if you want, or you can render some part of your pages every time content changes and defer the rest.”
It’s about making it easy to choose a more modern way to build the web, and Gatsby is on the vanguard.
Disclosure: I work for MongoDB, but the views expressed herein are mine.
Gatsby makes a new approach to web development easy
Your email has been sent
Your message has been sent
Google Tasks has never had a solid interface … until now. Jack Wallen shows you how to turn Tasks into a kanban board-like workflow with the help of TasksBoard.
Don’t pack your bags and move to Bozeman yet. This micro-scale warp bubble won’t be capable of propulsion, but it could have myriad other applications, says its discoverer Dr. Sonny White.
Based on job demand, Python is the top language, followed by Java, JavaScript, C++, C# and C, says CodingNomads.
If you’re not certain whether your Java project is free from Log4j vulnerabilities, you should try this easy-to-use scanning tool immediately.
If you missed in-person tech events in 2020 and 2021, here’s some good news: It’s looking promising that in 2022 many conferences will get back to (almost) normal.
The comprehensive bundle covers a range of subjects, including app development, game development, machine learning, computer vision, deep learning, NFTs, Java and website building.
The concept of a metaverse, or a computer-generated universe, has been around for decades, certainly longer than when it was recently commandeered by Mark Zuckerberg in his attempt to rebrand Facebook as a new company called Meta. Massively multiplayer games, which can be classified as early metaverses, have been widely available to the gaming public …
The OneDrive Cloud Usage Policy from TechRepublic Premium defines the practices and behaviors organization representatives must follow when using any Microsoft OneDrive Cloud file storage account to execute organization services, process organization data, or access or store organization information. Whether organization representatives access Microsoft OneDrive file storage capabilities using an organization-provided, organization-reimbursed or personal OneDrive …
The iCloud Usage Policy from TechRepublic Premium defines the practices and behaviors organization representatives must follow when using any Apple iCloud account to execute organization services, process organization data, or access or store organization information. Whether organization representatives access Apple iCloud services — including file storage capabilities — using an organization-provided, organization-reimbursed or personal iCloud …
Oracle Linux is certainly a viable option for anyone looking to replace CentOS. It’s also one of the best distributions for using with the Oracle Database. This is especially true for those users who tend to go the TL:DR route. In fact, I walked away from my Oracle Linux testing seriously impressed. The OS was …

source

Leave a Reply

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