If you sell something in your Rails application, being a product or a service, and you live in Europe, you have to comply with the cookie law. There are multiple JS solutions out there to ease this task, but I will teach you how to implement a cookie bar from scratch so you have full control and make it usable.
Get my ebook for free
Subscribe to my mailing list and get my ebook on 10 ideas that helped me become a better developer.
Enter your name and email to download it.
Backend development is centered in building the architecture that supports a web application, using a diverse range of languages and systems. Once you choose the language you like most, you will usually need to choose a web framework as well. And besides this, you have a wide range of databases, search engines and queue systems to choose from.
When developing a web application, templates usually need to implement some logic, especially conditionals. I’m going to show you two patterns which are commonly used in web development with Ruby on Rails: presenters and decorators. They are meant to move template logic to dedicated classes, so templates look cleaner and more object oriented.
The dynamic connectivity problem uses a graph (a data structure) that maintains information about the relationship between its components. With this information the data structure can answer whether there is a connection between two objects or not.
A web stack is like a stack of books. The upper item is the application the user can interact with, while the one at the bottom is the base: the operating system. All the items between them are the technology needed for both the application and the operating system to communicate to each other. All of them are a team with a common goal: provide everything the application may need to work.
If you are totally new to web development, coming from other development field or learning from scratch, you will need to know the difference between the two big web worlds: frontend and backend. Although they are totally different, they can overlap sometimes.
This blog is about learning web development and improving your skills, but you will need to learn the basics first. Internet is full of tutorials teaching those basics, I will talk about some of them to learn fast and easily.
Web development is a huge topic which evolves so quickly and we all must learn new things constantly. I asked some influential developers what they find more fascinating in this field. I got a response from David Heinemeier Hannson, Gregg Pollack and others.
PHP allowed a cheap and fast way to build dynamic websites, beating the limits imposed by Microsoft’s ASP. But since Rails was launched things changed dramatically, and I found a friendlier language in Ruby.