Both YouTubers and us(Medium writers) are artists! The only difference is the canvas we paint on. Ours is a side of a un-polished rock and YouTubers have a linen canvas to paint on.
I am a very avid consumer of YouTube videos, I could watch up to 5 hours a day. The videos could range from mini-documentaries to tutorials to programming videos to criticism videos. I pretty much watch all kinds of YouTube videos. …
There are times when I know I have to write. It has been a month, I haven’t published a single story, stats are dropping rapidly, I have to do something, I have to write something, a story, but I can’t think of any. I research and strive until I get one. I write!
Writing should be an expression of oneself, as an expression of oneself it should not be forced. At least that is what I have come to believe so far. The case can be very different for you and maybe others.
Like most works of art, good writing…
After the success and the great reception my previous article had, I decided, I should try to cover the same topic in other front-end frameworks as well. This article will cover Angular.
We are not going to use basic Angular services, instead, we will use ngrx/data DataServices.
I have written a separate article that explains the NgRx Angular package for state management;
But TLDR; NgRx is a state management package for Angular.
In angular design there is no out-of-the-box quick go-to solution for data persistence through routing actions, furthermore persisting data to back-end server through API.
The project uses Mock REST API which you can download, then run the mock server, no advanced configuration required.
I joined Medium as recently as January this year. At first, I was very eccentric about writing, especially programming articles. When I faced errors and then googled them, I would find the best answers in Medium articles. At some point this started to inspire me, to write articles for other people who may need the solutions for problems similar to the ones I faced.
In January, I created a medium account and started writing few articles, as a smart person would do. But I also did one huge mistake, I started reading what I would call “Medium motivation articles”.
MORE PRODUCTIVITY = MORE SUCCESS
The equation is that simple. In any field, that equation holds, whether you agree or not, or whether accept or you don’t.
It’s about how productive you are! That simple.
“If you don’t pay appropriate attention to what has your attention, it will take more of your attention than it deserves.” — David Allen
Or you take a lot of planning instead of doing, something…
Growing up, I always believed in achieving 100%, never leaving a stone unturned. Living under my parent's roof, and having not to sweat for whatever I wanted, just a few tantrums and/or tears or meticulous pleading was all that was required. That was the difference between having what I want and not having it altogether. Not that the beliefs of a child should matter, but it planted a seed that grew with me, that grew roots and shoots that became a poison in my early 20s.
To some people, the idea of winning by losing is second nature, but to…
In this decade almost every application written is either consuming a REST API or is providing one. This highlights the importance of, to some extent understanding the REST API.
Briefly, REST stands for Representational State Transfer. It has a set of constraints that guide its development. This article will mainly focus on the URL format or naming convention, and how you can easily leverage the convention in compartmentalizing your React app.
Referring to REST Resource Naming Guide, the resources for CRUD operations are named as follows:
// Get all users
method: GET// Create user
url: http://api.example.com/users …
Understanding the repository pattern and how to implement it in Laravel.
In simple words, the repository pattern abstracts the data access logic allowing the developer to deal with data persistence logic instead. This means, irrespective of data access infrastructure, we can have a set of defined functions that we can use to implement application logic, and separately deal with data access technology, providing better maintainability and testability.
The repository pattern has three main parts; the interface, the implementation, and the coupler. Let’s go through each one briefly.
Defines the functions present in the repository. It can be thought of as…
It was May 14 when I first set out for this challenge. But I guess fate had something else in store for me, or it’s just my own weakness. I don’t think I can say it was difficult since you’d have to at least try to able to gauge difficulty.
4 days ago, I wrote a piece that clearly stated how I planned to embark on the challenge again. Outlined the weak points and the modified strategy, but to no surprise, none of that worked!
It is quite hard to point out exactly what led to failure, I’m one of…