Reputation
440
Top tag
Next privilege 500 Rep.
Access review queues
Badges
5 16
Impact
~8k people reached

  • 0 posts edited
  • 14 helpful flags
  • 48 votes cast
Aug
23
comment How to automate a tasks system in a CMS software
You have a valid point in there, because you must learn from others mistakes. However, so far all my code (php, js, css, templates) are created by myself. When I create everything from scratch, then it is easier to maintain this software in the future. And task parsing system is not hard to make at all. Done it before, but I feel I could make it better, just the visual and concept part is the problem.
Aug
23
comment How to automate a tasks system in a CMS software
@Darknight: Thanks for the comment. The cache itself is not the question/problem, but how to create the most efficient task parser. My cache works on serialized data (local data, not from db) and some other secret methods. My current page loading times are 0.007 average with 1-2 DB queries tops.
Aug
23
comment How to automate a tasks system in a CMS software
Well, I have allergies against other peoples codes. Basically I think I'm dropping out the ask language, but I am going to create this from scratch. Thank you for your edit.
Aug
23
awarded  Student
Aug
23
awarded  Commentator
Aug
23
comment How to automate a tasks system in a CMS software
I understand your ideas. Well, the original idea for the parser came from a portal I was developing. And I was testing db's, deleting entries, but their files would still stay on the server. Then the parser would come and crisscross entries with files, files with entries and take care of them. I don't get many bugs or errors to fix. Take the parser as a developer-helper in dev-mode and site-maitainer for the client, when developer leaves the project.
Aug
22
comment How to automate a tasks system in a CMS software
I'm sorry, but this answer does not help me in any way. As I understand, you are bragging on the fact, that I'm reinventing a method, that has done before?! If you have done it before, why not give pointers? I'm aware on the message queuing method, but I tried to made my question little bit more specific and maybe find an alternative on the db idea. You don't need to "do" php to understand the concept.. I'm sorry, if this question seems stupid to you, but I have alot riding on this project..
Aug
22
comment How to automate a tasks system in a CMS software
Good point. However, but call the task system aka. parser as a maintenance system. It will fix all sort of mismatched entries the database, hook pictures to articles, clear cache.. fix cache.. fix permissions etc etc. Also, I have ajax rearrange script for pages order, I don't want to run the cache updater every single rearrange. So basically, the task system is needed. Also, I can set scheduled automated tasks, so in the morning it would clear cache etc.
Aug
22
comment How to automate a tasks system in a CMS software
Thank you for your answer. It seems that db is the best option. I wanted to create the task language, because it would make some typical tasks easier, like for example the cache related. It would also make things easier for the user. However, thinking about that yet. Basically, everything is being stored in the db anyways, but for pageload related purposes, serialized cache will be created. If i would translate them on the fly, it would add about ~0.03 seconds to my pageload. Cant afford that. But thanks, you confirmed the db idea.
Aug
22
awarded  Promoter
Aug
19
asked How to automate a tasks system in a CMS software
Aug
18
awarded  Autobiographer
Aug
16
comment Is it a good idea to use Header(“Content-Type […]”); in the core file of a CMS?
@Pelshoff: Well, until now I've used the cms for html and similar type pages. However, xml-generator was a good example of the responsibility, that the core file has. However, adding content-types to each core-needs-included-files aka. "standalone files" does not seem that neat. Maybe having text/html in the core, and overriding it if needed, like with the xml-generator.. is still the neatest way?
Aug
16
asked Is it a good idea to use Header(“Content-Type […]”); in the core file of a CMS?
Aug
7
awarded  Scholar
Jul
27
awarded  Teacher
Jul
27
awarded  Supporter
Jul
27
comment How to get into web coding?
I meant that full working scripts. Not a single function, but maybe a small emailer script. So you can learn, what other options you can hook to simple mail() function. I started 10 years ago, thats how I live my life now :)
Jun
19
answered How to get into web coding?