PFC Study Notes (I) Overview

Source: Internet
Author: User
I. Encapsulation

1. PFC uses the public and protected types, not the private type.

2. For readable instance variables, provide of_getvariablename

3. For modifiable instance variables, provide of_setvariablename

4. For Boolean Type, of_isvariablename is provided

5. Use register/unregister for Service Registration/Cancellation

Ii. Types of PFC services:

1. Application Service: Application priority, data window cache, debugging, error messages, recently used objects, security, and transaction registration

2. Window service: Basic Service, priority service, page manager, and status bar

3. Data window service: basic Service, data window size adjustment service, drop-down search, filtering, search, Link, multi-Table update, attribute, query mode, report, required column, size adjustment, row manager, row Selection, sorting

4. Data Storage Service: Basic Service, multi-Table update, print preview, and report

5. Global Service: file, INI file, work logic unit, Meta class, menu, value, platform, size adjustment, RTE search, selection, SQL, SQL spy, string

The concept of service is the basic idea of PFC. Its own class libraries do not have the concept of service. They are just a few global user objects.

Iii. Service Features

1. Select to start the service.

2. Authorization relationship. It can be divided into supporting relationships and comprehensive relationships.

Iv. Expansion layer of PFC

1. PFC provides an extended layer for PFC customization.

2. You can add the logic used for the whole, department, or specified application to the extension layer object.

3. Extended PBL is not affected when the version is updated.

4. ancestor and extension layers of the PFC service.

Applications and Global Services Pfcapsrv. PBL Pfeapsrv. PBL
Data window service Pfcdwsrv. PBL Pfedwsrv. PBL
Visual and standard user objects Pfcmain. PBL Pfemain. PBL
Tool Service Pfcutil. PBL Pfeutil. PBL
Window Service Pfcwnsrv. PBL Pfewnsrv. PBL

The discarded PFC object is placed in pfcold. PBL without an extension layer.

5. PFC object naming conventions
Ancestor object, prefix uses PFC _
Extended object. The ancestor object after PFC _ is removed has the same name.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.