1. #171
    Sencha Premium Member
    Join Date
    Oct 2009
    Location
    Germany
    Posts
    334
    Vote Rating
    96
    Ekambos is a name known to all Ekambos is a name known to all Ekambos is a name known to all Ekambos is a name known to all Ekambos is a name known to all Ekambos is a name known to all

      1  

    Default

    Quote Originally Posted by brian428 View Post
    Alain, I'm not dismissing your work on Ext4j, you obviously put a lot of time into it. But knowing that you also manage Touch4J actually just adds to my concern. Sencha releases updates to Ext JS and Touch quite regularly, and some of the changes can be quite extensive. I just think that it's going to be very difficult for one person to keep up with that pace of change.
    I did nt assumed you were dismissing my work. No worries

    I started Touch4j with Sencha Touch 1. Now Touch4j supports the latest Sencha Touch version and adds even more stuff to it. So I think I manage the changes from Sencha pretty well. Since I m using the tools for my own project It s part of my job to keep them uptodate. Also there are some big companies using Touch4j so I m not worried about production level. I hope to get to that level with Ext4j.
    The main problem with the tools is to make people understand what GWT is about. When they hear Java they think applet

    Quote Originally Posted by brian428 View Post
    Sencha has a large team of people working on these libraries, and even they also struggle to deal with bugs and ERs. And now, if something goes wrong, folks will first have to determine whether the problem is in the Java wrappers or an actual issue in the underlying Ext JS/Touch JS libraries.
    Sencha Engineer have others problem than I. Actually their work is way more harder than mine.
    The tools I create are just delegating call the underlying libraries. So it s really easy to spot where the errors are coming from.
    We choosed better productivity over possible errors.

    Quote Originally Posted by brian428 View Post
    Again, I'm thankful that folks like you do this sort of work. I manage and contribute to a number of open-source projects myself. I'm just trying to explain why a lot of developers (or managers) are going to be hesitant to rely on something like this for production apps.
    Thanks a lot.
    I agree with you that people are very hesitant. But the tools are being used in production already. We use it at NTT DATA and I know other big names doing it already too.
    I always suggest to download the libraries and play with them and then go from there.
    I have lots of examples out there
    Like I said you might not want to go back to anything else

  2. #172
    Sencha User
    Join Date
    Mar 2008
    Location
    Brazil
    Posts
    76
    Vote Rating
    9
    fabio.parra will become famous soon enough

      1  

    Default TypeScript Extjs code emitter


  3. #173
    Sencha User
    Join Date
    Jun 2014
    Posts
    1
    Vote Rating
    0
    dragomirtitian is on a distinguished road

      0  

    Default Another typescript for extjs compiler

    Hi,

    I also created a Typcript for ExtJs compiler, but this on also infers extra interfaces and methods based on ExtJS conventions,which can be very useful. All compiler features are opt-in using annotations in comments. Since you can replace the Visual Studio language service, all the stuff inferred by the compiler will be available in Visual Studio intelisense.

    For example when defining a class you can tell the compiler to generate an interface that contains the configuration properties and you can use that as your constructor parameter so you get intelisense when you call the constructor.

    http://typescript4extjs.codeplex.com/

  4. #174
    Ext JS Premium Member gevik's Avatar
    Join Date
    May 2009
    Location
    The Netharlands
    Posts
    276
    Vote Rating
    37
    gevik has a spectacular aura about gevik has a spectacular aura about

      0  

    Default

    If you want to create typescript def files from extjs/touch code, one way is to run the extjs code with JsDuck using the JSON export option, and use the exported JSON to creatie your own .d.ts file.

  5. #175
    Sencha Premium Member
    Join Date
    Feb 2012
    Location
    Raleigh, NC
    Posts
    498
    Vote Rating
    452
    brian428 has a brilliant future brian428 has a brilliant future brian428 has a brilliant future brian428 has a brilliant future brian428 has a brilliant future brian428 has a brilliant future brian428 has a brilliant future brian428 has a brilliant future brian428 has a brilliant future brian428 has a brilliant future brian428 has a brilliant future

      0  

    Default

    The large number of inconsistencies in the JSDuck docs and the underlying Ext JS API makes this much more difficult than it initially sounds.

  6. #176
    Sencha User
    Join Date
    Jan 2016
    Posts
    1
    Vote Rating
    0
    meyermadeline33 is on a distinguished road

      0  

    Default

    This is a great help, thanks for the information!

  7. #177
    Sencha User
    Join Date
    Nov 2008
    Posts
    54
    Vote Rating
    3
    capn is on a distinguished road

      0  

    Default

    how about now?

    i am using chrome and ecma 6 syntax like "let", "class", "const" are all working "out of the box"..

    is there a need for typescript now that ecma 6 is implemented in most browsers. I think there is need now for a "shim" to support es5 and below if es6 is used in any application, because probably still at least half of browsers are es5 and under...

  8. #178
    Sencha Premium Member
    Join Date
    Feb 2012
    Location
    Raleigh, NC
    Posts
    498
    Vote Rating
    452
    brian428 has a brilliant future brian428 has a brilliant future brian428 has a brilliant future brian428 has a brilliant future brian428 has a brilliant future brian428 has a brilliant future brian428 has a brilliant future brian428 has a brilliant future brian428 has a brilliant future brian428 has a brilliant future brian428 has a brilliant future

      0  

    Default

    I'm not sure what "how about now" means. If you're asking if you can write Ext JS apps using ES 6 classes...no. Or at least, not in any way that makes much sense. ES 6 class definitions are totally different than the Ext JS define() syntax.

    Altering the way classes are defined in the compiled JS might be possible using ES 7 decorators, but you'd need to use TypeScript to get support for that right now.

  9. #179
    Ext JS Premium Member
    Join Date
    May 2008
    Posts
    284
    Vote Rating
    188
    sg707 is a jewel in the rough sg707 is a jewel in the rough sg707 is a jewel in the rough sg707 is a jewel in the rough

      0  

    Default

    Quote Originally Posted by capn View Post
    how about now?

    i am using chrome and ecma 6 syntax like "let", "class", "const" are all working "out of the box"..

    is there a need for typescript now that ecma 6 is implemented in most browsers. I think there is need now for a "shim" to support es5 and below if es6 is used in any application, because probably still at least half of browsers are es5 and under...
    TypeScript is superset of ECMA 6. Also, it can transpile to ES3 to ES6 to support any browsers. If you write native ES6 then your supported browser will be a lot less. There are just many laundry list to over why TypeScript is good. I don't get why JS developers don't like the concept of 'compiler'. It lets you catch error before you run the code! For example, you passed a string to a function that only accepts number. It's a definitely a win in my case and it's no wonder why TypeScript is getting to be very popular. If you use any popular editor, it even shows the error with specific line w/ exact error message! Let say ES10 comes out, you can simply change the configuration to generate 'es10' w/ 0 code changes. It is truly the most compatible programming language. I'm about 99% sure that no one will write JS natively and depend on some type of transpiler language like Babel/TypeScript/Dart/etc... As of now, I would pick TypeScript

  10. #180
    Sencha User
    Join Date
    Nov 2008
    Posts
    54
    Vote Rating
    3
    capn is on a distinguished road

      1  

    Default

    I would not use either until the dust settles and one emerges as the clear winner. However, I am on a project now that lead developer using ecma6, so I have a bit of preview of what's to come now and in future..