Você está na página 1de 2

1/28/2016

The Structure of Fabrik | Fabrik

Login

Home

Forums

Main_Page

Wiki
Special:

Members

PageList

Home Wiki Gettingstarted

TheStructureofFabrik
Page
TheStructureofFabrik

Contents
TheFunctionofFabrik
TheStructureofFabrik
DatabaseTables
CreatingYourFirstList

TheFunctionofFabrik (top)
ThemainfunctionofFabrikistocollectinformationfromusersthroughforms,sendittoadatabasetable,and
thenbeabletopresentviewerswiththisinformationinvariouswaysincluding:
Listswhichdisplayalistofallyourrecordssubmittedthroughaparticularform
Visualizationswhichtakedatafromyourdatabaseandvisualizethisthroughcharts,maps,calendars
andmore

TheStructureofFabrik (top)
Toachievethis,Fabrikispredominantlymadeupof:
Listswhichdisplayallrecordscollectedfromaform.
Formswhicharewhatisusedtocollecttheserecords.
Groupswhicharecollectionsofelementspresentonaform.
Elementswhicharetheindividualfieldspresentonaformandthecolumnnamesinyourdatabasetable
Visualisationswhichtakedatafromyourdatabaseandvisualizethisthroughcharts,maps,calendars
andmore
PackageswhichallowyoutocreateinstallablecomponentsfromacollectionofyourFabrikforms,lists
andvisualizations
ConnectionswhichallowyoutoconnectFabriktothedatabasethatJoomlausesaswellasother
MySQLdatabases
ScheduledTaskswhichallowyoutodefinetasksthatarerunrepeatedlyatagiventimeandinterval

DatabaseTables (top)
Asmentioned,andtogainthemostoutofFabrik'sfeatureset,youwillalsobeworkingwithdatabasetables.
Adatabasetable,whichcontainstherecordscollectedthroughaform,isbasicallystructuredlikea
spreadsheetandismadeupofrowsandcolumnsrowsrepresentingeachinstanceofdatabeingsubmitted,
andcolumnsbeingthedifferentelementsbeingrecorded.
http://fabrikar.com/forums/index.php?wiki/the-structure-of-fabrik/

1/4

1/28/2016

The Structure of Fabrik | Fabrik

CreatingYourFirstList (top)
ThefirststepincreatingthisstructureandgettingFabrikupandrunningiscreatingalistandassociated
databasetable.
TodothisgotoLists>Newandentera'Label'foryourlistthiscanbechangedlaterandwillappearasthe
labelatthetopofyourlist.
Whenyouarecreatingalist,youcanalsospecifythatwhenclickingthe'Save'iconforthefirsttimeitwillalso
createanassociateddatabasetable,iethedatabasetablethatwillcollecttherecordssubmittedthroughyour
form.
Fororganisationalpurposes,whencreatinganewlistanddatabasetable,youmightfindithelpfultogivethe
databasetablethesamenameasthelist.
Forexample,youcouldcreateanewlistcalled'MyNewList'andduringthatprocess(inthe'Data'tabfield
'Tablename')alsocreateadatabasetablecalled'coolprefix_mynewlist'.
ItisrecommendedthatyouaddaprefixtoyourFabrikdatabasetablessothatyoucandifferentiatethemfrom
otherdatabasetablesinyourdatabase.
Thedatabasetableshouldalsonothaveanyspacesinitsname.Ifyouwantspacesbetweenwordsor
charactersuseunderscoresinstead:
Incorrect:mytable
Correct:my_table
Itisalsorecommendedtouselowercasecharacters.
Followingthesestepswillsetup:
Alistcalled'MyNewList'
Adatabasecalled'coolprefix_mynewlist'
Aformcalled'MyNewList'
Agroupcalled'MyNewList'
An'id'elementthathasbeenaddedtothegroup'MyNewList'
A'date'elementthathasbeenaddedtothegroup'MyNewList'
Next:Fabrik'sParameters

mianjeelikesthis.
LastModified:Sep10,2013at12:00PM(Cached)

(Like)(16456View s)

XenCartaPROJasonAxelrodfrom8WAYRUN.COM

Login
UsefulLinks
CreateaFabrikAccount
FabrikWiki
Fabrikongithub
MembersOnlineNow
http://fabrikar.com/forums/index.php?wiki/the-structure-of-fabrik/

2/4

Você também pode gostar