release media
This commit is contained in:
52
module-a/media/D4/posts_dump.sql
Normal file
52
module-a/media/D4/posts_dump.sql
Normal file
@@ -0,0 +1,52 @@
|
||||
-- D4: posts_dump.sql
|
||||
-- Import AFTER creating the posts table yourself.
|
||||
-- posts table structure: id, title, content, created_at
|
||||
|
||||
INSERT INTO `posts` (`title`, `content`, `created_at`) VALUES
|
||||
('Getting Started with HTML', 'HTML is the foundation of every web page. It provides the structure and meaning of content through a system of elements and tags. Learning HTML is the first step toward becoming a web developer.', '2026-01-03 09:00:00'),
|
||||
('CSS Box Model Explained', 'The CSS box model describes the rectangular boxes generated for elements. Every element has margin, border, padding, and content areas that affect its size and spacing on the page.', '2026-01-05 10:15:00'),
|
||||
('JavaScript Variables', 'Variables in JavaScript can be declared with var, let, or const. Understanding the differences in scope and mutability between these keywords is essential for writing clean code.', '2026-01-07 11:30:00'),
|
||||
('Introduction to PHP', 'PHP is a widely-used server-side scripting language. It is especially suited for web development and can be embedded directly into HTML to generate dynamic content.', '2026-01-09 13:00:00'),
|
||||
('MySQL Basics', 'MySQL is a relational database management system. Data is organized into tables with rows and columns, and SQL is used to query and manipulate this data efficiently.', '2026-01-11 14:20:00'),
|
||||
('Understanding Flexbox', 'CSS Flexbox is a layout model that distributes space along a single axis. It makes it easy to align and distribute items within a container, even when their sizes are unknown.', '2026-01-13 09:45:00'),
|
||||
('Git Version Control', 'Git is a distributed version control system that tracks changes in source code. It enables collaboration between developers and provides a complete history of every modification.', '2026-01-15 10:00:00'),
|
||||
('Responsive Web Design', 'Responsive design adapts your website layout to different screen sizes. Media queries, flexible grids, and fluid images are the main techniques used to achieve responsiveness.', '2026-01-17 11:00:00'),
|
||||
('HTTP Methods Overview', 'HTTP defines methods to indicate the desired action for a resource. GET retrieves data, POST submits data, PUT updates a resource, and DELETE removes it.', '2026-01-19 14:00:00'),
|
||||
('Form Elements in HTML', 'HTML forms collect user input through elements like input, textarea, select, and button. Proper use of labels, placeholders, and validation attributes improves usability.', '2026-01-21 15:30:00'),
|
||||
('CSS Selectors Guide', 'CSS selectors target HTML elements to apply styles. You can select by element type, class, ID, attribute, or relationship to other elements using various selector patterns.', '2026-01-23 09:00:00'),
|
||||
('JavaScript Functions', 'Functions are reusable blocks of code in JavaScript. They can accept parameters and return values, helping you organize logic and avoid code repetition throughout your application.', '2026-01-25 10:30:00'),
|
||||
('PDO Database Connection', 'PHP Data Objects provide a consistent interface for accessing databases. Using PDO with prepared statements protects against SQL injection and makes your database code more portable.', '2026-01-27 11:45:00'),
|
||||
('CSS Grid System', 'CSS Grid is a two-dimensional layout system. Unlike Flexbox, it allows you to control both rows and columns simultaneously, making it ideal for complex page layouts.', '2026-01-29 13:15:00'),
|
||||
('JavaScript Arrays', 'Arrays in JavaScript store multiple values in a single variable. Built-in methods like map, filter, reduce, and forEach make it easy to transform and iterate over array data.', '2026-01-31 14:30:00'),
|
||||
('PHP Sessions', 'Sessions in PHP preserve data across multiple page requests. The session_start function initializes a session, and data is stored in the $_SESSION superglobal array.', '2026-02-02 09:30:00'),
|
||||
('Web Accessibility', 'Accessible websites can be used by people with various disabilities. Semantic HTML, proper heading structure, alt text for images, and keyboard navigation support are key practices.', '2026-02-04 10:45:00'),
|
||||
('JavaScript Events', 'Events allow JavaScript to respond to user interactions such as clicks, key presses, and mouse movements. Event listeners can be attached to any DOM element using addEventListener.', '2026-02-06 12:00:00'),
|
||||
('SQL SELECT Queries', 'The SELECT statement retrieves data from one or more database tables. You can filter results with WHERE, sort them with ORDER BY, and limit the count with LIMIT.', '2026-02-08 13:30:00'),
|
||||
('CSS Animations', 'CSS animations use keyframes to define transitions between styles over time. The animation property controls duration, timing function, delay, and iteration count.', '2026-02-10 15:00:00'),
|
||||
('HTML Semantic Elements', 'Semantic HTML elements clearly describe their meaning to both browsers and developers. Elements like header, nav, main, article, section, and footer improve document structure.', '2026-02-12 09:15:00'),
|
||||
('JavaScript Promises', 'Promises represent the eventual result of an asynchronous operation. They provide then and catch methods for handling success and failure, and async/await simplifies their usage.', '2026-02-14 10:30:00'),
|
||||
('MySQL JOIN Operations', 'JOIN operations combine rows from multiple tables based on a related column. INNER, LEFT, RIGHT, and FULL JOIN types determine which rows are included in the result set.', '2026-02-16 11:45:00'),
|
||||
('CSS Transitions', 'CSS transitions smoothly animate changes between property values. You specify which property to animate, how long it takes, and the timing function that controls acceleration.', '2026-02-18 13:00:00'),
|
||||
('PHP File Uploads', 'File uploads in PHP are handled through the $_FILES superglobal. Always validate file type, size, and name on the server side before storing files to ensure security.', '2026-02-20 14:15:00'),
|
||||
('JavaScript Objects', 'Objects in JavaScript store collections of key-value pairs. They can contain properties and methods, and are fundamental to understanding how JavaScript data structures work.', '2026-02-22 09:00:00'),
|
||||
('MySQL Aggregate Functions', 'Aggregate functions perform calculations on groups of rows. COUNT, SUM, AVG, MIN, and MAX are commonly used with GROUP BY to generate summary statistics from your data.', '2026-02-24 10:15:00'),
|
||||
('CSS Pseudo-classes', 'Pseudo-classes select elements based on their state or position. Hover, focus, first-child, nth-child, and checked are common examples that enable dynamic styling without JavaScript.', '2026-02-26 11:30:00'),
|
||||
('JavaScript Fetch API', 'The Fetch API provides a modern interface for making HTTP requests. It returns Promises and supports async/await syntax, replacing the older XMLHttpRequest approach.', '2026-02-28 13:00:00'),
|
||||
('PHP Password Hashing', 'Storing plain text passwords is a serious security risk. PHP provides password_hash and password_verify functions that use bcrypt to securely hash and verify passwords.', '2026-03-02 14:30:00'),
|
||||
('HTML Canvas Basics', 'The HTML canvas element provides a drawing surface for JavaScript. You can render shapes, images, text, and animations programmatically using the 2D rendering context.', '2026-03-04 09:45:00'),
|
||||
('CSS Custom Properties', 'CSS custom properties, also known as CSS variables, store reusable values defined with double dashes. They can be overridden in child elements, enabling powerful theming systems.', '2026-03-06 11:00:00'),
|
||||
('JavaScript localStorage', 'The localStorage API stores key-value string data persistently in the browser. Unlike cookies, it is not sent with HTTP requests and has a larger storage limit of around 5MB.', '2026-03-08 12:15:00'),
|
||||
('MySQL Indexes', 'Indexes improve database query performance by allowing the engine to find rows faster. However, they add overhead during write operations, so they should be added thoughtfully.', '2026-03-10 13:30:00'),
|
||||
('PHP Error Handling', 'PHP provides try-catch blocks for handling exceptions. Proper error handling prevents application crashes, logs issues for debugging, and shows appropriate messages to users.', '2026-03-12 15:00:00'),
|
||||
('CSS Media Queries', 'Media queries apply styles based on screen size, resolution, or orientation. They are the backbone of responsive design, allowing layouts to adapt across different devices.', '2026-03-14 09:00:00'),
|
||||
('JavaScript Closures', 'A closure is a function that retains access to its outer scope even after the outer function has returned. They are widely used for data privacy and function factories.', '2026-03-16 10:15:00'),
|
||||
('MySQL Transactions', 'Transactions group multiple SQL operations into a single atomic unit. If any operation fails, the entire transaction can be rolled back to maintain data consistency.', '2026-03-18 11:30:00'),
|
||||
('HTML Meta Tags', 'Meta tags provide metadata about an HTML document to browsers and search engines. The charset, viewport, description, and Open Graph tags are among the most important ones.', '2026-03-20 13:00:00'),
|
||||
('CSS Position Property', 'The CSS position property controls how elements are placed in the document flow. Static, relative, absolute, fixed, and sticky each behave differently regarding layout and scrolling.', '2026-03-22 14:15:00'),
|
||||
('JavaScript Modules', 'ES6 modules allow you to split JavaScript code into reusable files. Using import and export statements, you can share functions and variables between different script files.', '2026-03-24 09:30:00'),
|
||||
('PHP RESTful APIs', 'Building REST APIs in PHP involves routing requests by HTTP method and URL pattern. Returning JSON responses with appropriate status codes follows REST conventions effectively.', '2026-03-26 10:45:00'),
|
||||
('MySQL Subqueries', 'A subquery is a query nested inside another query. It can appear in the SELECT, FROM, or WHERE clause and is used to build complex queries that depend on intermediate results.', '2026-03-28 12:00:00'),
|
||||
('CSS Overflow Property', 'The overflow property controls how content that exceeds an element is handled. Values include visible, hidden, scroll, and auto, each affecting both display and scrollability.', '2026-03-30 13:15:00'),
|
||||
('JavaScript Regular Expressions', 'Regular expressions in JavaScript are patterns used to match character combinations in strings. They are used for validation, searching, and replacing text using the RegExp object.', '2026-04-01 14:30:00'),
|
||||
('PHP cURL Requests', 'cURL in PHP allows you to make HTTP requests to external URLs. It is commonly used to consume third-party APIs, send data to webhooks, or download remote resources.', '2026-04-03 09:00:00'),
|
||||
('MySQL Views', 'A database view is a saved SELECT query that acts like a virtual table. Views simplify complex queries, provide an abstraction layer, and can restrict access to specific columns.', '2026-04-05 10:15:00');
|
||||
Reference in New Issue
Block a user