Want to add that it doesnt have to be one or the other. At my current job, we use Ruby on Rails(was initially built with just Ruby on Rails) but now also have a gem (react-rails) which lets us keep everything about rails but use React for front end. The rails view just renders a component and passes in the instance vars like normal, but all the view/front end stuff is done with React. Also helps when hiring talent as we dont need Front End people who work with erb/rails, we can just hire React devs. Great vid! I always watch your stuff
@beWorldly2 жыл бұрын
Yes, I was about to mention exactly this. Rails has amazing goodies built in, and replacing just the Views (in MVC) with React gives you all the goodies of react as well. It's the ultimate combo in my opinion and the route i'm taking with my new startup.
@ciclodaaguia84892 жыл бұрын
Also, Ruby has increase its speed in 3.0 version and Turbo has brought the special sugar code techniques we were looking for to build single page apps.
@mixandgo2 жыл бұрын
That's true
@rogeriogouvea7278 Жыл бұрын
I wonder how the idea of building fast is changing these days with copilot and chat gpt as side tools
@mixandgo Жыл бұрын
In some areas it can help, though from what I've tried so far... it's not great.
@shropsicle212 жыл бұрын
Those frontend and backend PDFs were cool! Do you have those posted somewhere? Thanks
@mixandgo2 жыл бұрын
Sure, you can find them here: roadmap.sh/roadmaps
@shropsicle212 жыл бұрын
@@mixandgo Awesome thanks!
@DevlogBill2 жыл бұрын
So, Mix & Go, you don't need a front-end technology like React, Vue, or Angular to style and create your client side projects? Is there something built into the Rails framework which allows you to style and create your landing page? Or do you use something like tailwind for the CSS and basic HTML on your own to create the UI/UX? Thank you.
@mixandgo2 жыл бұрын
Not sure I get what you're asking William. Styling has nothing to do with JS. You use CSS either way.
@DevlogBill2 жыл бұрын
@@mixandgo Your right when I was thinking styling, I was thinking CSS which isn't included in a library I know you have to add that. I was really thinking about when you are creating your site using the tooling. My original question is you don't need React when using Rails? How do you build your site without a front-end library or framework? I am guessing you don't need one. Is HTML and CSS enough using Rails? I am new to web development. Learning by using the Odin Project and they offer 2 paths Ruby on Rails or the MERN stack. So far, I like Rails better, so I am doing my research to find out what is involved when learning Rails. Thanks for getting back to me.
@mixandgo2 жыл бұрын
@@DevlogBill Well, Ruby on Rails IS a framework. But it's full-stack (i.e. front-end + back-end). Back in the day, it would render the page (HTML + CSS + JS) on the back-end and send the entire page to the browser on each request. But nowadays it can also do partial updates, via HTML fragments (this is the new hotness; Hotwire). You can also add React, or other JS frameworks on top of it. So you can mix Hotwire with React, or Elm, if you don't like the default (i.e. StimulusJS). Does that make sense?
@DevlogBill2 жыл бұрын
@@mixandgo Now it makes more sense, thank you. I am taking the minimalistic approach. Simplicity and job availability. Everyone is promoting these tech stacks, the MERN, MEAN, and even the LAMP stack. But no one promotes the Rails stack. But I figured what makes sense is if everyone is running to these tech stacks why not do the opposite? Also, New York City does have a market for Ruby Developers even though it is small. Anyways, thank you for the wisdom, most appreciated.
@emerson-sheaapril8555 Жыл бұрын
This was great, as others have mentioned ruby doesnt get a lot of love these days, and other videos tend to just focus on the points you mentioned at the beginning, popularity, community, etc. which doesn't really tell you what the language is. I didnt even know it was a full stack solution!
@mixandgo Жыл бұрын
Glad you enjoyed it!
@eichorcist10 ай бұрын
The twitter application is made with ruby as the frontend, Even though there is a lot of animation in it, it still feels easy to navigate
@mixandgo10 ай бұрын
Ruby is not a front-end language. But Hotwire is, which is part of Ruby on Rails. And it can do a lot in terms of making reactive UIs.
@brianlmosley2 жыл бұрын
Very clear and concise video! Thanks for sharing
@mixandgo2 жыл бұрын
Thank you Brian
@rickyrayrosenberg420 Жыл бұрын
Why not both? Rails can be a good static site host and provide static elements for SAAS applications that are built within a static context. I have used rails applications hosting Ember front ends, vue frontends, Svelte front ends, and vanilla JavaScript front ends.
@mixandgo Жыл бұрын
Well, mainly because you don't have to. You don't have to build two apps when you can build one. You can build a full-stack app with Rails, without having to build an API + a SPA.
@federicocastro5542 Жыл бұрын
Excellent explanation, thank you
@mixandgo Жыл бұрын
Thank you 👍
@lwa.dev742 жыл бұрын
Hey, after hearing that explanation across both subjects I had to subscribe too your channel… I am new too full stack / front end and have been struggling too know where to place myself and timescale of investment with what to seriously consider for a career in development across the board. I’ve decided to pick ROR, Node & is, Python but will have to focus on one as a main and other 2 as sub projects for personal projects to show diversity to potential employers. Would appreciate any input or recommendations on my choices given going fwd as a self taught dev transitioning from iT/iOS technician potentially looking at start-ups as a jnr dev as I think the experience of wearing many hats would help improve my experience over time. Thanks again 👨🏽💻
@mixandgo2 жыл бұрын
If I were you I'd pick just one. You want to level up as fast as possible. Going in many directions will slow you down.
@lwa.dev742 жыл бұрын
@@mixandgo Thank you for your quick response… definitely, I understand but in your opinion if you were running a start-up personally would you prefer ROR as opposed to M.E.R.N as full stack? I will keep ROR as a long time learning project for understanding full stack process. Thank you for your time. 👍
@mixandgo2 жыл бұрын
@@lwa.dev74 I would personally prefer RoR. To me, it makes more sense in that context. You would probably find this video useful: kzbin.info/www/bejne/joDbpZisip6qb6M
@lwa.dev742 жыл бұрын
@@mixandgo thanks again, personally I’m glad you said ROR and it kinda confirmed where my heart is with the language and not my head with trying to fit in and belong.. I will definitely pay attention to your channel as your transparency is absolutely amazing and very much appreciated ❤️👨🏽💻
@mixandgo2 жыл бұрын
No problem.
@colinrosati94039 ай бұрын
Nuxt + Next can offer SSR + SSG. You can higher one fullstack to do both FE + BE. JS seems to be more performant with single threaded call stack. With JS you have on compiler bundler The argument for lack of framework conventions in JS is not really very a great argument in 2024 RoR has more CLI tooling but that not really a reason for an architecture desicion. TBH I still don’t get why we use RoR in 2024
@mixandgo9 ай бұрын
Have you used RoR? Especially with Hotwire, there's no point in building a SPA anymore in most cases.
@thomasslone1964 Жыл бұрын
I got so much ruby software but i never learned rails, now I'm like what if i had a website, i might just be high
@DevBishwasBh2 жыл бұрын
Do this requires API development or we can do it without APIs?
@mixandgo2 жыл бұрын
It depends on what you're doing. In this example, I'm not using an API.
@IsxaaqAcademy Жыл бұрын
Great explanation.
@mixandgo Жыл бұрын
Thank you
@ahmed3deeh6292 жыл бұрын
nice and clear to the point answer
@mixandgo2 жыл бұрын
Thank you Ahmed
@samuelkung77362 жыл бұрын
Where do you go to learn rails 7??
@mixandgo2 жыл бұрын
Hi Samuel, a lot of the newer stuff lacks proper documentation, but you can check out hotwire.dev. Or, my Practical Ruby on Rails For Beginners class which I'm building right now using Rails 7.
@siyaram28552 жыл бұрын
NextJs with Rails. Can you do a video?
@mixandgo2 жыл бұрын
I don't see how that would make sense, they are both full-blow frameworks.
@siyaram28552 жыл бұрын
@@mixandgo Next frontend + Rails backend = Success Pixelpeeper does that.
@mixandgo2 жыл бұрын
You mean use rails as an API and NextJS as it's SPA? Why?
@siyaram28552 жыл бұрын
@@mixandgo Expose a Rails API that gives you HTTP APIs (REST or GraphQL or anything you like), then consume them via `getStaticProps` or `getServerSideProps` as appropriate.
@siyaram28552 жыл бұрын
Morningbrew also uses make use of this stack
@elvispalace11 ай бұрын
top WTF comparisons
@bradchellingworth59732 жыл бұрын
This is a weird question to ask, Ruby on Rails in a backend / full stack framework, it does a different job than react, you wouldn't be choosing between them. Its weird that someone asked this question and even weirder that you made a video answering it.
@mixandgo2 жыл бұрын
Why did you watch it then? :) Isn't THAT weird? Not everybody knows the difference or what Rails/React can/cannot do.
@josbexerra8115 Жыл бұрын
RoR + Reactjs =💥(dinamita pura)
@postwala2667 Жыл бұрын
I am looking for rails developers - please message me ur links to contact page
@siddharthpandey8577 Жыл бұрын
hello sir i'm a rails developer and i have basic knowledge of ror and curd operation , core react js , html, css , js and bootstrap