1 Jul 2003 01:08
Re: vardump or print_r
Hi
As far as I understood Jason, he wanted a simplified print_r that is
to generate a simple output from a node tree. I'd like something like
this, too. It would help you to debug your ndf files and custom created
trees:
App (class: "binarycloud.core.App", id: "page", tmpl: "user.app.web.tmpl.MainPage")
App (class: "user.app.some_form.MyForm", id: "sampleform")
App (class: "binarycloud.form.FormElement", id: "some_input")
Widget (class: "binarycloud.form.ErrorWidget", id: "error")
...
Widget (class: "user.app.counter.DisplayCounter", id: "counter")
...
Maybe some graphic output was nice, too, but IMHO something like this
above is sufficient. When there is a bc ide, this could be some fancy
tree widget that is used to visualize the Node tree.
*m
--
--
Unix definitely is a user friendly operating system.
- It is only picky with its friends.
I mean the following: The
base entity "Client" has exactly the fields "id", "username",
"password_hash" and "role".
At the moment, the Client class has additional properties like
"policies", "client_software", "remote_host". If we only wanted to store
the information described in the paragraph above this one we would not
face any problems. However, we have at least to store the policies in
the Client instance - even if it is not stored anywhere. How should we
realize this?
A solution was to seperate the login data/role and additional
information from each other: The class User extends Entity and stores
the id, username etc. The class Client is associated to exactly one
User Entity and contains other fields (semi abstract and syntactically
correct notation follows
RSS Feed