IMO, this is a good news to MODx. As I can see so far, we almost have necessary modules for users to use. Some people just wanna work on a blog, so I think this will help them go with MODx the easy way than the blog package comes with ditto or manually create from zero with getPage or getResources.
Thank you for such a great work. I'll check out and test it soon.
-
- 147 Posts
Shaun, does Articles go any way to solving the performance problem for large news sites i.e. sites with more than 5000 articles? Or do the articles still each create an individual resource?
I'm asking this with Jason's passionate statement about the correct architecture of large news/blogging sites in mind:
http://forums.modx.com/thread/8199/modx-limits-on-the-number-of-documents?page=13#dis-post-48676
David Walker
Principal, Shorewalker DMS
Phone: 03 8899 7790
Mobile: 0407 133 020
-
- 4,149 Posts
David,
It does get around it from a UI perspective, since the Articles are loaded in a grid now rather than in the tree. From a performance perspective, yes - MODX since late 2.1 has had enough caching and context improvements to be able to handle large numbers of resources.
Of course, a thing to remember - if you're making a site that has that many articles (and then presumably hits), you'll probably also need improvements at the hardware and server level, outside of MODX. And you'll probably want to take advantage of memcached.
shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect |
github |
splittingred.com
-
- 45 Posts
Thanks for this!
Started testing with this today. I am importing a site that has over 6000 articles and the original resource tree totally died when trying to view articles. I will report back on how I get on!
-
- 45 Posts
Getting an error on my windows only machine, not a problem on my linux server:
[2011-12-08 12:21:40] (ERROR @ /connectors/system/errorlog.php) Path specified for package articles is not a valid or accessible directory: C:UsersMYNAMEHEREwampwww/core/components/articles/model/
-
- 45 Posts
not sure why this hapened but checked the table modx_system_settings and the forward slashes were missing so updated te value and refreshed cache and it appears in the menu but fails to load.
[ed. note: Qodo last edited this post 12 years, 4 months ago.]
I can't even get it to install. The installation log overlay is filled up with error messages and blocks, locking out the manager. Doesn't show up in the modx.com provider either.
Ok, I installed the latest nightly build of Revo and tried it again. This time it did show up on the Package Manager list, but it still gave a buch of errors and blocked the installation log overlay.
Console running...
Attempting to install package with signature: articles-1.0.0-pl
Package found...now preparing to install.
Grabbing package workspace...
Workspace environment initiated, now installing package...
Could not load package metadata for package quip.
Error adding field quipComment->name: Array ( [0] => 42S21 [1] => 1060 [2] => Duplicate column name 'name' )
Error adding field quipComment->email: Array ( [0] => 42S21 [1] => 1060 [2] => Duplicate column name 'email' )
Error adding field quipComment->website: Array ( [0] => 42S21 [1] => 1060 [2] => Duplicate column name 'website' )
Error adding field quipComment->resource: Array ( [0] => 42S21 [1] => 1060 [2] => Duplicate column name 'resource' )
Error adding field quipComment->idprefix: Array ( [0] => 42S21 [1] => 1060 [2] => Duplicate column name 'idprefix' )
Error adding field quipComment->existing_params: Array ( [0] => 42S21 [1] => 1060 [2] => Duplicate column name 'existing_params' )
Error adding index resource to quipComment: No metadata defined
Error adding field quipComment->ip: Array ( [0] => 42S21 [1] => 1060 [2] => Duplicate column name 'ip' )
Error adding field quipComment->rank: Array ( [0] => 42S21 [1] => 1060 [2] => Duplicate column name 'rank' )
Error adding field quipComment->approvedby: Array ( [0] => 42S21 [1] => 1060 [2] => Duplicate column name 'approvedby' )
Error adding field quipComment->deleted: Array ( [0] => 42S21 [1] => 1060 [2] => Duplicate column name 'deleted' )
Error adding field quipComment->deletedon: Array ( [0] => 42S21 [1] => 1060 [2] => Duplicate column name 'deletedon' )
Error adding field quipComment->deletedby: Array ( [0] => 42S21 [1] => 1060 [2] => Duplicate column name 'deletedby' )
Error adding index approvedby to quipComment: No metadata defined
Error adding index deleted to quipComment: No metadata defined
Error adding index deletedby to quipComment: No metadata defined
Error adding field quipThread->quip_call_params: Array ( [0] => 42S21 [1] => 1060 [2] => Duplicate column name 'quip_call_params' )
Error adding field quipThread->quipreply_call_params: Array ( [0] => 42S21 [1] => 1060 [2] => Duplicate column name 'quipreply_call_params' )
Successfully installed package articles-1.0.0-pl
[ed. note: sottwell last edited this post 12 years, 4 months ago.]
Well, well. In spite of the error messages on installation, it seems to be working just fine. Very nice. I do believe this will be one of the MODx "killer apps"; once 2.2 goes pl this should really increase its use. The new Manager interface is a lot nicer, too.
-
- 147 Posts
Shaun, I'm hoping to find some time to play with Articles soon. But before I do, can you tell me to what extent articles in Articles are able to be retrieved like normal resources.. Do they appear in SimpleSearch results? Can you manipulate them using GetResources? Can you edit them using NewsPublisher? etc etc.
[ed. note: shorewalker last edited this post 12 years, 3 months ago.]
David Walker
Principal, Shorewalker DMS
Phone: 03 8899 7790
Mobile: 0407 133 020