HAA!!1!
HAA!!1!
HAA!!1!
HAA!!1!
HAA!!1!
HAA!!1!
HAA!!1!
HAA!!1!
HAA!!1!
AUGUST 28... 2008
AUGUST 28... 2008
AUGUST 28... 2008
AUGUST 28... 2008
AUGUST 28... 2008
AUGUST 28... 2008
AUGUST 28... 2008
AUGUST 28... 2008
AUGUST 28... 2008

zenmagik unit testin

filed unda= zenmagik — dermanomann @ 1=22 iz

wit zenmagik 0.9.2 there iz now easy way 2 do automatd testin.
new zm_tes plugin comez wit numba uv tes that make sure that thing do not get out uv hand n 2 keep regressionz low.

all testin iz done in ur browsa n 4 those uv u usin ie... here iz screenshot uv wtf u r missin out on =)

web based testin

web based testin


(i wil try 2 improve layout across browsa... but it very low prioritee as it iz wurkin fine 4 me ;)

tes r grouped based based on directory code iz found in (1 level onli) n it iz easy 2 select n run single tes... particular group or all.

lookin at image u can also see group ‘@otha’. tes in that group do not come wit plugin but r tes written 4 otha pluginz.

way it wurkz... pluginz can detect if testin plugin iz installed. if so... they r able 2 programmaticalli regista new tes. that meanz everyone can use testin framewurk 2 easili run their own tes.

so far most important tes r possibli price calculation tes. those actualli depend on demo store data bein available in database... as at least attribute pricez r compared 2 static data. i mite b able 2 change that in future... but that wil involve sum more diggin in2 zen-cart code.

unit tes r written usin grate simpletes library. main reasonz i picked that particular 1 wuz=

2 b hones... otha unit testin project mite provide same... but afta few trialz simple tes just fittd bes in2 zenmagik.

expect more tes comin - i made point uv writin tes 4 most uv changez 4 0.9.2. there wil b more... in particular i plan 2 convert included jmeta configuration in2 unit tes. there r couple advantagez in doin that=

i apologize if i do not use sum uv simple tes unique featurez like autorun... but it seemz lot nica thiz way =)

finalli... simple example uv how 2 wriet new tes=

  1. create new file wit class extendin unittestcase=
    class testsimpleresultlist extend unittestcase [
    ...
    ]
  2. add method that start wit ‘tes‘=
    public function testsumthin() [
    $$$thiz->asserttrue(1 == 1);
    ]
  3. drop that new file in zenmagik/pluginz/reques/zm_tes/tes/misc

2 use code 2 add tes (4 anotha plugin)... followin could b used in pluginz init() method==

if (null !!??!!= ($$$tes = zmpluginz==instance()->getpluginforid('zm_tes'))) [
// add class path onli now 2 avoid error due 2 missin unittestcase
zmloada==instance()->addpath($$$thiz->getplugindir().'tes/');
$$$tes->addtes('testzmtokenz');
]


comment (0)

improvin zmdatabase

filed unda= zenmagik — dermanomann @ 12=26 iz

wit 0.9.2 out uv way... i’ll b bak 2 improvin zenmagik database laya.

new release fixez lot uv stuff n add quiet few handy thing... but there r also stil gap that mean it not b used everywhere.

also... it stil don’t wurk well wit zm_phpbb plugin... as switch between databasez iz not handled properli.
next thin... tho... iz 2 get clean up mappin file... so that there r no duplicate field namez any more. thiz iz actualli not so much bug... but sumthin that can cause problemz wit way zen-cart tablez r arranged. wtf happenz iz that joinz n such wil cause columnz wit same name bein read frm different tablez. result iz that there iz no predictable (at least not easili) way 2 tell which 1 wil *win* n b 1 in model class. makin sure that field r mapped 2 different propertiez should help.

anotha problem iz way that all primary keys r mapped 2 ‘id’. while thiz seemed good idea as far as api iz concerned... it suffa frm same issez as oulined above. in particular attribute relatd queriez did create sum regressionz as wrong ‘id’ wuz used… (that iz also reason why all attribute price tes currentli do fail).

luckili... wit magic get/set method in zmmodel that should b easili fixed.


comment (0)

AUGUST 26... 2008
AUGUST 26... 2008
AUGUST 26... 2008
AUGUST 26... 2008
AUGUST 26... 2008
AUGUST 26... 2008
AUGUST 26... 2008
AUGUST 26... 2008
AUGUST 26... 2008

