wintergreen Posted March 17, 2006 Posted March 17, 2006 I know this is a bit of a vague question, but is it possible to have filemaker generate layouts based on scripts? The reason I ask is because I want to create a table called "preferences", and have the ability to turn certain elements on or off. On a related note, is it possible to have a layout reference/include another layout? The best way I can think to explain this, is that, with mediawiki for example, you can create "template" pages which can then be included as part of other pages. This would also be handy for having a boilerplate header/footer.
T-Square Posted March 17, 2006 Posted March 17, 2006 AFAIK, the answer on both counts is "No." To deal with multiple views of data, most answers I have seen rely on creating different layouts for different privilege sets. This is reasonable for simpler security environments, but obviously could get out of hand quickly with complex (or even moderately complex) systems. You can at least create a base layout, copy it, and modify it for the different needs. As for boilerplate, I have tended to create templates for the main layouts in my apps, and then use those as starting points for the rest. My own aesthetic is that most modules boil down to a single-line list view and a full record view; creating templates for these two layouts (complete with buttons that trigger generic scripts) speeds development immensely. As an aside, if you're trying to create a web Content Management System, you might want to check out what's already written for PHP and MySQL/PostGreSQL; Drupal and e107 are two such packages. David
wintergreen Posted March 17, 2006 Author Posted March 17, 2006 it's not for anything as glamorous as a web cms, it's just i want to make it as user-friendly as possible. anyway, thanks for the tips
Recommended Posts
This topic is 6827 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now