Reputation
Next privilege 125 Rep.
Vote down
Badges
3
Newest
 Supporter
Impact
~211 people reached

  • 0 posts edited
  • 0 helpful flags
  • 1 vote cast
Sep
11
awarded  Supporter
Sep
10
comment One page using querystring or many folders and pages?
In some cases I have nested business objects - for example /customer/contact/, /customer/address/, /customer/contact/address/ and so on.
Sep
10
comment One page using querystring or many folders and pages?
Thanks for the input adam, much appreciated. I basically have it in this kinda layout: /ab/abCore/--all the core code files in here, then /ab/[business-object-name]/ for the list, /ab/[b-o-n]/edit/?id= for the edit page and then same for create / delete. Each business object has its own 'setup' file which sets all the variables which apply to all actions, then the individual homepages override them if they have to. All stylesheets are in one folder, scripts in another and images in another. It really is looking very neat now, and so easy to tell what should display what.
Sep
10
awarded  Student
Sep
9
comment One page using querystring or many folders and pages?
Got it sorted for server, so the user just has to go to /myApp/server/ for the list, and then the edit buttons link to /myApp/server/edit/ and so on. Easy to change and I think it should be easier to manage in this way as I don't have to worry about the user being able to change the querystring (meaning it is more secure).
Sep
9
comment One page using querystring or many folders and pages?
I am just trying it out now actually, just for a couple of objects, to see how much easier it is to add a new object type (category for the knowledge base, for example).
Sep
9
comment One page using querystring or many folders and pages?
No, what I am trying to determine is whether the design is better with just one page for everything, which makes heavy use of the querystring, or using lots of folders which contain files which define the variables themselves. For example /server/create/default.asp would contain the line 'action = CREATE' (where CREATE is a constant defined in /myApp/core/constants.asp). Basically is it better to use ?object=server&action=create or to use /server/create/?
Sep
9
asked One page using querystring or many folders and pages?
Sep
9
awarded  Autobiographer