Hey Laravel Developers 👩💻
Oftentimes, while working with the Carbon class, I have seen many people use the parse() method to create a Carbon object.
But please be aware that using the parse() method might cause unexpected issues in cases where Carbon faces ambiguity while parsing dates.
Hence, always try to use the createFromFormat() method provided by Carbon and explicitly provide the parsing format yourself.
#laravel #php
9 database types developers should know:
1) 𝗥𝗲𝗹𝗮𝘁𝗶𝗼𝗻𝗮𝗹
↳ Stores structured data in tables with predefined schemas & SQL queries.
2) 𝗞𝗲𝘆-𝗩𝗮𝗹𝘂𝗲
↳ Stores simple key-value pairs for ultra-fast lookups & caching.
3) 𝗗𝗼𝗰𝘂𝗺𝗲𝗻𝘁
↳ Stores data as JSON-like documents with flexible, nested structures.
PS: Get my free 142-page System Design Handbook when you join my free weekly newsletter. Join 33,000+ engineers → https://t.co/LybPLdor9s
4) 𝗪𝗶𝗱𝗲-𝗖𝗼𝗹𝘂𝗺𝗻
↳ Stores data in flexible column families for large-scale distributed workloads.
5) 𝗧𝗶𝗺𝗲-𝗦𝗲𝗿𝗶𝗲𝘀
↳ Stores time-stamped data for metrics, logs, & event tracking.
6) 𝗚𝗿𝗮𝗽𝗵
↳ Stores relationships between entities to query connected data efficiently.
7) 𝗩𝗲𝗰𝘁𝗼𝗿
↳ Stores embeddings to enable similarity search & AI-powered retrieval.
8) 𝗖𝗼𝗹𝘂𝗺𝗻𝗮𝗿
↳ Stores data by columns instead of rows to optimize analytical queries.
9) 𝗜𝗺𝗺𝘂𝘁𝗮𝗯𝗹𝗲 𝗟𝗲𝗱𝗴𝗲𝗿
↳ Stores tamper-proof records where data cannot be modified or deleted.
Remember, there's no one-size-fits-all database anymore. Most systems don’t use just one database, they combine multiple types for different workloads.
Full breakdown (with visuals) here → https://t.co/T0tUF1xYPI
What else would you add?
♻️ Repost to help others learn databases.
➕ Follow me ( Nikki Siapno ) to improve at system design.
Next multibagger...✅️🫡
👉👉 Silverbees 👈👈
✅️Buy near 242
✅️Tg.1. 512
✅️Tg.2. 780
Near Strong monthly Support
Holding period 3 to 4 months maximum
Back in Game 🎮
#multibaggers@adanigroup
𝟰𝟬 𝗕𝗲𝘀𝘁 𝗠𝗶𝗱 & 𝗦𝗺𝗮𝗹𝗹𝗰𝗮𝗽 𝗤𝟰 𝗥𝗲𝘀𝘂𝗹𝘁𝘀 💹
UNDERVALUED + HIGH GROWTH
Must save this watchlist 🔖
P/E Ratio as low as 7.5 🔥
yoy Sales growth upto 95% 🔥
yoy Profit growth upto 1300% 🔥
Do Comment your favourite Result 👇🏻
SYSTEM DESIGN CASE STUDIES TO MASTER IN THE MODERN ERA
FOUNDATIONS: CORE DISTRIBUTED SYSTEMS
→ Design a URL Shortener (Bitly-like)
→ Design a Pastebin Service
→ Design a Distributed Cache System
→ Design a Load Balancer
→ Design a Distributed Locking Service
→ Design a Rate Limiter System
→ Design a Key-Value Store
→ Design a Distributed Logging System
→ Design a Notification Delivery System
→ Design a Session Management System
SOCIAL MEDIA & REAL-TIME PLATFORMS
→ Design an Instagram-like Feed System
→ Design a Twitter/X Timeline Architecture
→ Design a WhatsApp-like Messaging System
→ Design a Real-Time Chat Application
→ Design a TikTok-like Video Feed
→ Design a Live Streaming Platform
→ Design a Real-Time Collaboration Tool
→ Design a Push Notification System
→ Design a Social Media Commenting System
→ Design a Presence Tracking System
E-COMMERCE & BUSINESS SYSTEMS
→ Design an Amazon-like E-commerce Platform
→ Design a Shopping Cart Architecture
→ Design a Payment Gateway System
→ Design an Order Management Platform
→ Design an Inventory Management System
→ Design a Subscription Billing Platform
→ Design a Fraud Detection System
→ Design a Multi-Vendor Marketplace
→ Design a Recommendation Engine
→ Design a Product Search System
DATA-INTENSIVE & ANALYTICS SYSTEMS
→ Design a Google-like Search Engine
→ Design an Autocomplete System
→ Design a Web Crawler Architecture
→ Design a Data Warehouse System
→ Design a Real-Time Analytics Platform
→ Design a Metrics Monitoring System
→ Design a Time-Series Database
→ Design a Distributed File Storage System
→ Design a Log Processing Pipeline
→ Design a Streaming Data Processing System
CLOUD, DEVOPS & INFRASTRUCTURE SYSTEMS
→ Design a CI/CD Pipeline Architecture
→ Design a Kubernetes-like Orchestration System
→ Design a Serverless Computing Platform
→ Design an API Gateway System
→ Design a Feature Flag Management System
→ Design a Secrets Management Platform
→ Design a Multi-Region Deployment Architecture
→ Design a Service Mesh System
→ Design an Observability Platform
→ Design a Disaster Recovery System
AI, MODERN SYSTEMS & LARGE-SCALE PLATFORMS
→ Design a ChatGPT-like LLM System
→ Design a RAG-based Knowledge Assistant
→ Design an AI Code Generation Platform
→ Design a Semantic Search Engine
→ Design a Voice Assistant System
→ Design a Video Recommendation Engine
→ Design an AI Agent Architecture
→ Design an AI-powered Document Summarization System
→ Design a Real-Time AI Inference Platform
→ Design a Multi-Agent Collaboration System
INTERVIEW-LEVEL ADVANCED CASE STUDIES
→ Design Netflix Architecture at Scale
→ Design YouTube Video Streaming System
→ Design Uber Ride Matching System
→ Design Spotify Music Streaming Architecture
→ Design Google Maps Navigation System
→ Design Dropbox File Sync System
→ Design Zoom Video Conferencing Platform
→ Design LinkedIn Social Graph System
→ Design Airbnb Booking System
→ Design Stripe Payment Infrastructure
To master modern system design with real-world architectures, scalability patterns, and production-grade engineering concepts, get the complete handbook here:
https://t.co/ec73poyTBr
#PHP Tip
Make use of Laravel's "dot" notation for accessing nested array values. 🎯
Simplify accessing multidimensional arrays with a single dot-separated string.
React Session 4 Notes
Takeaways:
- State is the single source of truth.
- Normal variables do not trigger UI updates.
- useState gives value and setter.
- Setter updates state and signals React.
- React creates new virtual DOM after update.
- React compares old and new virtual DOM.
- Only changed real DOM nodes are updated
- Component must return one parent node.
- Props pass data from parent to child.
- Every component instance has its own state.
- Keys help React identify list items.
- Do not use index as key when list changes.
- Do not mutate array/object state directly.
- Use new reference for state updates.
- Next.js improves first paint using SSR/server components.
- Use client components only where interactivity is needed.