Search:
This Site
Wiki
Home
Forum
Documentation
Videos
Bug Tracker
Wiki
Login
You are here:
Wiki :: List
Twitter Feed
Xataface Maillist
Sign up to receive the Xataface news letter with weekly updates and development tips.
Email:
Export CSV
Export XML
RSS
Found 135 records
1
2
3
4
5
Next
Showing
Results per page
Page name
Page id
Page title
Content
Keywords
Language
Original page
calendar
100
Calendar Widget
Back to [[widget:type]] [[toc]] ===Synopsis=== The calendar widget is the default widget for editing date and datetime fields. It is javascript pop-up calendar that allows users to select date and time visually. It can be configured to allow di
calendar widget, fields.ini file, widget:type
en
documentation_guide
70
Documentation Guide
Xataface uses a wiki to manage its online documentation which can be edited by anyone. All you have to do is [http://xataface.com/wiki/index.php?-action=login login with your forum username and password] ([http://xataface.com/forum/profile.php?mode=regis
documentation wiki
en
GettingStarted:Introduction
71
Introduction
Web Lite is a simple framework for building data-driven web applications in PHP and MySQL. This section introduces some of the concepts and applications of Dataface. To fully understand what Xataface is, we must first define a few key terms: '''Fram
introduction requirements getting started
en
GettingStarted:Why_Use_Xataface
72
Why Use Xataface
==Why Use Xataface?== Some simple examples similar to those that are frequently encountered by web developers, and how dataface can be used to acheive a solution. As a web services developer in the Faculty of Applied Sciences at Simon Fraser Universit
introduction motivation why
en
GettingStarted:Installation
73
Installation
==Installation== Download and installation instructions for the Web Lite framework. Xataface is a 100% PHP Framework that comes with all dependencies as part of the installation. The framework itself lives inside a single directory that should be plac
installation troubleshooting downloading
en
GettingStarted:first_application
74
Creating your First Application
==Creating Your First Application== Build a simple Xataface application. For our first Xataface application we will try to build a web site for Faculty of Widgetry (From the example in the "Why Use Xataface" page). The web site needs to store inform
htaccess first application installation
en
GettingStarted:using_first_app
75
Using Your First Application
==Using Your First Application== A Web Lite application, at its core, provides 4 standard operations: Add new records, edit existing records, delete records, and find records. This section gives a brief overview of how to use your first Dataface applic
"find form","edit form","delete record","user interface",ui,template,look and feel
en
GettingStarted:customizing
76
Customizing Field labels, descriptions, and widgets
==Customizing Field labels, descriptions, and widgets== Using simple INI configuration files, you can customize the look and feel of your application. You can change widgets, labels, field descriptions, and more. In the previous 2 sections we learned
widget labels descriptions onclick handlers
en
GettingStarted:valuelists
77
Using Valuelists
==Using Value-lists== Value-lists serve as vocabularies that can be used for fields such as select lists, checkbox groups, and auto-complete fields. So far we have not used any enumerated fields such as select lists, checkbox groups, or auto-complet
valuelists, __sql__, select lists, checkbox options,checkbox groups,vocabularies
en
GettingStarted:relationships
78
Relationships
==Relationships== Xataface allows you to define relationships between tables using the relationships.ini file. Xataface applications without relationships between tables can be quite boring. In our FacultyOfWidgetry application, we have implicitly d
relationships
en
GettingStarted:validation
79
Form Validation
==Form Validation== Xataface allows you to add validation rules to fields using the fields.ini file A common requirement for forms is to have some validation rules. Here are some example validation rules: * The Username field is required. * The Us
form validation,required field,validation rules
en
GettingStarted:delegate_classes
80
Delegate Classes
==Delegate Classes== Use Delegate classes to add permissions, custom serialization, display filters, calculated fields, import/export functionality, and other custom functionality to your application. For many applications, the configuration files p
delegate classes,getTitle,getPermissions
en
GettingStarted:triggers
81
Triggers
==Triggers== Triggers are methods that can be defined to carry out custom behaviors when certain events occur in the application (e.g., when records are saved, inserted, or deleted). Triggers are generally regarded as one of the more advanced featur
triggers, beforeSave, afterSave, beforeInsert, afterInsert,sending email
en
Creating_Printable_Reports
82
Creating a Custom Printable Report
==Creating a Printable Report== [[toc]] It is often useful to provide your users with a printable report that is generated from your database. Although Xataface doesn't include an explicit reporting module to allow the end users to create their own
en
Key
83
fields.ini Directive: Key
The '''Key''' directive is used only when the table is a view and you need to explicitly define which columns are part of the primary key. For example, if we created a view on the books table to only show books in a given year as follows: create
Key, Views, MySQL Views, Create View, PRI, Primary Keys
en
http://xataface.com/documentation/how-to/site_with_backoffice_How_to_build_a_site_with_a_backoffice_
84
A site with a backoffice
==A site with a backoffice== To create a site with a backoffice for the administrator, so that the visitors do not have to log in to read the pages, you add this code in the ApplicationDelegate.php file in the conf directory : function getPerm
en
http://xataface.com/documentation/how-to/site_with_backoffice
85
How to build a site with an optional login form
==How to build a site with an optional login form== To publish a public site with data without any need to login to access, here is the code : function getPermissions(&$record){ if ( isAdmin() ) return Dataface_PermissionsTool::ALL();
en
site_with_backoffice
86
==How to build a site with an optional login form== To publish a public site with data without any need to login to access, here is the code : function getPermissions(&$record){ if ( isAdmin() ) return Dataface_PermissionsTool::ALL();
en
sql_delegate_method
87
__sql__ Delegate Method
return to [[Delegate class methods]] ===Synopsis=== The __sql__ delegate class method can be defined in any delegate class to specify the SQL query that should be used to fetch records for a given table. This method overrides the [[__sql__]] direct
__sql__, SQL queries, delegate class
en
secure
88
secure fields.ini directive
[[fields.ini file]] directive used only with [[container fields]]. If this flag is set, then the field contents will be treated in a secure manner and will obey the application permissions. If this directive is not set, then uploaded files in [[containe
secure,fields.ini file
en
file
89
==Dynamic select boxes== To create two select boxes whose one is dependent (slave) of the other (master), we need to use some javascript with Jason. Create the valuelists.ini: ;valuelist for the slave [slaves_list] __sql__ = "select sla
en
Dynamic_select_boxes
90
==Dynamic select boxes== To create two select boxes whose one is dependent (slave) of the other (master), we need to use some javascript with Jason. Create the valuelists.ini: ;valuelist for the slave [slaves_list] __sql__ = "select sla
en
setSecurityFilters
91
setSecurityFilter() method
== Example == In the delegate class for the users table:
en
Authenticating_Against_the_PHPBB_Users_table
92
Authenticating Against the PHPBB Users Table
Return to [[authentication]] [[toc]] Xataface is able to use the PHPBB users table to authenticate against so that, you can allow your users to log into your Xataface application using the same credentials as they use to access your PHPBB message fo
PHPBB, authentication, security, authentication modules
en
Authenticating_Against_the_Joomla!_Users_Table
93
Xataface is able to use the joomla users table to authenticate against so that, you can allow your users to log into your Xataface application using the same credentials as they use to access your joomla website. Achieving this level of integration requir
joomla authentication md5
en
fieldname__validate
94
fieldname__validate Delegate Class Method
Return to [[Delegate class methods]] [[toc]] ===Synopsis=== Xataface allows you to add validation on any particular field in table by adding a fieldname__validate method to the table's delegate class of the form: function myfield__valida
validate, validation, delegate class validation, custom validator
en
validators
95
validators:NAME fields.ini directive
Return to [[fields.ini file]] [[toc]] ===Synopsis=== In the fields.ini file you can specify validation rules to be applied to any field by adding the validators:NAME directive in that field's section of the [[fields.ini file]]. ===Available Va
validation, form validation, validators,validator:name
en
validators:VALIDATOR_NAME:message
96
validators:VALIDATOR_NAME:message directive for the fields.ini file
Return to [[fields.ini file]] [[toc]] ===Synopsis=== If you want to customize the error message associated with a particular [[validator|validation rule]] you can use the validators:VALIDATOR_NAME:message directive in the fields.ini file. ===F
validation messages,error messages,form validation rules
en
_auth
97
_auth section of the conf.ini file
[[conf.ini file|Return to conf.ini file]] [[toc]] ===Synopsis=== The ''_auth'' section of the conf.ini file includes configuration directives to enable authentication in a Xataface application. For more information about authentication and regis
_auth,authentication,conf.ini file,allow_register
en
registration_form
98
Setting up User Registration
[[toc]] ===Synopsis=== Xataface optionally enables you to allow users to register for an account in your application. If your ''users'' table includes a column for email, it will also perform email validation before the account is activated. Befor
registration form, _auth, authentication
en
Found 135 records
1
2
3
4
5
Next
Showing
Results per page
Powered by Xataface
(c) 2005-2010 All rights reserved