Most reliable JSON viewer/editor module for AngularJS - json

I now need to add a feature on the app I'm building a json editor. I would like to know which module have you tried before that you think is stable and worked really well.
The source data is already in json format which I receive from an API call. I already have a button which will call $scope.viewJson() but I'm still missing which json editor module I should use. I saw this today but not sure if there is another few ones that are better - https://github.com/rodikh/angular-json-editor

I'm the author of https://github.com/rodikh/angular-json-editor.
It's basically a directive wrapper for jdorn's json-editor. His project is very popular and in active development. Both it, and my wrapper are safe to use.
If you have any feature requests or issues with my wrapper, feel free to submit an issue on github and I'll try my best to resolve them.

The best one (to my mind, but anyone is free to disagree my opinion) is formly
formly site
formly github
formly documentation
PROS :
complete (you can make beautiful and unique forms : templates are some kind like unlimited)
well documented
easy to implement
CONS :
you have to design your own builder (it is not a problem to my mind)

i know this question is old.. but i was looking for this for quite for some time.
and i found this editor 's tutorial: Ace builds
Ace builds tutorial
i found maximum above editor unmaintained.
you can check its github repo here
ace build GitHub repo
i hope it saves someone's time.

Related

Integrated EJabberd Login with existing Script1

I have quiet decent knowledge how to use Ejabberd. Have used a lot with Smack Library for android so am quiet comfortable as a user. However I face use case that I have not faced before.
There exists as system with its users and login interfaces both using forms and another using API. Now I need to integrate it with ejabberd. The most common and documented way is to use ejabberd OAuth2 but now am supposed to do the opposite.
Reading the docs the best I found is this link talking about external script. However there are no enough information to help build something. Linked examples are old and links are dead.
Can anyone help me get into right direction with external script login? I would prefer PHP based solution but any other language will help.
However there are no enough information to help build something.
Brief protocol description, and example in Python:
https://docs.ejabberd.im/developer/guide/#external
Perl example included with ejabberd. Notice this file was last modified 11 years ago, and it still works correctly:
https://github.com/processone/ejabberd/tree/master/examples/extauth
Linked examples are old and links are dead.
Right, those other examples are very old too, but they could work (as long as you can get them, and use the ancient language versions they used):
https://ejabberd.im/extauth
Why are those so old? Because that page has not been updated since years ago (back when git was not yet mainstream). Quite probably, if you search, you may find other examples.

How to implement labelImg function on the web browser

i am using labelImg tool for a graphical image annotation.
But for our education site, we would like to add this function of a graphical image annotation like labelImg into our web service.
https://github.com/tzutalin/labelImg
So Can we make labelling tool for data preparation for training on our website as one of function of data training?
Anyone have any idea concerned with this?
Ryan.
Labelimg is a desktop app that uses Qt for its UI. There exists solutions to run Qt in a Browser. See for example the solutions for Running Qt over the Web.
Otherwise I would recommend to explore other web-based tools for image annotation, e.g., the Computer Vision Annotation Tool (CVAT).
I hope you succeed in your endeavor.
To previous flags/deletion of my answer: As per Stackoverflow's code of conduct I did "make sure my answer provides at least a viable alternative. The answer can be “don’t do that”, but it should also include “try this instead”. Any answer that gets the asker going in the right direction is helpful". Please comment with further explanation why this is not a valid answer. Many thanks and all the best.

Not sure about the way to approach to the IndexDB API and wrapper libraries?

I have started a crash course of IndexDB API. I have heard from the author that the API is a little bit confusing. Primarily, as we have been working with the promise pattern as this API doesn’t use this pattern. Secondary, there are different wrappers, one of them seems is from Github author’s personal library so I suppose he have created it.
However looking for a different flavor, I found this one: http://dexie.org/. Also supports the Promise pattern. See http://dexie.org/docs/Promise/Promise, http://dexie.org/docs/API-Reference#query-items . It seems “promising”.
Also I found that the IndexDB 2.0 API was created post the video time. It is already being supported since beginning of 2017. From a Mozilla developer, I found since Firefox 51 (Jan 2017) it is already there. And he wrote what’s the differences among 1 and 2 versions https://hacks.mozilla.org/2016/10/whats-new-in-indexeddb-2-0/
So my question is if at this point is better to use the wrapper libraries or to use the native IndexDB API in terms of cross-browsing and support and better practices?
It all depends on what you want to do with indexeddb -
If you are learning indexeddb for your interest or for knowledge then you should go for plain indexeddb. Learn and research as much you can, because it has too many apis and you will have to write code for every type of situation.
You want to use indexeddb in your project and dont have much time to explore indexeddb. You only want to do some database operations and release your project. In this case - you should go for indexedd library. This way you dont need to worry about indexeddb code . You will just write simple code using the library.
For instance : check out this article - https://dzone.com/articles/crud-operation-in-indexeddb-using-jsstore. How a library makes indexeddb so easy.
Hope this will help you.

jQMobi documentation mirror

Just got started and running with jqMobi, which is now called 'intel's application framework' (cheesy name eh)
Along with intel's porting to their new site, they forgot to put the full docs online (at least I can't find it). Now there's only minimal documentation, like the getting started. I'd like to get on with it.
Anyone knows where the (full) docs are hosted? I really hate to go look for another framework again.
The documentation is all there. The only thing they did not add was the "testdrive", which is just the kitchen sink sample found in github
In my opinion the docs are somewhat scattered, but there's some helpful stuff if you can find it. I keep bookmarks for these links. There are some links from those that get you to more stuff.
http://html5dev-software.intel.com/documentation/jqmobiapis/index.html
http://app-framework-software.intel.com/documentation.php?r=9057
http://developer.html5dev-software.intel.com/
http://www.html5dev-software.intel.com/documentation/
Actually they split off where appMobi is a cloud services company to support apps, and Intel took the part to build the apps. So you may still need/want appMobi. Their docs are on their site of course. There is still some duplication on the appMobi site.
Technically I don't think jqMobi is the same thing as the Intel App Framework, but at the same time I have a hard time understanding what's called what anymore. I'm sure they'll clear this up over time. I hope they find names that can be useful tags on stackoverflow.com!

How to use oAuth with ActionScript 3.0?

I came across this oAuth library for ActionScript 3.0. http://code.google.com/p/oauth-as3/
It seems to have all that you need to do oAuth, but I can't make heads or tails of it. I've never worked with oAuth (or any authentication..) before and am not really sure how to use it. I can't find any examples of this specific library, or any in general concerning oAuth and AS3.
Would anyone mind walking me through (or directing me to a tutorial) concerning how to use oAuth to interact with Web API's? Specifically I'm looking for ActionScript 3.0 interacting with Twitter.
Any help is much appreciated!
I don't usually like to post answers that just contain links but unfortunately, given the nature of the question and thus the answer, I think it's about the only choice here.
First I just want to say, try harder with googling next time. Many results came up first try.
Second, there seems to be two google code repositories for this. Just in case you're interested, here is a link to the second one (you provided a link to the first) http://code.google.com/p/oauthas3/. This repository has code which is newer than the repo you referenced.
Third, here are some links to articles/tutorials about this library which should provide all the help you've requested:
http://soenkerohde.com/2010/01/twitter-as3-oauth-lib-with-flex-4-example/
http://www.iotashan.com/index.php/2008/04/28/oauth-actionscript-library/
Note also this question and answer here on stackoverflow: Pinless OAuth on Adobe AIR for Android. It has some code and discussion about the library, so I've referenced it here as well.