Tuesday, March 1, 2016

What are CakePHP 3.2 conventions for Town Directory Web-Site eg how name the tables and fields.... if have

Note:this is second post after approved by google group... first post - not see it - was prior approved... 


What are CakePHP 3.2 conventions for Town Directory Web-Site eg how name the tables and fields.... if have 

 

businesses

id, user_id, cat_id, name, description, address, phone, email, url, Map_lat, Map_long, img1url, img2url, img3url 

 

categories

id, cat

 

Users  // this will be the same as Blog example in Guide

CREATE TABLE users (

id INT UNSIGNED AUTO_INCREMENT PRIMARY KEY,

username VARCHAR(50),

password VARCHAR(255),

role VARCHAR(20),

created DATETIME DEFAULT NULL,

modified DATETIME DEFAULT NULL

);

 

bake (pre-made code baking) should work, for first two tables...?....well?

--
Sign up for our Newsletter for updates.
http://cakephp.org/newsletter/signup
 
We will soon be closing this Google Group. But don't worry, we have something better coming. Stay tuned for an updated from the CakePHP Team soon.
 
Like Us on FaceBook https://www.facebook.com/CakePHP
Follow us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: