Laravel tip.
Stop writing custom retry logic for flaky APIs!
Use `Http::retry()` to automatically retry failed requests with exponential backoff.
Link to the docs: laravel.com/docs/12.x/http-c…
#practicalLaravelDocs
Tom retweeted
.@ForestAdmin for Laravel offers a fully-featured admin panel solution, helping you to visualize & edit your Laravel app data 🛠️ - madewithlaravel.com/forest-a…
Tom retweeted
Microsoft has launched free AI courses.
No payment needed!
Here are 6 FREE courses to learn AI in 2024 👇
Tom retweeted
Laravel 11 is here! 🎉
4 tips for an easy update:
1. No need to hurry. Your apps won't instantly improve with Laravel 11. Remember: Laravel 10 will be updated until February 4, 2025.
2. Run "composer outdated" to see which dependencies have a new major version waiting.
3. Run "composer why-not laravel/framework 11" to see what dependency is still blocking your upgrade.
4. Leverage tests, lots of them. Writing tests saves more time and compounds over time. Fixing problems under pressure from your boss and unhappy customers will never be good for you.
Anyone here who's already updated at least one app? How's your experience? Did you also try to switch to the new skeleton?
Tom retweeted
90% of REST APIs we use are not purely REST.
They are REST-like.
According to the dissertation by Roy Fielding, some key constraints compose the REST style.
1. Client-server
Separations between the user interface and the data storage for better portability and scalability.
2. Stateless
All the communications between the client and the server are stateless in nature. The server should not store any information about the client's previous requests.
3. Cacheable
Responses from the server should be explicitly or implicitly labeled as cacheable or non-cacheable.
4. Layered System
The communication between the server and the client could be layered – there can be multiple hierarchies of components between them. The layers are designed so that they cannot see beyond the immediate layer they are interacting with.
5. Uniform Interface
All resources (like web pages, data, or services) are accessible and manipulated in a consistent way. It's like having a common set of rules for interacting with things on the internet.
Uniform Interface is further divided into four parts.
• Identification of resources
• Manipulation of resources through representations
• Self-descriptive messages
• Hypermedia as the engine of application state (HATEOAS)
This HATEOAS is something that API builders usually ignore and make their API REST-like instead of Pure REST.
The fundamental idea behind HATEOAS is to make the API easy to use and accessible. Users should not need to have prior knowledge of how to use the API or perform various actions. Instead, the server should provide hypermedia controls (typically in the form of links) in the responses that guide the client about further endpoints.
For example, if you were interacting with a truly REST API for a booking system, a response might include links to view available flights, book a flight, check your reservations, or cancel a booking, etc —all of which are relevant actions based on the current state of the booking system.
How we can achieve it?
It's very simple. Server response to a client's request should include links or references to related endpoints/services.
Here's what a typical Server response should look like. (see attached image)
P.S. There is a 6th REST constraint called "Code on Demand" but it's optional.
Tom retweeted
Google has released 7 free courses on AI for Developers.
No payment required!
Here are 7 FREE Google Developer courses to learn AI in 2023.
(for App Developers, ML Engineers, and Data Scientists)
Tom retweeted
Microsoft has released 5 free courses on AI.
No payment is required!
Here are 5 FREE Microsoft courses to master AI in 2023.
Tom retweeted
.@bladewindui is a collection of 30+ Laravel blade-based UI components 📦️⚡️ - madewithlaravel.com/bladewin…
Tom retweeted
Faveo is a help desk & ticketing system #madewithlaravel, available in a free & open-source version 🧑💻 - madewithlaravel.com/faveo
Tom retweeted
𝗛𝗼𝘄 𝘁𝗼 𝗟𝗲𝗮𝗿𝗻 𝗦𝘆𝘀𝘁𝗲𝗺 𝗗𝗲𝘀𝗶𝗴𝗻?
If you're working as a software developer and you want to move towards a software architect role, or you're preparing for coding interviews for more senior roles, systems design is an important skill you need to have. Without knowing it, you will have a hard time designing new software systems and understanding existing ones.
System design refers to 𝘁𝗵𝗲 𝗽𝗿𝗼𝗰𝗲𝘀𝘀 𝗼𝗳 𝗱𝗲𝗳𝗶𝗻𝗶𝗻𝗴 𝗮 𝘀𝘆𝘀𝘁𝗲𝗺'𝘀 𝗰𝗼𝗺𝗽𝗼𝗻𝗲𝗻𝘁𝘀. Architecture, modules, components, interfaces, and data are a few examples of these aspects. The process of defining, creating, and designing systems that suit the particular objectives and requirements of an organization is what you need to understand when it comes to system design.
To understand system design, you will need to know the following:
𝟭. 𝗣𝗲𝗿𝗳𝗼𝗿𝗺𝗮𝗻𝗰𝗲 𝘃𝘀 𝗦𝗰𝗮𝗹𝗮𝗯𝗶𝗹𝗶𝘁𝘆
𝟮. 𝗟𝗮𝘁𝗲𝗻𝗰𝘆 𝘃𝘀 𝗧𝗵𝗿𝗼𝘂𝗴𝗵𝗽𝘂𝘁 𝗮𝗻𝗱 𝗔𝘃𝗮𝗶𝗹𝗮𝗯𝗶𝗹𝗶𝘁𝘆 𝘃𝘀 𝗖𝗼𝗻𝘀𝗶𝘀𝘁𝗲𝗻𝗰𝘆 (𝘄𝗶𝘁𝗵 𝗽𝗮𝘁𝘁𝗲𝗿𝗻𝘀)
𝟯. 𝗔𝘃𝗮𝗶𝗹𝗮𝗯𝗶𝗹𝗶𝘁𝘆 𝗽𝗮𝘁𝘁𝗲𝗿𝗻𝘀
𝟰. 𝗕𝗮𝗰𝗸𝗴𝗿𝗼𝘂𝗻𝗱 𝗷𝗼𝗯𝘀
𝟱. 𝗗𝗼𝗺𝗮𝗶𝗻 𝗡𝗮𝗺𝗲 𝗦𝘆𝘀𝘁𝗲𝗺𝘀
𝟲. 𝗖𝗗𝗡𝘀
𝟳. 𝗟𝗼𝗮𝗱 𝗕𝗮𝗹𝗮𝗻𝗰𝗲𝗿𝘀
𝟴. 𝗖𝗮𝗰𝗵𝗶𝗻𝗴
𝟵. 𝗔𝘀𝘆𝗻𝗰𝗵𝗿𝗼𝗻𝗶𝘀𝗺
𝟭𝟬. 𝗖𝗼𝗺𝗺𝘂𝗻𝗶𝗰𝗮𝘁𝗶𝗼𝗻 𝗽𝗮𝘁𝘁𝗲𝗿𝗻𝘀
𝟭𝟭. 𝗣𝗲𝗿𝗳𝗼𝗿𝗺𝗮𝗻𝗰𝗲 𝗮𝗻𝘁𝗶𝗽𝗮𝘁𝘁𝗲𝗿𝗻𝘀
𝟭𝟮. 𝗠𝗼𝗻𝗶𝘁𝗼𝗿𝗶𝗻𝗴
𝟭𝟯. 𝗖𝗹𝗼𝘂𝗱 𝗱𝗲𝘀𝗶𝗴𝗻 𝗽𝗮𝘁𝘁𝗲𝗿𝗻𝘀
To learn this, here are some 𝗯𝗼𝗼𝗸𝘀 where you can start learning:
𝟭. 𝗦𝘆𝘀𝘁𝗲𝗺 𝗗𝗲𝘀𝗶𝗴𝗻 𝗜𝗻𝘁𝗲𝗿𝘃𝗶𝗲𝘄
One of the best books in this field, where you will learn how to design systems such as web crawlers or even YouTube.
Link: amzn.to/3lefBiD
𝟮. 𝗗𝗲𝘀𝗶𝗴𝗻𝗶𝗻𝗴 𝗗𝗮𝘁𝗮-𝗜𝗻𝘀𝗲𝗻𝘀𝗶𝘁𝗶𝘃𝗲 𝗔𝗽𝗽𝗹𝗶𝗰𝗮𝘁𝗶𝗼𝗻𝘀
In this book, the author writes about different technologies used to store and process data. By reading it, you will gain insight into different algorithms used in the database world.
Link: amzn.to/3Y7l61c
𝟯. 𝗛𝗲𝗮𝗱 𝗙𝗶𝗿𝘀𝘁 𝗗𝗲𝘀𝗶𝗴𝗻 𝗣𝗮𝘁𝘁𝗲𝗿𝗻𝘀
A great book on OO design patterns, written in a simple style with examples in Java.
Link: amzn.to/3Ymwq9w
𝟰. 𝗖𝗿𝗮𝗰𝗸𝗶𝗻𝗴 𝘁𝗵𝗲 𝗖𝗼𝗱𝗶𝗻𝗴 𝗜𝗻𝘁𝗲𝗿𝘃𝗶𝗲𝘄
It is a general-purpose coding interview book where the author shares her insights into programming interviews at big tech companies like Microsoft and Google. It covers all basic topics like algorithms, data structures, SQL, etc.
Link: amzn.to/3E4TTEH
𝟱. 𝗙𝘂𝗻𝗱𝗮𝗺𝗲𝗻𝘁𝗮𝗹𝘀 𝗼𝗳 𝗦𝗼𝗳𝘁𝘄𝗮𝗿𝗲 𝗔𝗿𝗰𝗵𝗶𝘁𝗲𝗰𝘁𝘂𝗿𝗲
As System Design is related to Software Architecture, this book will give you an introduction to how to architect software systems. This book examines architecture patterns, components, soft skills, modernity, architecture as engineering, and many more.
Link: amzn.to/3JJLKco
Check the System Design Roadmap in the image (by roadmap .sh).
#softwareengineering
Tom retweeted
5 Courses by Accenture to Improve Your Skills:
1. Digital Marketing
futurelearn.com/courses/digi…
2. Artificial Intelligence
futurelearn.com/courses/arti…
3. Mobile Development
futurelearn.com/courses/digi…
4. User Experience
futurelearn.com/courses/digi…
5. Web Analytics
futurelearn.com/courses/digi…
Tom retweeted
Starting Python in 2023?
Take any of these FREE courses in any order.
1. Kaggle
kaggle.com/learn/python
2. Freecodecamp
freecodecamp.org/learn/scien…
3. Harvard
cs50.harvard.edu/python/
4. Cisco
netacad.com/courses/programm…
5. Cybrary
cybrary.it/course/python
6. Google
developers.google.com/edu/py…
7. Microsoft
learn.microsoft.com/training…
8. Jetbrains
hyperskill.org/tracks/2
9. Mode
mode.com/python-tutorial/
10. Scaler
scaler.com/topics/course/pyt…
11. Saylor
learn.saylor.org/course/view…
12. Openclassrooms
openclassrooms.com/courses/6…
13. Udacity
udacity.com/course/introduct…
14. Educative
educative.io/courses/learn-p…
15. Coursera
coursera.org/learn/python
16. Bonus: Hackerrank Certification
hackerrank.com/skills-verifi…
Tom retweeted
If you want to get a well-paid job in USD, you need a great resume. 👀
Here are 8 sites you can use to create the resume that will help you to get that well-paid job 🧵👇
Tom retweeted
Already 1,000 stars for FrankenPHP 🤩. Thank you very much!! github.com/dunglas/frankenph…
Tom retweeted
Laravel Sign Pad, a package to sign documents and optionally generate certified PDF github.com/creagia/laravel-s…
Tom retweeted
Best websites for Web Developers & Designers.
That will save a lot of your time.
A thread🧵👇
Tom retweeted
🔥 #Laravel Tip: When you need to only includes DB results that have an existing relationship, e.g. users that have orders, you can make use of whereExists to easily generate the required sub-query.




























