View Poll Results: If you read it, did you find DirectJNgine User's Guide adequate?

Voters
54. You may not vote on this poll
  • Yes

    40 74.07%
  • No

    14 25.93%
  1. #251
    Ext User
    Join Date
    Aug 2009
    Posts
    20
    Vote Rating
    0
    vlagorce is on a distinguished road

      0  

    Default


    Easy Pedro

    You have add a lot of feature since a stop releasing the 1.1 version of Djn-spring.. Very good Job.

    Actually I'm trying to integrate DJN-1.2 and it's hard to override a lot of method.
    For some classes I have to rewrite the full code..
    I'm trying to make the less modification without forget that I aim to have a full spring management. I will make a big refactoring in djn-spring to open it to any IOC framework like guice,.. (java7 injection)..

    Today I will search different solution but I'm quite sure that I can't do what I want cleanly (without copying your class and add the change I need) with the version 1.2.

    So my question is. Have you plan to make a 1.3 version (not for tomorrow )?
    May I propose you to change some implementation to open you code or should I do my best with the 1.2 ?

    Greetings,

  2. #252
    Ext JS Premium Member
    Join Date
    May 2009
    Location
    Barcelona (Spain)
    Posts
    218
    Vote Rating
    19
    pagullo will become famous soon enough pagullo will become famous soon enough

      0  

    Default


    Quote Originally Posted by vlagorce View Post
    Easy Pedro
    Hi, Vincent,

    Welcome back!

    You have add a lot of feature since a stop releasing the 1.1 version of Djn-spring.. Very good Job.
    Thanks!

    Actually I'm trying to integrate DJN-1.2 and it's hard to override a lot of method.
    For some classes I have to rewrite the full code..
    I'm trying to make the less modification without forget that I aim to have a full spring management. I will make a big refactoring in djn-spring to open it to any IOC framework like guice,.. (java7 injection)..

    Today I will search different solution but I'm quite sure that I can't do what I want cleanly (without copying your class and add the change I need) with the version 1.2.

    So my question is. Have you plan to make a 1.3 version (not for tomorrow )?
    May I propose you to change some implementation to open you code or should I do my best with the 1.2 ?

    Greetings,
    I would reallly love to see the DJN-Spring integration solved!

    Actually, I have a very early 1.2/1.3+ alpha, with no release date I can commit to. There are no new features, just several small code changes triggered by a detailed analysis of DJN with FindBugs -a nice tool!

    I think you should start with that code base: I will post it in googlecode whenever I find some time to clean it up a bit -and with the idea that nobody else uses it.

    I would suggest that you contact me once you have finished what you consider the final features you will release, and then we check how/whether to modify DJN to accomodate that. Else, I think we will start running in circles.

    Of course, I beg you make the minimal set of changes to DJN so that integration is really feasible with a minimal impact on the core.

    BTW: I assume you have checked how I have handled the inclusion of new state management annotations, in the com.softwarementors.extjs.djn.servelet.ssm package.

    I think this is a simple way to handle extensibility, as it is independent of the DJN core (if you check it, you will see that DJN can be compiled without the ssm packace, proving that we need not modify the DJN core for some non-trivial cases).

    It might need some retouching, but that might the way for you to go. I am really wary of adding more extension points to DJN. They make it more powerful, but they are much harder to test and can deteriore the internal structure: and, one of my main goals is to keep DJN fully tested via automated tests -and we must ensure that remains easy.

    Feel free to contact me: just take into account that I am busy, so my answers might take some time!

    Greetings,
    Pedro Agulló, Barcelona (Spain)
    Agile team building, consulting, training & development
    DirectJNgine: http://code.google.com/p/directjngine - Log4js-ext: http://www.softwarementors.com/projects/p/log4js-ext/

  3. #253
    Ext User
    Join Date
    Nov 2009
    Posts
    15
    Vote Rating
    0
    jcalfee is on a distinguished road

      0  

    Default New Ext Writer Store Example

    New Ext Writer Store Example


    I'm trying to build the something just like the Ext.data.DataWriter Example:

    http://www.extjs.com/deploy/dev/exam...er/writer.html

    Would you please add this to the directjngine.1.2 example code? You might find there is an issue. I have tried everything and I can only get my grid to populate. The Add, Delete, and Update do not work. The user guide uses the directFn (instead of the api) to perform read operations. It would really helpful if the example code had a full API CRUD example.

    I'm using a DirectProxy instead of the HttpProxy. The api read and destroy methods are @DirectMethod, the update and create are a @DirectFormPostMethod.

    The read works fine and returns an ID, but the delete does not send an ID. I have the idProperty defined in my JsonReader. The only variation I have is the DirectProxy in place of the examples HttpProxy and directjngine.1.2 as my back-end. I'm pulling the same ext libraries as the example.

    The Adds and Updates blow up here saying "form is undefined"
    ext-all-debug.js:39939 (version 3.2.0)
    Code:
    var isUpload = String(form.getAttribute("enctype")).toLowerCase() == 'multipart/form-data',
    Thank You!
    JC

  4. #254
    Ext User
    Join Date
    Nov 2009
    Posts
    15
    Vote Rating
    0
    jcalfee is on a distinguished road

      0  

    Default directjngine and AppEngine compatibility

    directjngine and AppEngine compatibility


    Quote Originally Posted by jcalfee View Post
    Great, I'm glad to hear the threads are optional. That makes this change minimal.

    I'm not using this at the moment, but I'll send you the patch once it is working in a project.
    I needed to make only one change to directjngine so it would run in AppEngine.
    File: CodeFileGenerator.java
    Method: updateApiFiles( Registry registry )

    Code:
    if ("Production".equals(System.getProperty("com.google.appengine.runtime.environment"))) {
            logger.info("Can't write file(s) in Goolge's App Engine production, skipping API file updates.");
            return;
        }
    This only works with the AppEngine SDK's 1.2.5 and older... Basically, after 1.2.5, the SDK will detect a policy exception in the Development environment too (attempt to write to the file system) and immediately take the web application off-line. This use to happen only in production, but the development environment could write files. This is the reason the code above works. When I'm developing, the API is updated then when deployed it does not even try it...

    Now, Google made the SDK smarter. This is better as it would trap these things earlier before you try to deploy code that is not going to work. It breaks the fix though because I can't update the API file at development time anymore.

    I see the API configuration is in the web.xml. Can you add a interface for the API caching? Is this easy? The default can use the file based code you have now. An implementation for the Google MemCatch would be a great way to solve this... If you want it in your code, I could write one using reflection so it would not create any compile time dependencies on the AppEngine SDK. Otherwise, I can just change the web.xml to use my implementation and still easily get directjngine upgrades.

  5. #255
    Ext JS Premium Member
    Join Date
    May 2009
    Location
    Barcelona (Spain)
    Posts
    218
    Vote Rating
    19
    pagullo will become famous soon enough pagullo will become famous soon enough

      0  

    Default DirectJNgine and AppEngine

    DirectJNgine and AppEngine


    Hi

    Quote Originally Posted by jcalfee View Post
    I needed to make only one change to directjngine so it would run in AppEngine.
    Have you tried to execute all tests in the djn_test app when running in AppEngine?
    This is a security check one should always perform when modifying DJN, to catch subtle issues.

    Do the tests pass with your proposed changes? Currently, I just can't pass the file upload tests (both automated and manual), all other test pass -after I made some adjustments to generate/provide the api on the fly, instead of generating js files.

    Small as this issue might seem, I do not want to commit code to DJN that does not pass all tests. Since I'm not an AppEngine user I might be missing something... Any clues?

    If all of this is working currently for you, I will consider adding official support for AppEngine, which would be a nice feature :-). That would be great!

    Regards
    Pedro Agulló, Barcelona (Spain)
    Agile team building, consulting, training & development
    DirectJNgine: http://code.google.com/p/directjngine - Log4js-ext: http://www.softwarementors.com/projects/p/log4js-ext/

  6. #256
    Ext User
    Join Date
    Nov 2009
    Posts
    15
    Vote Rating
    0
    jcalfee is on a distinguished road

      0  

    Default directjngine

    directjngine


    Quote Originally Posted by pagullo View Post
    Hi

    Have you tried to execute all tests in the djn_test app when running in AppEngine?
    This is a security check one should always perform when modifying DJN, to catch subtle issues.

    Do the tests pass with your proposed changes? Currently, I just can't pass the file upload tests (both automated and manual), all other test pass -after I made some adjustments to generate/provide the api on the fly, instead of generating js files.

    Small as this issue might seem, I do not want to commit code to DJN that does not pass all tests. Since I'm not an AppEngine user I might be missing something... Any clues?

    If all of this is working currently for you, I will consider adding official support for AppEngine, which would be a nice feature :-). That would be great!

    Regards
    Noted .. I like those unit tests. I'll keep that in mind. I'm not proposing that the change should go into your code though. It does not work on the newer AppEngine SDKs. They are changing very fast; the public Java environment at Google is still very new. I posted the code change in-case someone needs to make a hack to get it to work in the mean time.
    I'll checkout your code changes to generate the API on the fly. I need a better solution is needed first.

    I noticed an Array index exception when using the DirectProxy with directjngine. Do you support the DirectProxy yet?

  7. #257
    Ext JS Premium Member
    Join Date
    May 2009
    Location
    Barcelona (Spain)
    Posts
    218
    Vote Rating
    19
    pagullo will become famous soon enough pagullo will become famous soon enough

      0  

    Default


    Quote Originally Posted by jcalfee View Post
    Noted .. I like those unit tests. I'll keep that in mind. I'm not proposing that the change should go into your code though. It does not work on the newer AppEngine SDKs. They are changing very fast; the public Java environment at Google is still very new. I posted the code change in-case someone needs to make a hack to get it to work in the mean time.
    I'll checkout your code changes to generate the API on the fly. I need a better solution is needed first.
    The point is, I will not generate the api on the fly unless there is a need, because generating a physical .js file make it easier for the server to avoid a transfer by telling the browser the file hasn't changed, instead of sending it. Optimization is a big concern for me.

    In fact, I tried generating the api on the fly only to support AppEngine (!): if I can't fully support all ExtDirect functionality in AppEngine, then there is not point in making DJN more bloated and complicated to "support in half" something else.

    If you come across a solution to the file upload support in AppEngine, I will love to hear from you, so that the whole community can benefit from our effort :-)

    I noticed an Array index exception when using the DirectProxy with directjngine. Do you support the DirectProxy yet?
    DJN just supports a communication protocol, not that it supports DirectProxy or some other class in ExtJs. It implements all of the ExtDirect 1.0 specification, and that means that it should support all ExtJs components that rely on the specification.

    But maybe you have come across some bug that is only made apparent when using that component. Provide a detailed report (Java stack trace, the log with the data sent to the server, the simplest Java and JavaScript source that shows the behavior), and then we will be able to take a look at it.

    Regards,
    Pedro Agulló, Barcelona (Spain)
    Agile team building, consulting, training & development
    DirectJNgine: http://code.google.com/p/directjngine - Log4js-ext: http://www.softwarementors.com/projects/p/log4js-ext/

  8. #258
    Ext User
    Join Date
    Apr 2010
    Posts
    6
    Vote Rating
    0
    Olivercomputing2 is on a distinguished road

      0  

    Default


    Pedro - there have been a few Wicket questions on this board but I didn't see any specifically addressing these questions: Have you tried - or do you know of those who have tried - to integrate DJN with the Wicket framework? If not, and if you know how Wicket works, do you have a "best suggestion" on broadly how to do so?

  9. #259
    Ext User
    Join Date
    Apr 2010
    Posts
    6
    Vote Rating
    0
    Olivercomputing2 is on a distinguished road

      0  

    Default


    (Quick parenthetical note: This quick reply does NOT work with Google Chrome on OS X. FYI anyone listening at Ext JS)

    Another question. Does DJN or perhaps more broadly ExtDirect, directly support the idea of "Reverse AJAX" - i.e., a server asynchronously pushing changes back to the client?

  10. #260
    Ext JS Premium Member
    Join Date
    May 2009
    Location
    Barcelona (Spain)
    Posts
    218
    Vote Rating
    19
    pagullo will become famous soon enough pagullo will become famous soon enough

      0  

    Default


    Quote Originally Posted by Olivercomputing2 View Post
    Pedro - there have been a few Wicket questions on this board but I didn't see any specifically addressing these questions: Have you tried - or do you know of those who have tried - to integrate DJN with the Wicket framework? If not, and if you know how Wicket works, do you have a "best suggestion" on broadly how to do so?
    I have used Wicket, but never attempted to integrate ExtJs with it.

    To me, it seems like a very difficult thing to do because of the philosophical differences between ExtJs and Wicket. I think attempting deep integration will cause very many headaches.

    That said, one of my co-workers has used ExtJs with Wicket for things such as dialogs, tabs, etc., but *never* integrating them deeply -and, to be fair, at a big cost in time and energy.
    Pedro Agulló, Barcelona (Spain)
    Agile team building, consulting, training & development
    DirectJNgine: http://code.google.com/p/directjngine - Log4js-ext: http://www.softwarementors.com/projects/p/log4js-ext/

