in reply to Re^17: aXML vs TT2
in thread aXML vs TT2

No I didn't get your point, not because I failed to understand it, but because your wrong. It's not your fault and I can understand that it's tricky to make the leap from where your at to where I'm at without a decent set of documentation, but I am working hard to try and bridge that gap from this side and I only have one pair of hands!

Your assertion that you cannot overload the subs is just completely wrong and I don't understand how you think you can justify that assertion.

Take the <db_select> tag for instance, in the background it exists as:

$plugins->{'db_select'} = sub { ... the code here ... };

The system allows for individual sites to have their own private subs and even for individual actions to have their own private subs, as defined by modules which you the end user build and which the system includes at compile time.

If you don't like any given tag then in your private module you just write your own version and it automatically overloads the default version.

my $plugins = { db_select => sub { ... your code here ... }, some_other => sub { ... your code here ... } };

say for instance you want to extend the system so that you can use any given CPAN module, for instance Image::Resize

use Image::Resize; my $plugins = { image_resize => sub { ... interface code here ... } };

It really is as simple as that.

Replies are listed 'Best First'.
Re^19: aXML vs TT2
by ikegami (Patriarch) on Oct 23, 2011 at 04:33 UTC

    No I didn't get your point, not because I failed to understand it, but because your wrong

    What? Are you saying that your solutions aren't needed? Then why did you post them?

    However now that you have found that post, do you still hold the same objection?

    You have finally showed that aXML can output arbitrary characters, so no.

    It's not your fault and I can understand that it's tricky to make the leap from where your at to where I'm at without a decent set of documentation

    That you didn't address the issue in Re^2 shows that it's more than a documentation problem.

      Arghhhhhhh!!!

      The story so far: About 5 years ago I started writing what was to become a very early version of aXML. I went on to develop and perfect the syntax such that I could build complex apps with it. That was just prior to my first incarnation on perlmonks where I shared the code and got bombed out because the perl powering it was too baby-perlish for anyone to take at all seriously and no one was in the slightest bit interested in the project when there is already plenty of "templating" systems around. I was not well experienced enough or self-confident enough at that point to argue about it.

      I then founded a dotcom startup, attracted investors and built a classifieds ads system with it. The startup failed due to managerial problems. I then went on to setup my own LTD company by myself free from having to pander to the whims of non-technical managerial types. I developed a complete auctions system with it, but then I ended up nearly bankrupt due to non-related reasons, and I lost the company name.

      More recently I decided to build a space MMO using it, and I realised that with the system as it was at that time that whilst it would work, I would need a server that was well outside my budget range to support any sizeable volume of traffic, so I came back here for a second time equipped with 4 years worth of experience in developing aXML apps and set about trying to get the information I needed to accelerate the processing speed.

      I eventually after a lot of arguing, and being on the receiving end of a lot of insults and jibes, and people like dreadpiratepeter treating me like their pet armchair psychology project, found the information I needed, and got started re-writing it to use Plack. The result was an aXML that is very fast and now suitable for large scale sites.

      I could of just left it there and disappeared back into the virtual woodwork satisfied with my winnings, but I believe in the concept of opensource and I wanted to give something back to the community in return for the information I got which allowed me to solve what in my view was the only problem with it; efficiency.

      Here we are now. aXML works, is very fast, is almost ready to be shared properly and yet still I'm answering the same old questions which seem utterly slanted with the belief that I'm some sort of delusional fool who has nothing.

      aXML rocks... period, fullstop, end of. If you don't like it or want it that's your problem, but I'm not going to let your cynical attitude prevent me from sharing it with others who will appreciate it and all the hard work I have put into writing it and making it efficient and reliable.

        What does this have to do me?
Re^19: aXML vs TT2
by ikegami (Patriarch) on Oct 23, 2011 at 04:25 UTC

    No I didn't get your point, not because I failed to understand it, but because your wrong

    What? Are you saying that your solutions aren't needed? Then why did you post them?

      No I'm saying that your objections, whilst intelligent, represent problems which I solved a long time ago. I had to to make various applications I wrote in aXML work. I've coded a complete forum system in it that replicates most of the funcationality of PHPBB, an ecommerce site, an auctions site and I've made start on a space-based MMO. I only came to perl monks originally to find out what I needed to know to make it more efficient, not to find out how to make it work because it already does and has reliably for well over 4 years now.

        Well, if you call "Rock &amp;amp; Roll" a solution.