You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by Maarten Bosteels <mb...@gmail.com> on 2007/05/28 00:31:02 UTC

tutorial on protocol codec

Hello all,

I created a tutorial on creating a custom ProtocolCodecFilter.
Please have a look at it and let me know what you think:

http://cwiki.apache.org/confluence/display/MINA/Tutorial+on+ProtocolCodecFilter

Thanks,
Maarten

Re: tutorial on protocol codec

Posted by hyung <hy...@yahoo.com>.
Great work! 
This tutorial was really helpful to understand the codec filter in MINA.
Thank you and can't wait to see the next tutorial from you. 
:-)

Hyung


Maarten Bosteels-4 wrote:
> 
> Hello all,
> 
> I created a tutorial on creating a custom ProtocolCodecFilter.
> Please have a look at it and let me know what you think:
> 
> http://cwiki.apache.org/confluence/display/MINA/Tutorial+on+ProtocolCodecFilter
> 
> Thanks,
> Maarten
> 
> 

-- 
View this message in context: http://www.nabble.com/tutorial-on-protocol-codec-tf3825245.html#a10840320
Sent from the mina dev mailing list archive at Nabble.com.


Re: tutorial on protocol codec

Posted by Ashish Sharma <as...@gmail.com>.
great work

On 5/28/07, Maarten Bosteels <mb...@gmail.com> wrote:
> Hello all,
>
> I created a tutorial on creating a custom ProtocolCodecFilter.
> Please have a look at it and let me know what you think:
>
> http://cwiki.apache.org/confluence/display/MINA/Tutorial+on+ProtocolCodecFilter
>
> Thanks,
> Maarten
>

Re: tutorial on protocol codec

Posted by Maarten Bosteels <mb...@gmail.com>.
On 5/28/07, Ersin Er <er...@gmail.com> wrote:
>
> Hi,
>
> Nice and long waited tutorial. But let's give the static html page
> link to the users:
>
> http://mina.apache.org/tutorial-on-protocolcodecfilter.html
>
> So cwiki server has more chance to live.


Thanks Ersin, I didn't know about  these static pages.
I have also added a link from http://mina.apache.org/documentation.html to
the tutorial.
I didn't do it right away because I wasn't sure people would like the
tutorial, but feedback has been positive until now :-)

Maarten

On 5/28/07, Maarten Bosteels <mb...@gmail.com> wrote:
> > Hello all,
> >
> > I created a tutorial on creating a custom ProtocolCodecFilter.
> > Please have a look at it and let me know what you think:
> >
> >
> http://cwiki.apache.org/confluence/display/MINA/Tutorial+on+ProtocolCodecFilter
> >
> > Thanks,
> > Maarten
> >
>
>
> --
> Ersin
>

Re: tutorial on protocol codec

Posted by Ersin Er <er...@gmail.com>.
Hi,

Nice and long waited tutorial. But let's give the static html page
link to the users:

http://mina.apache.org/tutorial-on-protocolcodecfilter.html

So cwiki server has more chance to live.

On 5/28/07, Maarten Bosteels <mb...@gmail.com> wrote:
> Hello all,
>
> I created a tutorial on creating a custom ProtocolCodecFilter.
> Please have a look at it and let me know what you think:
>
> http://cwiki.apache.org/confluence/display/MINA/Tutorial+on+ProtocolCodecFilter
>
> Thanks,
> Maarten
>


-- 
Ersin

Re: tutorial on protocol codec

Posted by Trustin Lee <tr...@gmail.com>.
On 5/29/07, Maarten Bosteels <mb...@gmail.com> wrote:
<snip/>

> * Use our standard coding style.
>
> I thought I did, but apparently I should have read the coding style
> document.
> I spent some time putting all those opening curly braces on a new line,
> because I thought that's how mina code was written :-)

Actually we are moving to the modified standard Java coding
convention; mostly same with the standard but different in that we use
spaces only.  The move is just happening very slowly.

HTH,
Trustin
-- 
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP Key ID: 0x0255ECA6

Re: tutorial on protocol codec

Posted by Maarten Bosteels <mb...@gmail.com>.
Hi Trustin,

On 5/29/07, Trustin Lee <tr...@gmail.com> wrote:
>
> Hi Maarten,
>
> On 5/28/07, Maarten Bosteels <mb...@gmail.com> wrote:
> > Hello all,
> >
> > I created a tutorial on creating a custom ProtocolCodecFilter.
> > Please have a look at it and let me know what you think:
> >
> >
> http://cwiki.apache.org/confluence/display/MINA/Tutorial+on+ProtocolCodecFilter
>
> What a great piece of work!  Thank you for your contribution!  It
> explains why protocol codec is needed and how it works very clearly.


Thanks !

I don't see any changes needed in the content, but I'd like to point
> out a few cosmetic issues:
>
> * Prefer wiki markup to rich text editor, which generates many &nbsp;s.


I started out with rich text editor but quickly switched to wiki markup,
it's definitely easier.

* Use {{...}} expression when referencing a class name (e.g.
> {{ProtocolCodecFilter}}).


Will remember that for the next tutorial :-)

* Use our standard coding style.


I thought I did, but apparently I should have read the coding style
document.
I spent some time putting all those opening curly braces on a new line,
because I thought that's how mina code was written :-)

Maarten

I made a change in the latest revision of the tutorial.
>
> Cheers,
> Trustin
> --
> what we call human nature is actually human habit
> --
> http://gleamynode.net/
> --
> PGP Key ID: 0x0255ECA6
>

Re: tutorial on protocol codec

Posted by Trustin Lee <tr...@gmail.com>.
Hi Maarten,

On 5/28/07, Maarten Bosteels <mb...@gmail.com> wrote:
> Hello all,
>
> I created a tutorial on creating a custom ProtocolCodecFilter.
> Please have a look at it and let me know what you think:
>
> http://cwiki.apache.org/confluence/display/MINA/Tutorial+on+ProtocolCodecFilter

What a great piece of work!  Thank you for your contribution!  It
explains why protocol codec is needed and how it works very clearly.

I don't see any changes needed in the content, but I'd like to point
out a few cosmetic issues:

* Prefer wiki markup to rich text editor, which generates many &nbsp;s.
* Use {{...}} expression when referencing a class name (e.g.
{{ProtocolCodecFilter}}).
* Use our standard coding style.

I made a change in the latest revision of the tutorial.

Cheers,
Trustin
-- 
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP Key ID: 0x0255ECA6