Welcome!

Unlock your personalized experience.
Sign Up
Category

Programming & Development

Master programming languages like Python, JavaScript, and frameworks like React. Build web applications and enhance your development skills.

47 posts Page 2 / 3

Django REST APIs: DRF Basics, Authentication and Permissions

To build REST APIs with Django, most teams use Django REST framework (DRF), a third-party package on top of Django. You define serializers that convert models to and from JSON and validate input, views or viewsets that handle requests, and routers that create URLs. Authentication classes identify who is calling (session, token or a JWT package), and permission classes decide what they may do.

Learning Django Online: A Self-Study Path from the Official Tutorial

You can learn Django online for free by following a clear path. Start with Python basics, then work through the official Django tutorial, which builds a polls app across eight parts covering models, views, templates, forms, testing, static files and the admin. Add the free Django Girls tutorial or MDN's Django tutorial for a second, beginner-friendly project, and Harvard's CS50W if you want a full course.

Django Security Essentials: CSRF, XSS, SQL Injection and Deployment

Django ships with strong security defaults, but you must keep them switched on and configure production properly. CSRF middleware protects forms when you include the csrf_token tag. Templates autoescape HTML, which blocks most cross-site scripting. The ORM parameterises queries, which prevents SQL injection unless you build raw SQL from strings.

Deploying Django: WSGI vs ASGI, Gunicorn, Static Files and Databases

To deploy Django, replace the development server with a production application server. Use WSGI with a server such as Gunicorn for standard synchronous apps, or ASGI with a server such as Uvicorn or Daphne if you need async features like WebSockets. Put a reverse proxy such as Nginx in front to handle HTTPS and serve static files collected with collectstatic.

How to Build Your First AI Model in Python: Step-by-Step Guide

The easiest way to build your first AI model in Python is to use the scikit-learn library with a small built-in dataset such as Iris. Install Python and scikit-learn, load the data, split it into training and test sets, train a classifier such as a random forest, measure its accuracy on the test set, then save the model and use it to predict new examples. The complete working script below is about 20 lines.

Learning MySQL Online vs in a Classroom: Which Format Fits You?

You can learn MySQL well either online or in a classroom, because the core skill is the same: writing and running SQL against a real server. Online learning, live or self-paced, suits people who need flexible hours and can stay disciplined. Classroom learning suits people who want fixed timings, instant help from a trainer and peers to practise with.

A Self-Study MySQL Path: Learn MySQL from Scratch Step by Step

You can learn MySQL from scratch on your own by following stages in order: install MySQL and load a sample database, learn basic SELECT queries, design tables with keys, combine tables with joins and aggregates, then move on to indexes, transactions, backups and user accounts. Use the free MySQL reference manual as your main textbook and practise on a current Long-Term Support release such as MySQL 8.4.

Oracle MySQL Certification: Which Exams Exist and What They Cover

Oracle runs the official MySQL certifications. Oracle's certification catalog lists three MySQL exams: MySQL 8.0 Database Administrator (1Z0-908), MySQL 8.0 Database Developer (1Z0-909) and MySQL HeatWave Implementation Associate Rel 1 (1Z0-915-1). The administrator exam suits people who install, secure, back up and tune MySQL servers. The developer exam suits people who write SQL and application code against MySQL.

MySQL Performance Basics: Indexes, EXPLAIN and the Slow Query Log

Most MySQL performance problems come from a few slow queries, not from the server itself. The basic method has four steps. First, find slow queries with the slow query log or the sys schema. Second, run EXPLAIN or EXPLAIN ANALYZE to see how MySQL executes them, looking for full table scans and large row estimates.

SQL Basics for MySQL Beginners: SELECT, JOIN and GROUP BY Explained

As a MySQL beginner you need three building blocks. SELECT reads rows from a table, with WHERE to filter, ORDER BY to sort and LIMIT to cap the number of rows. JOIN combines rows from related tables using matching key columns; INNER JOIN keeps only matches and LEFT JOIN keeps every row from the left table.

How to Choose MySQL Classes: A Practical Checklist for Learners

Choose MySQL classes by checking substance, not marketing. A good class teaches on a current MySQL release, ideally a Long-Term Support series such as 8.4, and spends most of its time on hands-on labs. Its syllabus should cover SQL querying, schema design, indexes and EXPLAIN, transactions, backups, user privileges and secure coding against SQL injection.

MySQL Certification Prep Plan: How to Study, Practise and Book

To prepare for an Oracle MySQL certification, first pick your exam: MySQL 8.0 Database Administrator (1Z0-908) or MySQL 8.0 Database Developer (1Z0-909), both listed in Oracle's certification catalog. Download the official exam topics from Oracle MyLearn and turn each topic into lab tasks on a MySQL 8.0 test server.

MySQL for Data Analysts: CTEs, Window Functions and Reporting SQL

Data analysts use MySQL to answer business questions directly from the database. Beyond SELECT, JOIN and GROUP BY, the most useful features are common table expressions (CTEs), which break a long query into named, readable steps, and window functions such as ROW_NUMBER, RANK, LAG and SUM OVER, which calculate rankings, period-over-period changes and running totals without collapsing rows.

MySQL Security Essentials: Least Privilege, TLS and SQL Injection

Securing MySQL comes down to a few habits. Give every application and person a separate account with only the privileges they need, and never let applications connect as root. Require encrypted TLS connections, and use the strong caching_sha2_password authentication plugin, which is the default in MySQL 8. Keep the server off the public internet, apply a password policy and patch regularly.