1. #1
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,803
    Vote Rating
    605
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    FYI I have written a .NET router for direct, after speaking to people at the conference there's a few things I'd like to change, though I'd be interested to see your implementation.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  2. #2
    Ext User shibubh's Avatar
    Join Date
    Jul 2007
    Location
    Lamahi,Dang Nepal
    Posts
    449
    Vote Rating
    0
    shibubh is on a distinguished road

      0  

    Default


    Quote Originally Posted by freygrob View Post
    in your js code, replace all "out.el.scrollTo('t', 100000, true);" by :
    out.el.dom.parentNode.scrollTop = out.el.dom.parentNode.scrollHeight;
    and displayfield scrollbar will work.

    thanks
    Shibu Bhattarai

    Use JavaScript beautifier to beautify you code http://jsbeautifier.org/

    Code Conventions http://javascript.crockford.com/code.html

    ExtJS Core Manual http://extjs.com/products/extcore/manual/

  3. #3
    Ext User shibubh's Avatar
    Join Date
    Jul 2007
    Location
    Lamahi,Dang Nepal
    Posts
    449
    Vote Rating
    0
    shibubh is on a distinguished road

      0  

    Default


    Quote Originally Posted by evant View Post
    FYI I have written a .NET router for direct, after speaking to people at the conference there's a few things I'd like to change, though I'd be interested to see your implementation.
    and i m waiting for your feedback
    Shibu Bhattarai

    Use JavaScript beautifier to beautify you code http://jsbeautifier.org/

    Code Conventions http://javascript.crockford.com/code.html

    ExtJS Core Manual http://extjs.com/products/extcore/manual/

  4. #4
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,803
    Vote Rating
    605
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    The only major difference I can see is that my implementation auto-discovers and generates the API. Give me a few days and I'll munge them together, mine currently doesn't use NewtonSoft, which I understand seems to be the standard for .NET users.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  5. #5
    Ext User shibubh's Avatar
    Join Date
    Jul 2007
    Location
    Lamahi,Dang Nepal
    Posts
    449
    Vote Rating
    0
    shibubh is on a distinguished road

      0  

    Default


    Quote Originally Posted by evant View Post
    mine currently doesn't use NewtonSoft, which I understand seems to be the standard for .NET users.
    just try to save the time.

    Quote Originally Posted by evant View Post
    The only major difference I can see is that my implementation auto-discovers and generates the API
    love to see that
    Shibu Bhattarai

    Use JavaScript beautifier to beautify you code http://jsbeautifier.org/

    Code Conventions http://javascript.crockford.com/code.html

    ExtJS Core Manual http://extjs.com/products/extcore/manual/

  6. #6
    Ext User netski's Avatar
    Join Date
    Oct 2008
    Posts
    50
    Vote Rating
    0
    netski is on a distinguished road

      0  

    Default


    Quote Originally Posted by evant View Post
    The only major difference I can see is that my implementation auto-discovers and generates the API. Give me a few days and I'll munge them together, mine currently doesn't use NewtonSoft, which I understand seems to be the standard for .NET users.
    I would be interested in seeing your implementation for .NET. I think the auto-discover would be an extremely beneficial piece to the router.

    @shibubh

    Great submission, looks really good!

    Cheers,
    Timothy Grant Vogelsang

  7. #7
    Touch Premium Member jongohr's Avatar
    Join Date
    Mar 2007
    Location
    Lakeville, MN
    Posts
    39
    Vote Rating
    0
    jongohr is on a distinguished road

      0  

    Default


    I have refactored the example from the original poster. This uses the DataContractSerializer in .NET 3.5 instead of the NewtonSoft one. I uploaded the zip file to skydrive.

    Working through this refactoring added more questions about Ext.Direct for me than it answered. I'd love to discuss with other .NET developers.

    Download Zip File
    Last edited by jongohr; 21 Apr 2009 at 8:20 AM. Reason: Updated Url to a Slightly Modified Version
    Jon

  8. #8
    Sencha - Community Support Team mankz's Avatar
    Join Date
    Nov 2007
    Location
    Stockholm, Sweden
    Posts
    2,732
    Vote Rating
    104
    mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all mankz is a name known to all

      0  

    Default


    Quote Originally Posted by jongohr View Post
    I have refactored the example from the original poster. This uses the DataContractSerializer in .NET 3.5 instead of the NewtonSoft one. I uploaded the zip file to skydrive.

    Working through this refactoring added more questions about Ext.Direct for me than it answered. I'd love to discuss with other .NET developers.
    I'd be very interested in taking part in that discussion. Lots of questions and ideas about Ext.direct...

  9. #9
    Touch Premium Member jongohr's Avatar
    Join Date
    Mar 2007
    Location
    Lakeville, MN
    Posts
    39
    Vote Rating
    0
    jongohr is on a distinguished road

      0  

    Default


    Quote Originally Posted by evant View Post
    The only major difference I can see is that my implementation auto-discovers and generates the API. Give me a few days and I'll munge them together, mine currently doesn't use NewtonSoft, which I understand seems to be the standard for .NET users.
    Please don't take any of my comments the wrong way. Just kind of thinking out loud.

    I take it from the quote above that Evan is the ext staffer responsible for doing the .net implementation?

    If so, I vote to NOT use the newtonsoft serializer, no sense adding a third party dependency when there are two serializers for json already built in to the 3.5 framework.

    The only methods I can figure out how to call with direct are in the same assembly and have no namespace around the class. Not sure how to abstract this away to an external assembly?

    Is reflection going to be the focal point of the final solution?

    Since .NET has such a rich environment around web services and the automatic proxying of types shouldn't a .net solution try to exploit that? Right now it seems like the only thing .direct gets us in .net is batching of calls. That could be handled with a request queue like the one in basex.

    Maybe I'm missing the point?

    Impatiently waiting for more information and an example from the source! Thanks!!
    Jon

  10. #10
    Ext User shibubh's Avatar
    Join Date
    Jul 2007
    Location
    Lamahi,Dang Nepal
    Posts
    449
    Vote Rating
    0
    shibubh is on a distinguished road

      0  

    Default


    now i have updated the router for Ext.Direct ( Remove dependency with newtonSoft) and add the another example for grid using router. right now i m busy with working in Ext.Writer.



    Quote Originally Posted by jongohr View Post

    The only methods I can figure out how to call with direct are in the same assembly and have no namespace around the class. Not sure how to abstract this away to an external assembly?

    Is reflection going to be the focal point of the final solution?
    i m working on it
    Shibu Bhattarai

    Use JavaScript beautifier to beautify you code http://jsbeautifier.org/

    Code Conventions http://javascript.crockford.com/code.html

    ExtJS Core Manual http://extjs.com/products/extcore/manual/

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi