ProjectV

TA PHP MVC Rocks!

ash-mvc-architecture Or at least I think so…

I started using the PHP MVC thingy today – after spending a relatively short amount of time coding the core. I found there where a few missing items…who needs to support HTTP POST anyway?…and I needed just the little bit of sugar in the form of some db helper methods and FirePHP for debugging.

I spent about 3 hours coding the new MVC’afied http://dev.vinspection.com and I am really happy with the new framework thing.

Poor DOM manipulation in Dojo

In jQuery DOM manipulation is incredibly easy:

$("#dealer-toggle").toggle();

One would assume the same can be accomplished in dojo via:

dojo.query('node').toggle();

but you would be DAMN WRONG!

dojo.query will work fine but hide/show/toggle have been moved to the dojo.fx and renamed fadeOut for .hide() and wipeIn for .show()…what about toggle? no sir. There is no dojo function to toggle nods. You have to write your own.

 

ESRI

For anyone using the ESRI JavaScript Library for ArcGIS Server (a JavaScript Lib based on Dojo): ESRI created their own namespace in the API.

The ESRI namespace consists of 7 methods. I bet you can guess 3 of them.

hide

show

and of course

toggle

http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/help/jsapi/namespace_esri.htm

Wish

  1. Dojo “fixes” their query interface by using common function names. even if they are alias.
  2. Dojo adds toggle to the functions that can be acted on node lists (a node list if what is returned from dojo.query)
  3. The ESRI namespace used the same constructors as Dojo. ie: hide should be dojo.query(‘node’).hide();

ProjectV – MySQL data modeling

I just wanted to mention that ProjectV is using MySQL Workbench for data modeling.

Screenshots:
http://dev.mysql.com/workbench/?page_id=35

Features:
http://dev.mysql.com/workbench/?page_id=11

Discussions:
http://forums.mysql.com/index.php?151

ProjectV

I’ve recently started a rather large web application development project. This project, henceforth known as ProjectV, has a long list of requirements including automatic photo uploading, offline access and large scale data collection. ProjectV differs from most of my recent projects in a few ways. First, its huge! it’s been a couple years since I build a large web application. Secondly, and most import…to me, I have full technical control!

ProjectV technology review:

  1. Apache
  2. PHP5
  3. MySQL 4.1.11
  4. Smarty Templates
  5. jQuery
  6. AutoCrud for PHP
  7. Google Gears
  8. Scaffold Class

As the project progresses I’ll track my success, failures, pitfalls with each of the technologies listed.