We had such a great time collaborating with Fireship to create this video. Thank you to everyone for watching, we look forward to seeing all of your awesome Sanity projects! To show our thanks, enjoy the free boosted plan with extra quotas! 🔥
@@sanity_io I have a question, what's the difference between an API and sanity, cuz before creating any site I usually create api then move on to front end and I can consume the content from any platform, so what sanity's purpose in this
@@ezra6094 She gave nothing in those 20 minutes. Just ran an install command and copied a total of 4-5 lines of code from a documentation page. The rest was all marketing fluff
I don't understand people complaining about or even jokingly complaining about this video being 24 minutes. He explains it briefly in 100 seconds as promised and if you want a more detailed explanation, you can watch the rest of the video. This isn't even something new he's done.
@@sanity_io It doesn't look enough like "Wordpress". The left menu could be more narrow while the submenu are opened. I don't feel like it's necessary to see the listing while we're on the detail page. Maybe having an option to keep switch between both view. Also the idea of having a modal inside a modal inside a modal isn't always intuive for our content team.
I have used Sanity CMS for a couple of projects, and I love it. Definitely recommend it. Sanity is one of the rare Headless CMS both Clients & Developers love.
@Nolly First, I create my project in my account. Then ask them to create an account and I will transfer the project to them. Code is hosted on github and hosted on vercel. All of these can be transferred to new owner if needed.
hmm it depends on the depend on the app u build with it documents are a bit limited , for a online forum app storing comments and threads in sanity is not the way ithink u need to use firebase or something else with it
@nested9301 Don’t use this as advice but I’m quite convinced there are better solutions for the data storage of a forum. Keep in mind that Sanity is intended for content management rather than a database for platform user data :/
suggestion for structuring a video like this: start at the end and show what you're gonna end up with right at the start. that way I can better judge how relevant the video is to me. Thank y'all for the video.
Haaaa you made a double entendre on the basis that it could apply both to the tool being discussed and to the guest discussing it because she is an attractive lady!! Very good.
@Fireship how about a video on "I tried building the same backend server in different nodejs frameworks". Like using fastify, hapi, koa, nest, express etc.
Fun fact: Fireship is always updated with the best content even with content we don’t know about! Thank you so much we really get to learn a lot of things! Edit: Thank you so much for the ❤️. Edit 2: Aaaah I edited and now my heart is gone 😒😞
ME: Eh this looks really cool but as a singer I probably won’t have much use for it in my website KAPEHE: “it could be the music tracks for a singer” ME: I am sold
Lots of options in this space... GraphCMS, Strapi, and Netlify CMS to name a few more. Contentful is more polished, but Sanity has better pricing and overall dev experience imo.
Try both out on dummy projects, Joe! Though I think as a developer, you'll probably be more drawn to Sanity's schema tweaking, which is done entirely in the codebase.
@@tim_t Perhaps even in addition to source code schema manip, in order to allow, e.g., constraints on relations? Just a thought, don’t even know whether this already exists. Curious to hear your thoughts or anyone else’s who reads this comment.
@@Fireship Question is for how long the prices will be this attractive, especially if you dive into bigger project that might span over a couple of years.
You have the weirdest timing. I've been developing my own CMS for a few weeks now :P Somehow your videos are always hyper relevant to whatever I'm doing :P
I'll be honest. Nothing about content platforms as presented is particularly amazing to me. APIs are not a new concept and you can design your projects to serve their data as APIs. You'll still have to build the markup (which was conveniently left out in the example in the video). However, everything related to image manipulation was great. Maybe that's the product they should be selling.
Personally the use case I’ve had for headless CMS is for static websites where it’d be a pain to have to go into the HTML for every small change, or regenerate and redeploy a static website etc. Wouldn’t say they’re “amazing” as a concept, just very useful to keep content separated from the markup without having to build my own API.
I thought I'm wrong.But atleast I found someone thinking like me. Why they over projecting these headless CMS so great. We can easily do the same using PYTHON Django admin console ? Or any other back end with our own APIs n have great control of APIs
@@tummalasudhir7918 I mean I get your point from developer standpoints that CMSs don't make sense because you can just write in markdown or whatever. But if you guys ever started freelancing for a client that has zero coding know-how, you'd realize the value that these CMSs bring. You need some way for them to add new content for their site without having to spin up dev environments, install node, manually write markdown, etc. on their laptops. Easy handoff to the client is very important. You guys are right, APIs are not new concepts. A CMS is literally just a website with database, an API, and an admin UI. Of course, you can build this from scratch for every project but who has the time for that? Why write custom API endpoints, crud operations, asset management, and a whole admin UI from scratch? I also personally think Sanity brings a lot to the table as it's one of the few "Headless CMS"s out there that offers hosting for free. That means they already take care of the database and media library for you (the images as you mentioned). On the other hand, there's another headless CMS that's so overrated, Strapi that's "OPEN SOURCE" and "FREE" but the hidden costs behind hosting the Node app, database, and file server for the media library is actually nuts. Seriously how can you host a small blog app for $20/month?
I swear to god that I didn't expected to be that good, it's kinda what a developer really wants to build. Cool features and from what I saw in the video I can suit most CMS needs.
Maybe could present some alternatives as Strapi/contentful and some comparison between them? Presenting a 24 Sanity video seems more like an advertisement.
Her presentation is way too planned by marketing... Its 20 minutes of fluff, literally the exact opposite of why I watch this channel. This is a paid advertisement trying to come off genuine.
Yeah I have to agree. Definitely a fluff video, but I'll still take one of these for every few good videos. But, we all notice Jeff, please try to keep it balanced as things inevitably turn more commercial for you.
@@hglbrg It didn't seem like a tutorial given by a developer that knows their stuff. It seemed like an awfully rehearsed, soulless marketing demo by an intern who can speak well. The whole 20 mins constituted nothing more than running the install command and changing 4 total lines of code, all of which were copied from the docs page anyway. Most of the rest was marketing fluff. Literally the opposite of what a 20 minute tutorial would be like. Watch her appearance on Traversy's channel. It feels like you're watching the exact same video.
I want to make it clear that I only work with sponsors that I would actually use. They were already on my list of video ideas for JAM Stack/headless CMS. I turn down almost every sponsor offer I get, so you won't see many videos like this.
@@Fireship totally fair. I'm not sure what the solution here would've been. I doubt you'd have been able to ask them to shorten it down or change their content much to make it less advertisy and at least somewhat in your style, but I guess even for an average youtuber, having a sponsor have 100% control of literally 99% of the video content is pretty risky. Just like they'd review and ask for adaptations if you were doing a sponsored segment, you should do the same for them maybe? Might even be worth it for them to learn why this format is so popular. VS Code is doing it and I'm still surprised that I'm subscribed to an IDE's youtube channel.
This comment section needs to pipe down. This is how Fireship runs a successful business. Sponsorships are normal, and this video doesn't compromise on the content at all. You get the first 100 sections untouched by the rest of the video. If that's all you want to see, then you can choose to ignore the rest of the video with absolutely no worries and Fireship gets to continue putting food on his table. For the rest of us that don't care, this video was great in explaining how the Sanity CMS works. The JAMstack is one of the most important tool a solo web developer can learn to master.
This headless CMS seems very nice for the future, since so much frameworks and different platforms are being made each day. But it is actually scalable? Can you relay on it for user authentication? It is fast enough for querying 100t per second?
Tricky right? Because once you model your data with, e.g., Sanity, they’re the only game in town. You don’t have much bargaining power to incentivize them to avoid performance dips.
I know a few security officers who would go mental but i definitely love the concept. I would love to see an on premise setup for enterprises. Thx for the video!
Hi! We take security seriously, but of course, requirements differ. We're currently used in production by Fortune 500 companies, and deliver over 6bn API requests every month. We don't offer on-premise installs, but dedicated cloud hosting for enterprises.
I really don't like her as an employee of sanity telling you to not look further than sanity. DO look further and then decide if sanity is the best fit!
will sanity be here in 10 years lmao thats the risk and question we all ask, or even 3 years really. depending on a software to use for aproject that has potential to be big could be a hassle if anything ever went wrong on sanity's end right? maybe im paranoid but is it worth the risk is all im asking?
Ai video summary The video titled "Content Platforms Explained in 100 Seconds" provides a comprehensive overview of the evolution and significance of content management systems (CMS) in web development, focusing particularly on the concept of headless CMS and content platforms. Initially, it details how traditional websites used to embed content directly into HTML code, which was not scalable. This led to the adoption of CMS, where content is stored in a database and then injected into HTML templates. However, as the need for more flexible content delivery across various platforms (like iOS, Android, and different JavaScript frameworks) grew, the concept of headless CMS emerged. A headless CMS separates the content repository (backend) from the presentation layer (frontend), making the content accessible via an API for any application to consume. The video highlights the benefits of using a headless CMS, such as: Serving as a single source of truth for brand content. Being completely decoupled from application code, allowing for easier migration across platforms. Providing a cloud-based API for easy access to content from any application. Allowing developers to model and tailor content for specific needs, rather than relying on predefined templates. Sanity.io is introduced as a popular choice for implementing a headless CMS, particularly for Jamstack applications. The video features a detailed tutorial on setting up a project with Sanity, showcasing its capabilities for modeling content, managing it in a browser-based studio, and storing it in a cloud-based "content lake." The tutorial covers various aspects of working with Sanity, including: Initializing a Sanity project and configuring it. Structuring content schemas using JavaScript. Customizing the Sanity Studio for content management. Utilizing portable text for storing rich text in JSON format, making it easier to reuse content across different platforms. Throughout the video, the presenter emphasizes the importance of treating content as data, allowing for more flexible and efficient content management. The tutorial concludes with deploying the Sanity Studio and demonstrating its real-time content update capabilities across local and deployed environments. This video serves as a valuable resource for developers and content creators looking to understand and implement headless CMS solutions, offering insights into the advantages of content platforms and practical guidance on using Sanity.io for content management.
Sanity is great but missing in some areas: - allowing users to control the order of documents via drag and drop - easily creating a headless content preview - easily creating a singleton-type document - adding a user to the Sanity Studio - keyboard shortcuts for accessibility - UI of the backend
It's using lots of db features directly, streams and gql subscriptions being out of box features that studio uses shows how much integration is done there, no code required. For newbies who can't do basic crud on their own, this feels like god power.
@@MaulikParmar210 Their authoring capability is powerful too, streams and gql subscriptions are fun but would give it all up for ordering documents and easy headless previews, just simple stuff first
Unpopular opinion. CMS platforms are a waste of time. When operating at scale, the developer will be fighting the CMS to meet customers' needs. Yes, they can deploy a prototype in a day, but now the company is locked into a specific vendor and technology. When the customer decides to make a drastic change a few years into production, the developers will be starting from scratch. Frameworks are as simple as CMS platforms but provide way more flexibility and have larger communities. CMS platforms are band-aids, frameworks are architecture. Do not fall for their sales tactics.
As a developer I mostly agree with you. However I see that for some applications CMS can save time. However I fear vendor lock-in (and pricing). For this reason a would prefer a true open source solution like Strapi, rather than Contentful or Sanity (which despite marketing is not really open source... only the frontend, not the store)
Any convenient abstraction comes with some level of vendor lock-in - the same is true of Firebase and Airtable, for example. That doesn’t make them a waste of time, it just creates an extra option that may or may not suit your needs.
Also, “a few years” is a very long time as far as code is concerned anyway, chances are a lot of your technology will have to be revised in that timeframe.
How's that different from querying a form of a database, or a rest API or Graphql, at least in principle Or is this just yet another copy of an already existing solution
I already do this as well with firebase. I just made a page that’s let’s me easily create blogs and store them to the database and then be distributed to my site as content. Now that took a ton of time to build. This product has way more tools that lets you build out your content and store it to a database (their database) so that you can read it to your web, mobile, etc products.
Jeff, dude, i know it's not your thing but try doing this with Laravel, you can make REST API for blogs in 2 minutes video at most, and you can consume it with whatever platform you make for the front, trust me on this one
@@kaladivo you have a point, but i think all the problems PHP has Laravel has workaround, now if a dev doesn't mess it up it can do a pretty heavy lifting and code to look nice, most of my apps are like that, Laravel as API and takes care of DB, events, listeners, mailables, CRONs, validation and what not... and in the front you have whatever client, can be Vue, Angular, react native, even Unity, Swift, i even did client in Delphi a while ago... which does... nothing... its job is to look nice and display whatever you get from the API and send user inputs back, which makes frontend pretty light and nice to look at
Why is there always someone in the comments who thinks us discussing a solution means we’re not aware of the previously available, less convenient option?
@@aleksandarstevanovic5854 “but I think all the problems PHP has Laravel has workaround” Cool, and with a headless CMS you avoid all of those problems and workarounds altogether. Using Laravel to serve a static site sounds like a ridiculous level of overkill.
Sanity is really cool, love how basic and easy to use it looks. BUT IT IS WAY WAY WAY WAY TOOO EXPENSIVE. Feel like it would be the industry standard of doing things if it wasn't a million dollars per project. I've already completely written it off despite being in love with it. They could make 100x what they are by charging a 10th the price, but nah. price gate most of the industry out of cool new tech. Wonderful product and development sense, not so great business sense.
It can be a hard choice! Here's at least one video that goes through some of the features. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-woA5MKmARNU.html
very helpful video for someone who is just currently learning sanity like me. just a question, has anyone tried customising the table by adding the orderable document list plugin? i only manage to add 1 schema and wanted to add more but stuck with it. Also, how do you back up data from Sanity? Sorry as I am just discovering this new tool. thank you!
Same!!! That’s honestly the main reason I’m considering Sanity at all. I honestly love modeling things in Notion, it’s so intuitive and you don’t have to worry about the maintenance aspects of running a database.
It looks like they’ll be finalizing and opening up their API at some point down the line, as it’s on their public roadmap. So at that point, you would be able to use it as an hCMS!!!
projects like Sanity are only good for small apps, running your own API server is give your more control and costs a lot less (imaging paying $1000 a month and only get 1TB of bandwidth ($1 for extra 10GB ) and only 50k document!)
@@NomadicJulien Wow, that sounds pretty impressive! I can hardly believe it though, since this is of course the RU-vid comments section. Do you have any info to back up that claim?
So ... It's a database but with json files ? I honestly don't see the point here. Mongo does the same and (to me) seems way more versatile and powerful. Plus, my content remains on my system, not on a third party. Is this something like a firebase competitor ? Unless I'm missing something entirely ?
@@RedCapOfDeath So is a user supposed to able to access that data editor page? Like if you were making a website where people could start blogs, then they can edit their blog post on that page? I don't really understand the difference between this and a cloud-hosted REST API database besides the fancy editor...
@@ezra6094 You as the developer would make a website around the JAMstack, of which you use Sanity as the tool to write content. In essence you break it down like this: You make a system and a front-end that takes in that system, and then content writers (marketing, sales, etc) can use the CMS to create new posts, content, etc without you having to hardcode that data in the HTML markup for every new thing. You spend a little extra time to make a robust system, and then you can almost forget about it.
@@GnomePuntTrainerYT Ok but you can already do that with a back office and a front end app. And you neither have to rely on a third party host to do so, nor pay them to do it. So I'd say nah for this one !
@@MaximeTrichard Ok. If you are able to write something with all the same features, more power to you! I’d love to hear you come back and report your experience!
Hey Jeff, I'm about to decide upon an architecture for an upcoming JAM stack project. I was considering Strapi. What are your views on Strapi vs Sanity ?
Ur talking about architecture in closed system. There is none and whatever you think architecture is more of data schema rather than actual business logic.
@JM-st1le Architectures are embeded in business logic. Your data is usually free to flow. No code platforms just enforce themselves into making irrational decisions. They are designed to solve general problems. Architectures, on the other hand, solve specific problems. Esswntially, talking about two opposite ends that never meets on single platform / impmementation.
What is an upload module? If your current code uses GraphQL, that’s one of Sanity’s supported query languages, so you might be able to switch to Sanity with some tweaks.