Explore
Courses
Statistics
Jobs
People
Certifications
Batch Schedule
Certified Participants
Course Creation
Create a Course
Guidelines
About Us
Login
Library Management with Frappe Framework
Introduction
Who is this for? What are we building?
Who is this for?
What are we building?
Prerequisites
A list of resources to help you get started with building apps using Frappe.
Python
MariaDB / Postgres
HTML / CSS
JavaScript / jQuery
Jinja Templating
Git / GitHub
Install and Setup Bench
Bench is the command line tool to manage Frappe apps and sites.
Installation
Create the frappe-bench directory
Directory Structure
Start the Bench Server
Create an App
Create a frappe app scaffold using the bench CLI.
Create app
App directory structure
Create a Site
A site comes with a database and apps can be installed on it.
Create a new site
Site Directory Structure
Access site in your browser
Install app on site
Login to Desk
Site commands
Create a DocType
DocType is analogous to a Model in other frameworks. Apart from defining properties, it also defines the behavior of the Model.
Enable Developer Mode
Creating a DocType
What happened when you created the Article DocType?
DocType Features
In the previous chapter, we created the Article doctype. Let's see what other features we can customize.
Naming
Form Layout
Form Settings
Permissions
Controller Methods
Controller methods allow you to write business logic during the lifecycle of a document.
Controller Methods
Types of DocType
Let's learn about the different types of doctype in the framework by creating more doctypes.
Library Membership
Linked DocTypes
Submittable DocTypes
Controller Validation for Membership
Library Transaction
Validation for Transaction
Library Settings
Single DocTypes
Validation for Library Settings
Form Scripts
Form Scripts are client-side javascript code that enhances the UX of your Forms.
Form Scripts
Portal Pages
Portal pages are server rendered pages for your website visitors.
Portal Pages
Customize Web View Template
What's Next?
The goal of this tutorial was to give an introduction to the various parts of the framework. We have only scratched the surface here. Frappe Framework has a lot more features that have enabled us to build complex software such as ERPNext.
What's Next?
Need Help?
Quiz Time
This quiz has a few basic questions on what we have learned so far. It will give you an idea of how well you have understood the lessons.
Practice
Assignment
Now that you have completed this tutorial and created the Library Management App using the Frappe Framework, its time you create an app on your own
Accounting App
Features
Not Available for Preview
This lesson is not available for preview. Please join the course to access it.
All Courses
Library Management with Frappe Framework
Practice
Practice
Faris Ansari
Aug 5, 2021
There is no preview available for this lesson. Please join the course to access it. Click
here
to enroll.
Previous Lesson
Next Lesson
Ask a Question
×
Have a doubt?
Post it here, our mentors will help you out.
Login