Build your own framework with Visual FoxPro /
Annotation Have you been frustrated by the steep learning curve associated with most frameworks? Then build your own! Building your own framework can be a challenging.and rewarding experience. This book provides detailed guidelines for developers who wish to develop their own framework. In each chap...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Whitefish Bay, WI :
Hentzenwerke Pub.,
2004.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Our Contract with You, The Reader
- List of Chapters
- Table of Contents
- Acknowledgements
- About the Authors
- How to Download the Files
- Chapter 1: Introduction
- Who should read this book?
- What is an application framework?
- Why use a framework?
- How is a framework different from a class library?
- Elements of a framework
- Reasons to create your own framework
- Reasons to avoid developing your own framework
- Framework mindset
- Overview
- How should I read this book?
- A word about the approach presented in this book
- Icons used in this book
- Summary.
- Chapter 2: Project Planning
- Steering document
- The goal statement
- Guidelines
- Objectives
- Implementation plan
- Requirements list
- Design (implementation)
- Task list
- Test plan
- Sample (excerpt)
- Conventions
- Summary
- Chapter 3: Framework Architecture
- Architectures and tiers
- Presentation layer
- Logic layer
- Data layer
- Separation of power
- The approach in My Frame
- Functional view
- Application Variable Server (myAppVars)
- Forms collection (myFormsCollection)
- Location manager (myLocations)
- Messaging service (myMessages).
- Preferences manager (myPreferences)
- Security module (mySecurity)
- System codes
- Toolbars collection
- Reports manager (myReports)
- Error handler
- Framework data model
- Summary
- Chapter 4: Techniques for Flexibility
- Classes
- Avoiding hard coding
- Changing object composition
- About the interface
- Patterns-Overview
- Template method
- Styles
- Mediator and event binding
- Factory method
- Abstract factory
- Delegation (bridge)
- Proxy-Overview
- The proxy class in MyFrame
- Wrappers
- Summary
- Chapter 5: Beginning Development
- Folder structure.
- Separating framework files from application files
- Configuring the application folder
- Configuring the framework folder
- Project manager
- Framework and application files
- Starting a FoxPro application
- aApplication
- Creating the main programs
- Main_Frame.prg
- Main.prg
- Summary
- Chapter 6: Creating a Class Library
- Base classes
- A simple class library
- Labels
- Command buttons
- Text boxes
- Containers
- Combo boxes
- Treeview control (MyTreeView)
- Shapes
- PageFrame, CommandGroup, and OptionGroup
- PageFrame
- Grids
- Forms.
- Using framework classes in an application
- Direct
- Direct Subclass
- CodeBook Style
- Assembled In App
- Rebuild
- Meta Data
- The recommended approach
- Summary
- Chapter 7: Environments and Sessions
- Data sessions
- Creating data sessions
- Object scope
- Environments
- Data session environments
- Save, set, and restore the environment
- Implementing the environment classes
- Creating a Session class
- Summary
- Chapter 8: Collections
- What is a collection?
- Accessing elements in a collection
- Individually-by position
- For Next
- Do While
- For Each.