- 博客(0)
- 资源 (5)
- 收藏
- 关注
Odoo 11 Development Cookbook-Second Edition
目录:
Installing the Odoo Development Environment, begins with how to
create a development environment for Odoo, start Odoo, create a
configuration file, and activate the developer tools of Odoo.
Chapter 1 ,
Managing Odoo Server Instances, is about addon installation and
upgrading. It provides useful tips for working with addons installed from
GitHub and organizing the source code of your instance.
Chapter 2 ,
Server Deployment, provides advice on how to install and configure
Odoo for production, including setting up a reverse proxy to encrypt network
communications over HTTPS and ensuring that Odoo starts when the server
boots.
Chapter 3 ,
Creating Odoo addon Modules, explains the structure of an Odoo
addon module and provides a step-by-step guide for creating a simple module
from scratch.
Chapter 4 ,
Application Models, focuses on Odoo model descriptions, and
explains the various field types and the different inheritance models available
in Odoo.
Chapter 5 ,
Basic Server-Side Development, introduces the API of Odoo,
presents the commonly used methods of the Model class, and explains how to
write business logic methods. More advanced topics are covered in Chapter 9 ,
Advanced Server-Side Development.
Chapter 6 ,
Module Data, shows how to ship data along with the code of your
module. It also explains how to write a migration script when a data model
provided by an addon is modified in a new release.
Chapter 7 ,
Debugging and Automated Testing, proposes some strategies for
server-side debugging and provides an introduction to the Python debugger. It
also explains how to write and run automated tests using YAML or Python for
your addon modules. Client-side testing is covered in Chapter 15 , Web Client
Development.
Chapter 8 ,
Chapter 9 ,
Advanced Server-Side Development Techniques, outlines more
31advanced topics useful when writing business methods, such as writing
wizards to walk the user through a process, writing onchange methods,
manipulating the execution context or bypassing the ORM to use raw SQL.
Backend Views, teaches you how to write business views for your
data models and how to call server-side methods from these views. It covers
the usual views (list view, form view, and search view) as well as the views
introduced in recent versions of Odoo (kanban, graph, calendar, pivot, and so
on).
Chapter 10 ,
Access Security, discusses how to control who has access to what in
your Odoo instance by creating security groups, writing access control lists to
define what operations are available to each group on a given model, and if
necessary by writing record-level rules.
Chapter 11 ,
Internationalization, takes you through the translation of the user
interfaces of your addons and provides useful tricks about using GNU Gettext
command line tools to manipulate translation files.
Chapter 12 ,
Automation, Workflows, Emails, and Printouts, illustrates the
different tools available in Odoo to implement business processes for your
records. It also shows how server actions and automated rules can be used to
support business rules, and how to generate emails and PDF documents with
Odoo.
Chapter 13 ,
Web Server Development, deals with the core of the web server in
Odoo. It explains how to map URLs to methods and how to control who can
access these URLs.
Chapter 14 ,
Web Client Development, dives into the JavaScript part of Odoo and
explains how you can provide new widgets and make RPC calls to the server.
It also gives tips about debugging and testing this part of your code.
Chapter 15 ,
CMS Website Development, shows how to customize websites built
with Odoo, by writing your own templates and providing new snippets for use
in the website builder.
2019-03-04
Odoo 11 Development Essentials 3 Edition(epub)
This books contains 14 chapters, which can be seen to be organized in five parts, roughly, introduction, models, business logic, views, and deployment.
The first part introduces the Odoo framework, explains how to set up your development environment and provides a tutorial with thorough, step-by-step creation of a new Odoo module:
Chapter 1, Quick Start – The Odoo Developer Mode and Concepts, visually introduces the Odoo development concepts, creating a simple Odoo application directly from the user interface. An existing Odoo installation, or an Odoo.com instance, can be used, so no local setup is needed.
Chapter 2, Installing and Organizing the Development Environment, explains how to install Odoo from source and how to set up the development environment to be used throughout the book. We choose to install Odoo in an Ubuntu host, but guidance is given to have a perfectly functioning development environment in a Windows machine with an Ubuntu virtual machine.
Chapter 3, Your First Odoo Application – A Practical Overview, provides a step-by-step guide through the creation of our first Odoo module. While the example is kept simple, it covers all the different layers and components that can be involved in an Odoo application: models, business logic, backend views, and web frontend views.
The second part of the book introduces Models, responsible for the data model structures around which the application is built:
Chapter 4, Models – Structuring the Application Data, discusses the Model layer in detail, introducing the framework's Object-Relational Mapping (ORM), the different types of models available, and the field types, including relational and computed fields.
Chapter 5, Import, Export, and Module Data, covers the most used Odoo data file formats—XML and CSV—the external identifier concept, how use to data file in modules, and data import/export operations.
In the third part, we explain how to write the business logic layer on top of the Models—the "Controller "component of the architecture:
Chapter 6, The ORM API – Handling Application Data, goes further into the ORM, explaining how it can be used to manipulate the data in the Models. The API for social features, such as followers and notifications, is also explained.
Chapter 7, Business Logic – Supporting Business Processes, explains how to program business logic on the server side, leveraging the ORM concepts and features. It also explains how to use wizards for a more sophisticated user interaction.
Chapter 8, External API – Integrating with Other Systems, shows how to implement Odoo external applications by implementing a command-line client that interacts with our Odoo server. There are several alternative client programming libraries available, which are introduced and used to implement our showcase client utility.
The fourth part explores the "View" layer and the several technologies that can be used for that layer:
Chapter 9, Backend Views – Design the User Interface, covers the web client's View layer, explaining the several types of views in detail and all the elements that can be used to create dynamic and intuitive user interfaces.
Chapter 10, Kanban Views and Client-Side QWeb, keeps working with the web client, but introduces Kanban views and explains the QWeb templates used to design the Kanban board elements.
Chapter 11, Reports and Server-Side QWeb, discusses using the QWeb-based report engine and everything needed to generate printer-friendly PDF reports.
Chapter 12, Creating Website Frontend Features, introduces Odoo website development, including web controller implementations and using QWeb templates to build frontend web pages.
Finally, the fifth part covers deployment and maintenance practices. Some special considerations, not relevant for development environments, need to be taken into account when deploying for production use.
Chapter 13, Debugging and Automated Tests, shares some debugging techniques to be used when developing Odoo modules. How to implement automated tests is also explained, since this is an essential practice to produce reliable code.
Chapter 14, Deploying and Maintaining Production Instances, shows us how to prepare a server for production prime time, explaining what configuration should be taken care of and how to configure an Nginx reverse proxy for improved security and scalability.
2019-02-01
Magento2 CookBook
What this book covers
Chapter 1, Installing Magento 2 on Apache and NGINX, is a totally different ballgame
compared to Magento 1. Where Magento 1 could be installed through FTP or SSH,
Magento 2 is installable only via the command-line interface for an experienced
webmaster.
Chapter 2, Magento 2 System Tools, explains how to install Magento 2 via the command
shell. Magento released a new powerful tool to manage and install sample data, reindex
your database, back up your site, or flush your caches, which are just a few of the options.
Chapter 3, Enabling Performance in Magento 2, explains how to configure different types
of caching options. In Magento 2, the Full Page Cache (FPC) can be handled by Varnish to
give your store a performance boost. There are also external services that you can use as a
cache.
Chapter 4, Creating Catalogs and Categories, shows you one of the major elements of a
Magento store before creating products. Creating the correct product type including
attributes is an important step in setting up a Magento store.
Chapter 5, Managing Your Store, covers setting up the correct tax rules, configuring an
inventory, and creating customer groups.
Chapter 6, Creating a Magento 2 Theme, discusses the Magento 2 blank theme and how to
use the fallback to create seasonal variations. It also explains how the new theme is set up
and where files are stored.
Chapter 7, Creating Magento 2 Extensions – the Basics, contains the basic functions
required to use extensions in a Magento 2 installation. It contains a brief introduction to
new methods introduced in the Magento 2 framework and examples on how to create
basic functions.
Chapter 8, Creating Magento 2 Extensions – Advanced, explains how to use advanced
features in extensions for Magento 2. It also includes how to add unit/functional tests as
this is a new requirement for extensions listed on the new Magento
2019-01-12
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人