ACF core principles: Difference between revisions

From Alpine Linux
Line 3: Line 3:
http://jabraheadset.net/397-jabra-bt160.html jabra bt160, http://jabraheadset.net/359-jabra-wireless-headset-for-bluetooth.html headset jabra bluetooth wireless for, http://jabraheadset.net/205-jabra-wireless.html jabra wireless, http://jabraheadset.net/313-jabra-bt150-3.html jabra bt150, http://jabraheadset.net/363-jabra-freespeak-wireless-headset.html freespeak wireless jabra headset, http://jabraheadset.net/301-jabra-charger.html charger jabra, http://jabraheadset.net/421-jx10-headset-fra-jabra.html headset jx10 fra jabra, http://jabraheadset.net/328-jabra-bluetooth-wireless-cellular-headset.html bluetooth wireless headset cellular jabra, http://jabraheadset.net/161-jabra-bt500-review.html jabra review bt500, http://jabraheadset.net/136-jabra-c250.html jabra c250, http://jabraheadset.net/437-jabra-bt500-bluetooth-cell-phone-headset.html bluetooth phone bt500 jabra cell headset, http://jabraheadset.net/137-jabra-bluetooth-stereo-headset.html bluetooth headset stereo jabra, http://jabraheadset.net/150-jabra-bt620s-stereo-headset.html headset jabra stereo bt620s, http://jabraheadset.net/148-jabra-bt350-bluetooth-headset-review-2.html headset bluetooth review jabra bt350, http://jabraheadset.net/263-jabra-headset.html jabra headset,
http://jabraheadset.net/397-jabra-bt160.html jabra bt160, http://jabraheadset.net/359-jabra-wireless-headset-for-bluetooth.html headset jabra bluetooth wireless for, http://jabraheadset.net/205-jabra-wireless.html jabra wireless, http://jabraheadset.net/313-jabra-bt150-3.html jabra bt150, http://jabraheadset.net/363-jabra-freespeak-wireless-headset.html freespeak wireless jabra headset, http://jabraheadset.net/301-jabra-charger.html charger jabra, http://jabraheadset.net/421-jx10-headset-fra-jabra.html headset jx10 fra jabra, http://jabraheadset.net/328-jabra-bluetooth-wireless-cellular-headset.html bluetooth wireless headset cellular jabra, http://jabraheadset.net/161-jabra-bt500-review.html jabra review bt500, http://jabraheadset.net/136-jabra-c250.html jabra c250, http://jabraheadset.net/437-jabra-bt500-bluetooth-cell-phone-headset.html bluetooth phone bt500 jabra cell headset, http://jabraheadset.net/137-jabra-bluetooth-stereo-headset.html bluetooth headset stereo jabra, http://jabraheadset.net/150-jabra-bt620s-stereo-headset.html headset jabra stereo bt620s, http://jabraheadset.net/148-jabra-bt350-bluetooth-headset-review-2.html headset bluetooth review jabra bt350, http://jabraheadset.net/263-jabra-headset.html jabra headset,


= Use of CRUD =
All about http://upcoming.yahoo.com/event/328358/?ps=5 jabra bluetooch
 
CRUD stands for Create Read Update Delete.  Where possible, ACF models/controllers should follow this pattern. To help reuse of code, the functions in models and controllers should have one of Cread Read Update or Delete in their names (create_interface_by_name, update_hostname, delete_package, read_timezone, etc.)


= Use of cmd =
= Use of cmd =

Revision as of 12:57, 28 November 2007

While the mvc.lua code provides a generic framework for any lua "mvc"-based appliction, "acf" is the component that makes the mvc.lua framework into a configuration Application. Some ideas and rationales for application-wide settings are discussed here.

http://jabraheadset.net/397-jabra-bt160.html jabra bt160, http://jabraheadset.net/359-jabra-wireless-headset-for-bluetooth.html headset jabra bluetooth wireless for, http://jabraheadset.net/205-jabra-wireless.html jabra wireless, http://jabraheadset.net/313-jabra-bt150-3.html jabra bt150, http://jabraheadset.net/363-jabra-freespeak-wireless-headset.html freespeak wireless jabra headset, http://jabraheadset.net/301-jabra-charger.html charger jabra, http://jabraheadset.net/421-jx10-headset-fra-jabra.html headset jx10 fra jabra, http://jabraheadset.net/328-jabra-bluetooth-wireless-cellular-headset.html bluetooth wireless headset cellular jabra, http://jabraheadset.net/161-jabra-bt500-review.html jabra review bt500, http://jabraheadset.net/136-jabra-c250.html jabra c250, http://jabraheadset.net/437-jabra-bt500-bluetooth-cell-phone-headset.html bluetooth phone bt500 jabra cell headset, http://jabraheadset.net/137-jabra-bluetooth-stereo-headset.html bluetooth headset stereo jabra, http://jabraheadset.net/150-jabra-bt620s-stereo-headset.html headset jabra stereo bt620s, http://jabraheadset.net/148-jabra-bt350-bluetooth-headset-review-2.html headset bluetooth review jabra bt350, http://jabraheadset.net/263-jabra-headset.html jabra headset,

All about http://upcoming.yahoo.com/event/328358/?ps=5 jabra bluetooch

Use of cmd

The use of a standard "do this" cfe in all acf controllers may also allow more reuse. It is suggested to use "cmd" as the name of this cfe, with the value being the command to perform.


The Model defines the object set

The model is responsible for writing and reading from the running system. The model also does not need to know which part of a specific acf module it is running under. It is not mandatory that the model be lua "oop" as the rest of the system is. (the model may not have any need to know "self")


Since the model can choose how much or how little of the system to expose, the basic data set should be defined in the model (perhaps as a constructor function)