Well if I run the script with 2-3 people using it. It runs hassle free. The issue happens when I make it live.(but CPU usage doesn't go up)
I can try though..but since the code is written in a centralized environment. It is more dynamic, example:
I write in html: <*Get List|type:all*>
so only thing I can really comment out are the objects. Rest is kidna dependent. For a better understanding here is my code structure:
I have 4 name spaces:
main - the main namespace which calls the other namespaces and handles outputting of data from common(headers) and frame(html).
common - stores all the basic stuff like opening files, accessing database and etc. it also loads query strings and headers.
frame - loads the html, the advanced functions like login account and etc which is made up of calling the common. After loading HTML it loads the Skin namespace on the loaded html.
Skin - loads the layout, all the images, textboxes, forms, assigns ids and other more advanced objects.
Sigh..my urge to have a centralized structure is probably my biggest downfall..its good and convenient, but if the core has issues, makes it much harder to debug :(
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.