GhostMVC: Difference between revisions

From Adam Colton
Jump to navigation Jump to search
No edit summary
No edit summary
Line 20: Line 20:
*Add modify table to database utility
*Add modify table to database utility
*Resolve in views how to display many one-to-many relationships (or deeper)
*Resolve in views how to display many one-to-many relationships (or deeper)


=Testing=
=Testing=
Line 28: Line 26:
=Form Post=
=Form Post=
I want a conditional route builder for forms that will keep the method and the controller, allow me to require POST data and specify what args to send.
I want a conditional route builder for forms that will keep the method and the controller, allow me to require POST data and specify what args to send.
=Parameterized SQL=
Use PDO. Seems simple enough, put ? where user data goes then bind data to position. The important (and tricky) part is keeping the data in order so that it will line up with the correct position.

Revision as of 18:27, 18 November 2011

Not Started

  • Create a publish utility (and use date for diff)
  • Update Database library to used parameterized SQL
  • Finish 'having' functions in database library
  • Update database library to throw useful errors
  • Database row and row_array (only returns one and auto-adds "limit 1")
  • Simplified conditional paths
  • Update installer with changes (needs to be last), also, find a better way to keep these in sync. Installer builder?
  • Database to support limits
  • Database Where to accept associative array or key value pairs

In Progress

  • Add html helpers to layout library
  • Add unit testing

On Hold

  • Use JS Regex for php templating (preg_replace or pret_match_all) "/{(\w+)}/". The problem with this is that we have to move linearly through the template string.
  • Add 'New' buttons to model, view, controller and resources in Edit utility
  • add subdomains to usable data
  • Add modify table to database utility
  • Resolve in views how to display many one-to-many relationships (or deeper)

Testing

I currently have a framework basically setup. I need to build out the interface now so that you can can see the tests, select to run specific test or all tests then see the results.

Form Post

I want a conditional route builder for forms that will keep the method and the controller, allow me to require POST data and specify what args to send.

Parameterized SQL

Use PDO. Seems simple enough, put ? where user data goes then bind data to position. The important (and tricky) part is keeping the data in order so that it will line up with the correct position.