php framework for administering database content for

25
PHP Framework for Administering Database Content for Dynamic Applications Copyright 2013 4 Basic Questions, LLC – All rights reserved. February 25, 2013

Upload: others

Post on 21-May-2022

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: PHP Framework for Administering Database Content for

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

Framework Background

Copyright 2013 4 Basic Questions, LLC – All rights reserved. February 25, 2013

Page 3: PHP Framework for Administering Database Content for

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

• 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

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

Copyright 2013 4 Basic Questions, LLC – All rights reserved. February 25, 2013

Page 7: PHP Framework for Administering Database Content for

Table Form Functionality

Copyright 2013 4 Basic Questions, LLC – All rights reserved. February 25, 2013

Page 8: PHP Framework for Administering Database Content for

• 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

• 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

• 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

• 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

• 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

• 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

• 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

• 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

• Delete Confirmation.

Copyright 2013 4 Basic Questions, LLC – All rights reserved. February 25, 2013

Page 17: PHP Framework for Administering Database Content for

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

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

• 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

• 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

• 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

• 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

• 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

• 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

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