Header Ads




In this first article of Jiangxi we answer the question "What is Jianggo?" And give you an overview of what makes this web framework unique. We'll outline some of the key features, including some advanced functionality that we won't have time to cover in detail in this module. We'll also show you some of the main building blocks of the Jjango application, so you can get a sense of what it can do before you start setting up and playing it.
Establishment of Jiangsu Development Environment

Now that you know what Jingo is for, we'll show you how to configure and test the Django development environment on Windows, Linux (Ubuntu), and MacOS - whatever common operating system you're using, What you should give this article is what you need to be able to start building Xiang Apps.

Jiangsu Tutorial: Local Library Website

The first article in our Practical Tutorial Series explains what you will learn, and provides an overview of the "Local Library" - a website we will work with and get ready for in the following articles.

Jianggo Tutorial Part 2: Creating a Skeleton Website

This article shows how you can create a "Skeleton" website project as a basis, after which you can populate with site-specific settings, URLs, models, views and templates.
Jianggo Tutorial Part 3: Using the Model

This article shows how to define local library website models - the models represent the data structures in which we want to store our app's data, and Jingo also has a database for us. I allow to store data (and edit it later). It explains what the model is, how it is announced, and some of the main field types. It also briefly outlines some of the key ways to access the model's data.

Jiangsu Tutorial Part 4: The Jingo Admin Site

Now that we've created models for the Local Library website, we'll use the Jjango Admin site to add some "original" book data. First we'll show you how to register the models with the admin site, then we'll show you how to log in and create some data. Finally we show you some ways you can improve the admin site offering.

Jianggo Tutorial Part 5: Creating Our Homepage

We are now ready to add the code to display our first full page. A home page for the local library that shows how many records we have for each model, and provides a sidebar navigation link on our other pages. Along the way we will gain practical experience in writing basic URL maps and ideas, retrieve records from databases, and use templates.
Jiangsu Tutorial Part 6: Overview and Overview

This tutorial has expanded our Local Library website, which includes a list and description pages for books and authors. Here we will learn about common class-based ideas, and show how they can reduce the amount of writing code in common use cases. We'll go into URL handling in as much detail as we can, performing basic matchmaking.

Jianggo Tutorial Part 7: The Session Framework

This tutorial has enhanced our Local Library website by adding a session-based visit counter to the homepage. This is a relatively simple example, but it shows how you can use the session framework to provide consistent behavior for anonymous users in your own sites.

Jiangsu Tutorial Part 8: User Authentication and Permissions

In this tutorial we will show you how to allow users to log in to your site through their accounts, and how they can be controlled and whether they are logged in or not, based on their permissions. How to control them As part of this demonstration, we will be expanding the local library website, which includes log-in and logout pages, and user- and staff-specific pages to view the borrowed pages. Will add

Jianggo Tutorial Part 9: Working with Farms

In this tutorial we will show you how to work with HTML forms in Jiangxi, and in particular the simplest way to write a form to create, update and delete models. As part of this demonstration, we will enhance the Local Library website so that librarians can update books, and create, update, and delete authors using our own form (rather than using the Admin application).

Jingo Tutorial Part 10: Testing a Jango Web Application

As websites grow they become harder to manually test - not only is there more to test, but, as interactions between components become more complex, their impact on other areas One small change in one area may require many additional tests to confirm. One way to reduce these problems is to write tests automatically, which can be run easily and reliably whenever you make changes. Shown in this tutorial

Python is a programming language written in the early 1990's by a man named Guddu von Rusom. Python is a high-end, general-purpose programming language for solving problems in modern computer systems. Language and many assistive tools are free, and Python programs can run on any operating system. Python lets you work faster and integrate your system more efficiently.

Python aims to make programming easier to learn. Python has a simple, traditional recipe. Python can also perform a line of code that takes several lines to perform the second language normally. Reading a good, well-written python program makes us feel like we are reading English text.

Python offers commonly used data structures such as lists, dictionaries and strings as the core of a language. Python comes with powerful and standard operations, including concoction, slicing, sorting and mapping to process different types of objects. Python supports object oriented programming pyramids. Its class model supports advanced concepts such as polymorphism, operator overloading and multiple inheritance.

Everything you need for a modern programming language. It is used for programs such as computer vision, super computing, drug discovery, scientific computing, simulation, and bioinformatics. The Skippy Library is a collection of several programs that are open source (free) and open to math, science and data analysis. Can be used. iPython is a program similar to the ones we use for our projects, including at IDLE or Terminal. MetaPlotLab is an advanced tool that can be coded using simple or complex charts, graphs, histograms and even python to create animations. Python also offers a number of tools to implement harmonious and conflicting behaviors: threads, shared routines, and processes. Python's web development framework, such as Django, Turbo Gears, Web Cap, Pilons, Zoopa and Webware, supports the rapid creation of full-featured and production-quality websites with 

This section shows you step-by-step how to work with SQLite databases using the Python program language.

Python provides two popular interfaces for working with the SQL Database Library: PES Cavalet and APSW. Each interface targets a set of different needs.

PES Cavalry

PES provides a standard PATH DBI API 2.0 compliant interface for the Civit SQL database. If your application needs help not only for SQLite databases but also other databases such as MySQL, PostgreSQL, and Oracle, PySQLite is a good choice.

PySQLite is a part of the Python standard library since Python version 2.5

If your application only needs to support SQLite databases, you should use the APSW module, called another Python SQLite Wrapper.

APSQL provides the thinnest layer in the database library. APSW is designed to replicate native SQLite C, so whatever you can do with the SQLite C API, you can do it with Python.

In addition to covering the MySQL library, APSW provides very few advanced features, including user-defined aggregation, function, and ability to create python collation. It even allows you to write virtual table implementation using Python.

No comments

Post Bottom Ad