1. A computer-implemented method for developing applications, the method comprising: at a computer system having a processor and a memory: defining a view object of an application development framework that presents data stored in datasources according to a predetermined view in applications built on the datasources using the application development framework, and storing the view object in the memory; receiving information mapping each of a plurality of attributes of the view object to data stored in at least one datasource of the datasources; configuring attribute security with respect to at least two attributes of the plurality of attributes of the view object at least in part by: receiving expressions that restrict output in the applications of the data mapped to the at least two attributes of the plurality of attributes of the view object in the predetermined view, wherein a first expression of the expressions corresponds to a first role and a first privilege of an identified user, and a second expression of the expressions corresponds to a second role and a second privilege of the identified user; and defining a first security property and a second security property of the at least two attributes, and storing values for the first security property and the second security property in a table of properties defined for the view object; generating an application with the application development framework based at least in part on the view object; responsive to a request corresponding to the view object, and based at least in part on the first security property and the second security property and the values stored in the table of properties defined for the view object, restricting access, allowed to the identified user according to the first role, to first data mapped to the at least two attributes of the view object, and restricting output, via the application, of second data mapped to the at least two attributes of the view object in the predetermined view according to the second role so that data corresponding to the at least two attributes is excluded from a record and/or a row that is output; wherein each attribute of the plurality of attributes corresponds to one or both of a respective field of the record and a respective column of the row.