Hello,
I'm sorry for the late reply.
Yes, the code can be used in 5.x versions as well, since the core API hasn't changed. Or have you experienced any problems?
The high number of documents might be a problem if not handled carefully (loading large sets of documents in custom code or webparts and similar), it depends also on how are they stored in terms of structure...
You can set the number of displayed "child nodes" in content tree in
Site Manager -> Settings -> Content Management -> Max tree nodes.
Quoting the
performance report for 5.5 version made in July:
"The website performance depends also on the number of pages and other items in the CMS database. Kentico
CMS was optimized for high number of items and it was tested with 100,000 documents and 10,000,000 users stored in the database. Not only the public website, but also Kentico CMS administration interface can handle this number of items without a negative effect on usability and user interface responsiveness."
As I mentioned, you can still consider creating a
custom DataSource Webpart and use it to load the products from the database directly, avoiding large sets of documents in the content. It is however good to mention to use some caching options and measures, otherwise the result could be rather slow than with documents stored in content tree.
Regards,
Zdenek C