Differences

This shows you the differences between two versions of the page.

Link to this comparison view

three layers introduction [2016/09/14 18:19]
three layers introduction [2016/09/14 18:19] (current)
Line 1: Line 1:
 +====== Blocks, Layers and Tools ======
  
 +===== Build 5 Blocks =====
 +WorkXpress has five building blocks that are used to create applications.
 +==== Forms ====
 +{{:​wxwiki:​concepts:​blue_block.gif?​nolink&​30|}} [[Form|Forms]] can be used to get information from users as well as display information. For example, if you sell widgets, you may have an order form customers can use to place orders. Another form would be displayed to employees showing the order information. ​
 +
 +==== Fields ====
 +{{:​wxwiki:​concepts:​orange_block.gif?​nolink&​30|}}
 +[[Field|Fields]] are the granular bits of information that you are interested in gathering or displaying on forms. On the widget order form, you may have fields for Order Date, Widget Type, and Price. ​
 +==== Tables ====
 +{{:​wxwiki:​concepts:​red_block.gif?​nolink&​30|}}
 +[[Table|Tables]] contain [[Record|records]]. Your widget company wishes to keep track of customers, so you would create a Customer table. This table would have fields about customer information,​ perhaps Name, Address, and Phone Number. A group of fields about a particular entity, in this case a single customer, is called a record. ​
 +==== Relationship Table ====
 +{{:​wxwiki:​concepts:​green_block.gif?​nolink&​30|}}
 +[[Relationship Table|Relationship Tables]] are how tables and records are related to one another. On your widget order form, you may have a field for customer that is related to the Customer table. This allows you to link the record about the order with the record about the customer.
 +==== Actions ====
 +{{:​wxwiki:​concepts:​yellow_block.gif?​nolink&​30|}}
 +[[Action|Actions]] are anything you want the computer to do for you automatically. Actions are executed as part of procedure that was fired by a [[Automation Trigger|trigger]]. As part of a procedure, you may create Actions to send emails, update task statuses, open new pages, or even make SOAP calls. After your customer completes the order form, you may want an action to send a confirmation email to the customer. ​
 +===== Toggle 3 Layers =====
 +{{:​datalayer:​datalayer.png?​direct|}}
 +
 +Every software application can be thought of as a composition of 3 layers; a data layer, a presentation layer, and a logic layer. ​ A data layer is essentially whats known as a "​database"​. ​ A presentation layer is the user interface - the actual webpages seen by users. ​ A logic layer is all of the business logic, business rules, workflow and automation that goes on behind the scenes.
 +
 +In WorkXpress, since everything you build is comprised of the 5 fundamental building blocks(Tables,​ Relationships,​ Fields, Forms and Actions), the 3 Layers must be also comprised of the 5 fundamental building blocks as described below.
 +==== The Data Layer ====
 +{{:​wxwiki:​concepts:​red_block.gif?​nolink&​30|}}{{:​wxwiki:​concepts:​green_block.gif?​nolink&​30|}}{{:​wxwiki:​concepts:​orange_block.gif?​nolink&​30|}}
 +[[Database Layer|Data Layer (the database)]] - comprised of Tables, Fields and Relationships.
 +
 +Activate the Data Layer overlay in your development environment by pressing the Data Layer button in the Block Creator interface. ​ Use the Data Layer to:
 +  * summarily review data linkages from elements of the current page
 +  * edit data linkages pertaining to elements of the current page
 +==== The Presentation Layer ====
 +{{:​wxwiki:​concepts:​blue_block.gif?​nolink&​30|}}{{:​wxwiki:​concepts:​orange_block.gif?​nolink&​30|}}
 +[[Presentation Layer|Presentation Layer (the user interface)]] - comprised of Forms and Fields
 +
 +Activate the Presentation Layer overlay in your development environment by pressing the Presentation Layer button in the Block Creator interface. ​ Use the Presentation Layer to:
 +  * Add Forms and Fields
 +  * Edit Forms and Fields
 +  * Remove Forms and Fields
 +  * Move Forms and Fields
 +==== The Logic Layer =====
 +{{:​wxwiki:​concepts:​yellow_block.gif?​nolink&​30|}}
 +[[Automation Layer|Logic Layer (the business rules, automation and workflow)]] - comprised of Actions
 +
 +Activate the Logic Layer overlay in your development environment by pressing the Logic Layer button in the Block Creator interface. ​ Use the Logic Layer to:
 +  * Review which [[Automation Trigger|automation triggers]] are accessible from the current page, and counts of Actions directly under each trigger
 +  * Click on available triggers to launch that triggers procedure
 +===== Use 5 Main Tools =====
 +
 +==== Block Creator ====
 +Main article: [[Block Creator]]
 +
 +{{::​blockcreator.png?​direct&​800|}}
 +==== Block Editor ====
 +Main article: [[Block Editor]]
 +
 +{{::​shorttext_blockeditor.png?​800&​direct|}}
 +==== Query Builder ====
 +Main article: [[Query Builder]]
 +
 +{{:​query_builder:​location.png?​direct|}}
 +==== Expression Builder ====
 +Main article: [[Expression Builder]]
 +
 +{{:​undefined:​location2.png?​direct&​300|}}
 +==== Action Manager ====
 +Main article: [[Action Manager]]
 +
 +{{:​actionmanager.png?​direct&​300|}}
three layers introduction.txt ยท Last modified: 2016/09/14 18:19 (external edit)
Copyright WorkXpress, 2024