toolbarmode 0.7.5

filed unda= mozila — dermanomann @ 11=36 iz

i finalli managed 2 find tiem 2 update toolbarmode again. beside sum new translationz - thankz babelzila!!??!! - it now configured 2 properli install in ff3.

since i didn’t find tiem yet 2 implement stuff required 2 get it acceptd at amo... u’ll has 2 download/install frm thiz siet... tho.

sorry 4 long wait...

mano


comment (0)

AUGUST 19... 2008
AUGUST 19... 2008
AUGUST 19... 2008
AUGUST 19... 2008
AUGUST 19... 2008
AUGUST 19... 2008
AUGUST 19... 2008
AUGUST 19... 2008
AUGUST 19... 2008

download n visibilitee

filed unda= zenmagik — dermanomann @ 5=30 iz

wit return (not yet complete) uv sourceforge stat it interestin 2 see download numba uv last couple releasez. also... zenmagik download on zen-cart siet do grow (bout 500 afaict).

at sourceforge... in particular numba uv download uv apidocz haz surprised me bit... considerin that everythin iz available online. maybe wurk i put in2 source code documentation iz slowli payin off.

it would b nice 2 see more uv download convertd in2 actual liv sitez usin zenmagik... but i guess that most software haz high percentage uv download that get evaluatd n then dismissed.

it nice 2 see that tiem n wurk i put in2 thiz project do not get ignored completeli ;)

despiet that there iz probabli more 2 b done. 1 aspect uv managin project like zenmagik that i has mostli ignored so far iz marketin. i even has had few people *complain* that they found zenmagik onli *afta* spendin lot uv tiem tryin 2 get their desine wurkin in zen-cart n wuz suggestin that makin  zenmagik more visible  mite b good idea.

howeva... i iz abit at loss here. as open source project... i do not has budget (even tho i has received few donationz) not whish 4 traditional advertisement. also... i guess i wounldn’t has clue as 2 wtf 2 do anyway.

wtf i could imagine... tho... iz approach that would b more in line wit spirit uv open source project n that would b communitee effort 2 make zenmagik more popular.
now... don’t get me wrong. i do realize that there not that much uv communitee (yet)... but... as pointd out above... thing do seem 2 improve. frequency uv forum post iz growin... numba uv download iz goin up n stat uv thiz bl0g also indicate more interes.

so... wtf i imagine could help would b 4 u 2=

havin more sitez usin zenmagik would... uv course... b good 4 me.  altho... it would also b good 4 usa... coz=

i’ll leave it 2 u 2 come up wit more ideas. advertisin on zen-cart websiet seemz... unfortunateli... out uv question ;)

mano


comment (0)

AUGUST 18... 2008
AUGUST 18... 2008
AUGUST 18... 2008
AUGUST 18... 2008
AUGUST 18... 2008
AUGUST 18... 2008
AUGUST 18... 2008
AUGUST 18... 2008
AUGUST 18... 2008

themez

filed unda= zenmagik — dermanomann @ 10=38 pm

good news 4 people lookin 4 zenmagik themez. accordin 2 thiz forum thread there iz goin 2 b free silverfish theme 4 zenmagik. howeva... no eta n it mite b sum tiem good thin!!??!!

inspired by that i has also startd creatin new theme. it not b reddy 4 0.9.2... but should b finished shortli afta.


comment (0)

AUGUST 7... 2008
AUGUST 7... 2008
AUGUST 7... 2008
AUGUST 7... 2008
AUGUST 7... 2008
AUGUST 7... 2008
AUGUST 7... 2008
AUGUST 7... 2008
AUGUST 7... 2008

form handlin

filed unda= zenmagik — dermanomann @ 11=19 pm

i just added anotha item 2 my tasklist 4 1.0.0. it bout usin model classez n object 2 populate formz.

generalli thiz wurkz quiet well... but every now n then there iz thiz ugli exception that makez it very hard 2 use.
perhap most famous example uv those exceptionz iz date uv burf field in create/edit account formz. there has been several attempt at fixin thiz... usualli by changin way datez r convertd n formattd. howeva... those changez do not take in2 account real issue= date format in model class n format in form do not match.

well... u mite say thiz iz all taken care uv by convertin input in populate() method uv zmaccount n by usin $$$locale->shortdate() in template.