Thread Participants: 86

  1. Animal (5 Posts)
  2. barton (4 Posts)
  3. Condor (1 Post)
  4. mauro_monti (6 Posts)
  5. mbarto (1 Post)
  6. aconran (1 Post)
  7. MoShAn480 (1 Post)
  8. asgillett (2 Posts)
  9. seade (4 Posts)
  10. zaqwsxqwer (3 Posts)
  11. Sesshomurai (16 Posts)
  12. ThierryC (3 Posts)
  13. maxm165 (3 Posts)
  14. techstudios (2 Posts)
  15. sayonara (2 Posts)
  16. kschlaudt (1 Post)
  17. hschaefer123 (2 Posts)
  18. omarc (2 Posts)
  19. lxbzmy (4 Posts)
  20. mct (6 Posts)
  21. mediacept (2 Posts)
  22. dionisexorcius (1 Post)
  23. alper (1 Post)
  24. steverc (2 Posts)
  25. chrizmaster (18 Posts)
  26. J@y (21 Posts)
  27. Georgioa (6 Posts)
  28. wguan (1 Post)
  29. minneyar (16 Posts)
  30. jhoweaa (1 Post)
  31. Ramez (2 Posts)
  32. malus (1 Post)
  33. dweller (8 Posts)
  34. stdunbar (1 Post)
  35. vlagorce (20 Posts)
  36. cwilliso (1 Post)
  37. Whatty (13 Posts)
  38. Ice (1 Post)
  39. clynnh (1 Post)
  40. SreevaniN (1 Post)
  41. Stsalomon90 (1 Post)
  42. GregT (9 Posts)
  43. jcalfee (6 Posts)
  44. set_ti (1 Post)
  45. maho2nd (3 Posts)
  46. dreamtaotao (3 Posts)
  47. Toxa (4 Posts)
  48. tungchau (3 Posts)
  49. wlan0 (2 Posts)
  50. jpr (2 Posts)
  51. gianmarco (5 Posts)
  52. extjslikeit (2 Posts)
  53. harmen_wessels (1 Post)
  54. Olivercomputing2 (4 Posts)
  55. vanessa_ng (2 Posts)
  56. alois.cochard (5 Posts)
  57. kyrillos52 (2 Posts)
  58. Tod (1 Post)
  59. Alinanila (1 Post)
  60. tfannon (2 Posts)
  61. Kynao (1 Post)
  62. feiq (4 Posts)
  63. dalt (1 Post)
  64. xfolch (1 Post)
  65. avijit (1 Post)
  66. marcelsnews (2 Posts)
  67. maddhippy (1 Post)
  68. sritter (1 Post)
  69. july (2 Posts)
  70. jtkeller7983 (1 Post)
  71. lfranchini (2 Posts)
  72. 7/11 (2 Posts)
  73. yAdEs (1 Post)
  74. zazz (1 Post)
  75. waqar (5 Posts)
  76. pjain11 (1 Post)
  77. alexMobimesh (2 Posts)
  78. zachHurt (4 Posts)
  79. n0n3 (5 Posts)
  80. adavis2 (1 Post)
  81. mark.peters (1 Post)
  82. lee el (4 Posts)
  83. frengo19 (3 Posts)
  84. prakashwagle (1 Post)
  85. extejnar (2 Posts)
  86. alin@sonatype.com (1 Post)

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar