Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Plugin hooks
« Reply #45, on March 29th, 2011, 12:53 PM »
Well, it should be cached, but let's see what happens when I crank it up to 11...
When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest. | Game Memorial

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Plugin hooks
« Reply #46, on March 29th, 2011, 01:39 PM »
Woohoo.... 44k links to Wedge.org already :niark:

Maybe I should look into my stats... I don't even know where to look ahah!

CJ Jackson

  • I got myself a new iPad, a different world to the iPhone!
  • Posts: 241
Re: Plugin hooks
« Reply #47, on March 29th, 2011, 01:52 PM »
@Nao, nice motto.  :lol:

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Plugin hooks
« Reply #48, on March 29th, 2011, 01:55 PM »
Which one? There are many random slogans in the top left corner ;)

CJ Jackson

  • I got myself a new iPad, a different world to the iPhone!
  • Posts: 241
Re: Plugin hooks
« Reply #49, on March 29th, 2011, 02:02 PM »
The Wedge one, "Simple Math. Really"

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Plugin hooks
« Reply #50, on March 29th, 2011, 02:06 PM »
It works on all the same levels that the name Wedge itself does, hehe.

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Plugin hooks
« Reply #51, on March 29th, 2011, 02:20 PM »
Quote from CJ Jackson on March 29th, 2011, 02:02 PM
The Wedge one, "Simple Math. Really"
Ah yeah... That one!
Well it's simple math whether you should adopt it or not. Should be apparent in just a few minutes once you try it. Of course, half of the real numbers are negative but as I said, it's simple math either way.

As for us developers... Unfortunately, the math isn't that simple eheh. But it's part of the fun!

Dragooon

  • I can code! Really!
  • polygon.com has to be one of the best sites I've seen recently.
  • Posts: 1,841
Re: Plugin hooks
« Reply #52, on March 29th, 2011, 03:22 PM »
A plugin and module system would be nice, and no, I haven't been keeping up with this site or any other as a matter of fact. The reasons are same as using a proper template engine as opposed to PHP based one.
The way it's meant to be

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Plugin hooks
« Reply #53, on March 30th, 2011, 12:14 AM »
I think we already established that ToxG, as excellent as it is (given that it was made by talented people!), would be a no-no for as long as it can't allow mixing (if only temporarily) PHP templates with tox templates... :^^;:

dorje

  • Krabi krabong: the wedge of martial arts. :P
  • Posts: 97
Re: Plugin hooks
« Reply #54, on March 30th, 2011, 07:12 AM »
Quote from Nao/Gilles on November 12th, 2010, 08:02 AM
Like, $smcFunc. What does SMC mean? Most people don't know. (And I don't even remember, myself.)
$wedgeFunc is too long and $weFunc may sound like "we fuck", so... $wf?
Might as well use $cx and $wf. And then document the change somewhere.
Why not $wtf?  :lol:

Krabi Krabong & programming :D

Dragooon

  • I can code! Really!
  • polygon.com has to be one of the best sites I've seen recently.
  • Posts: 1,841
Re: Plugin hooks
« Reply #55, on March 30th, 2011, 08:23 AM »
Quote from Nao/Gilles on March 30th, 2011, 12:14 AM
I think we already established that ToxG, as excellent as it is (given that it was made by talented people!), would be a no-no for as long as it can't allow mixing (if only temporarily) PHP templates with tox templates... :^^;:
I was talking about the plugin system, and not ToxG. But FWIW, it *is* possible to do so and I've told you my theory, you guys just never came to the decision to use it.
Re: Plugin hooks
« Reply #56, on March 30th, 2011, 11:55 AM »
Quote from Bloc on March 30th, 2011, 10:35 AM
Quote from Nao/Gilles on March 30th, 2011, 12:14 AM
I think we already established that ToxG, as excellent as it is (given that it was made by talented people!), would be a no-no for as long as it can't allow mixing (if only temporarily) PHP templates with tox templates... :^^;:
Good call.

As much as I love the mod/template solving of ToxG, its something that shouldn't be needed in the first place(mods modifying templates) and I really like to keep the PHP parts. :)
Mods *need* to modify the output in one way or the another, although modifying a template is not a good idea, I'd agree with that. Is that what you're trying to say?

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Plugin hooks
« Reply #57, on March 30th, 2011, 11:59 AM »
Yeah, modifying the output isn't the same as modifying the template. Anything that's fragile enough to require editing the template itself is going to hit problems sooner or later.

Dragooon

  • I can code! Really!
  • polygon.com has to be one of the best sites I've seen recently.
  • Posts: 1,841
Re: Plugin hooks
« Reply #58, on March 30th, 2011, 12:02 PM »
Quote from Arantor on March 30th, 2011, 11:59 AM
Yeah, modifying the output isn't the same as modifying the template. Anything that's fragile enough to require editing the template itself is going to hit problems sooner or later.
In that case ToxG really solves those problems when compared to a simple PHP engine, although since I know you guys don't need another advertisement I'd leave it at that.

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Plugin hooks
« Reply #59, on March 30th, 2011, 01:34 PM »
Quote from dorje on March 30th, 2011, 07:12 AM
Why not $wtf?  :lol:
We already finished the rewrite ;)

It's one of these "nice little features" in Wedge... You no longer have to declare the $smcFunc global anywhere. It's all encapsulated inside nice little thematic classes.