PDA

View Full Version : Ext JS 7.0 Modern Fiddle examples



djbushby
21 Aug 2019, 5:01 AM
Hi all,

I am putting together some basic fiddle examples of Ext JS 7.0 Modern
https://github.com/classbasics/ExtJS7

If you have some working Ext JS 7.0 Modern Fiddle examples that I could include please give me the link.
Eventually I want a tutorial that integrates Ext JS 7.0 Modern, backend (e.g. AWS Amplify), etc.

Any suggestions welcome.

evant
21 Aug 2019, 5:31 AM
Any suggestions welcome.


Why Word documents? Create subdirectories in the repo and have the files as js files.

djbushby
21 Aug 2019, 1:21 PM
Thanks evant,

I made an initial change: fiddle description in README.md, link to fiddle, link to fiddle gitbug subfolder, comments in code, fiddle zip.
Is that okay?
Any other suggestions?

djbushby
22 Aug 2019, 5:43 AM
Thanks evant,

I made an initial change: fiddle description in README.md, link to fiddle, link to fiddle gitbug subfolder, comments in code, fiddle zip.
Is that okay?
Any other suggestions?

Hi evant,
I have changed https://github.com/classbasics/ExtJS7 to folders with javascript files and README.md as the index.
I was thinking of making fiddles based on the API folder structure (https://docs.sencha.com/extjs/7.0.0/modern/Ext.html).
Problems I have is that the docs quality varies, and my trial & error patience is limited:
Information and working fiddles: https://docs.sencha.com/extjs/7.0.0/modern/Ext.tab.Panel.html
One sentence information and non-working fiddle: https://docs.sencha.com/extjs/7.0.0/modern/Ext.menu.CheckItem.html
One sentence: https://docs.sencha.com/extjs/7.0.0/modern/Ext.app.bind.Multi.html
Any suggestions?
Damien

evant
22 Aug 2019, 7:40 AM
I'm not really sure what the goal is. There doesn't seem to be much of a pattern to the examples.

The code itself doesn't follow best practices, the indenting and code style also seems a bit random.

djbushby
22 Aug 2019, 1:26 PM
I'm not really sure what the goal is. There doesn't seem to be much of a pattern to the examples.

The code itself doesn't follow best practices, the indenting and code style also seems a bit random.

The first half a dozen fiddles were useful visual examples, but clearly are a random collection of ExtJs parts.

The goal is to have a system of fiddles to learn Ext JS 7 Modern, like chapters in a reference book, that can be followed from Chapter 1 (basics) to Chapter 999 (advanced), or can be looked up for examples (Chapter 133 for trees).
The excessive comments in the code are for newbies, not for best practice.
Indenting and code style needs a lot of improvement.
Any suggestions?