PHP Framework for Administering Database Content for ...
Transcript of PHP Framework for Administering Database Content for ...
![Page 1: PHP Framework for Administering Database Content for ...](https://reader034.fdocuments.us/reader034/viewer/2022052106/6287f51fef05845b3b11e16c/html5/thumbnails/1.jpg)
PHP Framework for Administering
Database Content for Dynamic
Applications
Copyright 2013 4 Basic Questions, LLC – All rights reserved. February 25, 2013
![Page 2: PHP Framework for Administering Database Content for ...](https://reader034.fdocuments.us/reader034/viewer/2022052106/6287f51fef05845b3b11e16c/html5/thumbnails/2.jpg)
Framework Background
Copyright 2013 4 Basic Questions, LLC – All rights reserved. February 25, 2013
![Page 3: PHP Framework for Administering Database Content for ...](https://reader034.fdocuments.us/reader034/viewer/2022052106/6287f51fef05845b3b11e16c/html5/thumbnails/3.jpg)
Model View Controller Framework RESTful Web API Ajax Enabled Response Objects Object Serialization through
Javascript/JSON OOP Extendable Library Admin Objects Namespace Library Autoloader CSS for Custom Styling Parametric Queries to Prevent SQL
Injections and XSS Copyright 2013 4 Basic Questions, LLC – All rights reserved. February 25, 2013
![Page 4: PHP Framework for Administering Database Content for ...](https://reader034.fdocuments.us/reader034/viewer/2022052106/6287f51fef05845b3b11e16c/html5/thumbnails/4.jpg)
• Developed with NetBeans IDE
• Fully Documented Code Base
• PHP Unit Tests
• Database Scripts for Fast
Startup
Copyright 2013 4 Basic Questions, LLC – All rights reserved. February 25, 2013
![Page 5: PHP Framework for Administering Database Content for ...](https://reader034.fdocuments.us/reader034/viewer/2022052106/6287f51fef05845b3b11e16c/html5/thumbnails/5.jpg)
Model-View-Controller
«interface»IConnection
AConnection
«interface»IDatabase
ADatabase
«interface»AStatements
AStatements
«interface»IResponse
AResponse«implementation class»
SqlServerResponseController
«implementation class»SqlServerConnection
«implementation class»SqlServerDatabase
«implementation class»SqlServerStatements
«interface»IView
AView«implementation class»
TableFormView
«interface»IModel
AModel«implementation class»
Model_Instance
Copyright 2013 4 Basic Questions, LLC – All rights reserved. February 25, 2013
![Page 6: PHP Framework for Administering Database Content for ...](https://reader034.fdocuments.us/reader034/viewer/2022052106/6287f51fef05845b3b11e16c/html5/thumbnails/6.jpg)
Copyright 2013 4 Basic Questions, LLC – All rights reserved. February 25, 2013
![Page 7: PHP Framework for Administering Database Content for ...](https://reader034.fdocuments.us/reader034/viewer/2022052106/6287f51fef05845b3b11e16c/html5/thumbnails/7.jpg)
Table Form Functionality
Copyright 2013 4 Basic Questions, LLC – All rights reserved. February 25, 2013
![Page 8: PHP Framework for Administering Database Content for ...](https://reader034.fdocuments.us/reader034/viewer/2022052106/6287f51fef05845b3b11e16c/html5/thumbnails/8.jpg)
• Handles SQL Server, MySql,
Oracle and Access databases.
• Handles multiple administration
objects on one page.
• Handles different databases on
the same page.
Copyright 2013 4 Basic Questions, LLC – All rights reserved. February 25, 2013
![Page 9: PHP Framework for Administering Database Content for ...](https://reader034.fdocuments.us/reader034/viewer/2022052106/6287f51fef05845b3b11e16c/html5/thumbnails/9.jpg)
• Performs Paging
• Performs Searching
• Performs Sorting
• Handles Complete CRUD
• Handles Data Validation
Copyright 2013 4 Basic Questions, LLC – All rights reserved. February 25, 2013
![Page 10: PHP Framework for Administering Database Content for ...](https://reader034.fdocuments.us/reader034/viewer/2022052106/6287f51fef05845b3b11e16c/html5/thumbnails/10.jpg)
• Configuration Setting for
Number of Records Per Page.
• Maintains Paging During
CRUD Process.
• Styling Through CSS.
Copyright 2013 4 Basic Questions, LLC – All rights reserved. February 25, 2013
![Page 11: PHP Framework for Administering Database Content for ...](https://reader034.fdocuments.us/reader034/viewer/2022052106/6287f51fef05845b3b11e16c/html5/thumbnails/11.jpg)
• Inline data editing.
• Data state maintained
through Ajax/JSON API.
• Data validation performed
on all transactions.
Copyright 2013 4 Basic Questions, LLC – All rights reserved. February 25, 2013
![Page 12: PHP Framework for Administering Database Content for ...](https://reader034.fdocuments.us/reader034/viewer/2022052106/6287f51fef05845b3b11e16c/html5/thumbnails/12.jpg)
• Notifications inform user of status.
• Custom messages can be configured.
Copyright 2013 4 Basic Questions, LLC – All rights reserved. February 25, 2013
![Page 13: PHP Framework for Administering Database Content for ...](https://reader034.fdocuments.us/reader034/viewer/2022052106/6287f51fef05845b3b11e16c/html5/thumbnails/13.jpg)
• Search performs a like search on
all searchable fields.
• Searches can be performed on
individual fields.
Copyright 2013 4 Basic Questions, LLC – All rights reserved. February 25, 2013
![Page 14: PHP Framework for Administering Database Content for ...](https://reader034.fdocuments.us/reader034/viewer/2022052106/6287f51fef05845b3b11e16c/html5/thumbnails/14.jpg)
• Sorts can be performed on
individual sortable fields.
Copyright 2013 4 Basic Questions, LLC – All rights reserved. February 25, 2013
![Page 15: PHP Framework for Administering Database Content for ...](https://reader034.fdocuments.us/reader034/viewer/2022052106/6287f51fef05845b3b11e16c/html5/thumbnails/15.jpg)
• Customizable field validation.
• Multiple validation checks can be
performed on a single field.
• Handles Regular Expressions.
• Custom Validation Messages.
Copyright 2013 4 Basic Questions, LLC – All rights reserved. February 25, 2013
![Page 16: PHP Framework for Administering Database Content for ...](https://reader034.fdocuments.us/reader034/viewer/2022052106/6287f51fef05845b3b11e16c/html5/thumbnails/16.jpg)
• Delete Confirmation.
Copyright 2013 4 Basic Questions, LLC – All rights reserved. February 25, 2013
![Page 17: PHP Framework for Administering Database Content for ...](https://reader034.fdocuments.us/reader034/viewer/2022052106/6287f51fef05845b3b11e16c/html5/thumbnails/17.jpg)
Table Form Model Builder
Copyright 2013 4 Basic Questions, LLC – All rights reserved. February 25, 2013
![Page 18: PHP Framework for Administering Database Content for ...](https://reader034.fdocuments.us/reader034/viewer/2022052106/6287f51fef05845b3b11e16c/html5/thumbnails/18.jpg)
Builds Model Class Code Through
Graphical User Selectors.
Eliminates Building Code By Hand.
Allows User to See Sample Query
Results.
Allows User to Graphically Build Field
Object Parameters.
Copyright 2013 4 Basic Questions, LLC – All rights reserved. February 25, 2013
![Page 19: PHP Framework for Administering Database Content for ...](https://reader034.fdocuments.us/reader034/viewer/2022052106/6287f51fef05845b3b11e16c/html5/thumbnails/19.jpg)
• Connect by Entering
Connection Properties.
• Or if the Default
connection Properties
are set in the
Configuration File
Connect by Selecting
Default Check Box.
Copyright 2013 4 Basic Questions, LLC – All rights reserved. February 25, 2013
![Page 20: PHP Framework for Administering Database Content for ...](https://reader034.fdocuments.us/reader034/viewer/2022052106/6287f51fef05845b3b11e16c/html5/thumbnails/20.jpg)
• Select the base table.
Copyright 2013 4 Basic Questions, LLC – All rights reserved. February 25, 2013
![Page 21: PHP Framework for Administering Database Content for ...](https://reader034.fdocuments.us/reader034/viewer/2022052106/6287f51fef05845b3b11e16c/html5/thumbnails/21.jpg)
• Once you select a base
table you can build Joins,
Where Clauses and Order
By Statements.
• The Query String Window
Updates as you build your
Query.
Copyright 2013 4 Basic Questions, LLC – All rights reserved. February 25, 2013
![Page 22: PHP Framework for Administering Database Content for ...](https://reader034.fdocuments.us/reader034/viewer/2022052106/6287f51fef05845b3b11e16c/html5/thumbnails/22.jpg)
• Build Joins, Where Clauses
and Orderings through
Selectors.
• See Updated Query in
Query String View.
• Preview a Sample of Results
by Checking Show Results.
Copyright 2013 4 Basic Questions, LLC – All rights reserved. February 25, 2013
![Page 23: PHP Framework for Administering Database Content for ...](https://reader034.fdocuments.us/reader034/viewer/2022052106/6287f51fef05845b3b11e16c/html5/thumbnails/23.jpg)
• Select which Fields to
Include.
• Set their parameters such as
Alias, Field Size, Order,
Default Values, Validations,
etc.
Copyright 2013 4 Basic Questions, LLC – All rights reserved. February 25, 2013
![Page 24: PHP Framework for Administering Database Content for ...](https://reader034.fdocuments.us/reader034/viewer/2022052106/6287f51fef05845b3b11e16c/html5/thumbnails/24.jpg)
• Model Builder Generates the
Model Code.
Copyright 2013 4 Basic Questions, LLC – All rights reserved. February 25, 2013
![Page 25: PHP Framework for Administering Database Content for ...](https://reader034.fdocuments.us/reader034/viewer/2022052106/6287f51fef05845b3b11e16c/html5/thumbnails/25.jpg)
aoClientPage
aoResponsePage
Instantiate Response Controllers
Response ControllerResponse LoaderResponse Actions and
State
Admin Objects Model
View (i.e. Table Form View)
Copyright 2013 4 Basic Questions, LLC – All rights reserved. February 25, 2013