This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

cck scalability

I'm looking at the mysql tables for cck. It seems to me, with my very limited knowledge, that a custom node, where all fields are stored in one table, would run faster than cck.

Is this right?

I know flexinode reputedly had problems with scaling due to inner joins for every field you have. I read that cck was supposed to be somewhat better.

From that, I would conclude that a custom node is faster than a cck node.

Does this sound right?

Logout

Hello

I have situation where multiple users use same computer and users have different privileges. Is there a way to automatic logout when internet browser is closed or how this can be done.

cck: Should I use cck or write my own custom node using node_example.module?

Do you think I should use cck or write my own custom node using node_example.module?

One person wrote on a thread that surely writing your own module is quicker than figuring cck out. That makes sense to me. I've had a lot of trouble trying to get cck to work.

I do not know php. Yesterday I began modifying node_example.module (available in api docs) to add my own fields and to theme the output. I was making good headway and learning a lot about how Drupal and php work. To me this is a big plus in writing my own node versus using cck.

also
It seems to me cck is still undergoing major changes and if I have my content in cck it may be prone to bugs or upgrade problems. (Flexinode users have been left behind in 4.7 since it's not fully updated.) With a simple module that I understand I presumably could upgrade it myself to 4.8.

On the other hand, perhaps in modifying node_example.module I may introduce security issues or scalability issues that I am ignorant of.

Also cck may have better interfaces with other modules.

The 2 custom nodes I want to write are (1) a review module. (Think for example, a restaurant review.) and (2) a listing module (Think for example, a listing of a house for sale.)

It seems to me quite a few programmers are using cck when they certainly are capable of writing their own node modules.

Opinions and advice are appreciated.

Reseting errors

I'm trying to handle the case when the user is leaving the title field empty, by generating an title from the body (quite like the comments are functioning).

I try to do this by using 'validate' in nodeapi.

My problem is that while I'm able to generate and inject the generated title - but I have not found any way to reset the error. All errors are collected in a static array inside form_set_error.

Is there any way to unset a value in such an array?

How do I fine the name of the font of slogan of friendselectric theme?

Hello Everyone,

Is there someone who knows how to find the name of the font of slogan of friendselectric theme?
Thank You.

Image Uploading

If I set up a user group to allow them to upload files (such as images), does that file become attached to the user? By that I mean, if I were to later in time delete that user, would the files he/she uploaded also be deleted, or would I eventually end up with a folder full of miscellaneous files that I would have to sift through?

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions