Supun, I believe that our off-line discussion helped you to figure out what I meant.
Thanks, Indika On Mon, Feb 7, 2011 at 2:22 PM, Supun Kamburugamuva <[email protected]>wrote: > On Sun, Feb 6, 2011 at 5:22 PM, indika kumara <[email protected]> > wrote: > > Just another personal thought. Supporting parametrization as a first > class > > capability. I found XSLT 'template' and 'xsl:with-param' very > interesting. > > Endpoint definition, sequence definition, proxy definition. etc are kinds > of > > templates and not the concrete ones. Calling such a template, the > > corresponding language construct is created. > > > > E.g. > > > > <endpoint name="foo"> > > details ( There may be a URl or not) > > </endpoint> > > > > Creating an endpoint > > > > <endpoint name="foo"/> > > <param name="url">value</param> // this is optional. > > </endpoint> > > > > URI is just one thing. I am seeing an opportunity for a maximum reuse of > > all language constructs. The use of the template concept is very popular > in > > many languages. > > > > BTW, I have not validated what I had said. All things are just based on > my > > intuition. So, these ideas may seem nonsense. if so, I am extremely > sorry. > > > > Hi Indika, > > I also feel supporting parametrization as a first class thing will be > a very powerful feature. But I didn't get what you meant completely. > Could you please explain a bit more? > > Thanks, > Supun.. > > > Thanks, > > > > Indika > > > > > > -- > Technical Lead, WSO2 Inc > http://wso2.org > supunk.blogspot.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
