ExtJS license issue [closed] - javascript

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
We need to develop a project for a government organisation that needs a javascript dev library to build the front end.
Having exploring quite a bit options in the market, we decided to go for ExtJS library as it provides an abundant set of widgets and UI tools that come in handy and ready to use. We also identified there are two licenses, one for Open source and the other for commercial use.
We are unsure which license to go for for our project. The project is not-for-profit and the established website will be open for use by public (which means the ExtJS and our own codes will be open?). We are not going to modify any part of ExtJS library source code, only just to use it.
Please help. Thanks!
Alex

I don't think that qualifies as open source.
However you should really be directing this at Sencha company.

As far as I know, open source ExtJS is under GPLv3. In most cases, the code has to be published on request which normally Government will not allow that. However, some cases the exception may apply. For example, if you are contractor hired by government.
To ensure you have correct license, please contact extjs licensing at licensing#extjs.com
Normally,they will reply within 1-3 working days. I also had licensing issues before and they answered it in very details.

Related

How to publish a JavaScript function [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I have made a JavaScript function that I think could be useful to many people.
How would I do to "publish" it?
How can I make it as easy as possible for other people to include it in their projects?
(I'm not concerned about payment, licensing & such right now. If any, it should be free & permissive, although donations would be appreciated but not required).
For javascript I'd recommend creating an npm package and register it at npmjs.com
1. If you want just to publish it, do it in https://www.npmjs.com/.
2. If you want to store your code in a repository, where other people will be able to contribute and help you building your product, the most popular source control system is https://github.com/. More, you can set up your account to receive donations by other people and companies as well.
3. Next step(not a part of the question) is to automate the whole process of building, testing, deployment from your source control system(https://github.com/ ) to the javascript packages storage(https://www.npmjs.com/) using CI/CD(continuous integration/continuous delivery) tools(e.g. https://jenkins.io/).
There are many ways in which you can do that. For the simpler stuff, you can use Pastebin (https://pastebin.com/) or CodePen (https://codepen.io/) for instance. You can also create a project on GitHub (https://github.com/) or publish a package over at NPM (https://www.npmjs.com/, https://docs.npmjs.com/cli/publish), either of these two being a must for a bigger library.
Also make sure to properly document your code and make it ease to find.

HTML/JS site templates? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I'm a PHP programmer that was just hired to write an interactive ipad app whose requirements are basically that it be a website. So I started setting up to develop a website when I found out that my employer's server has been lobotomized: no dynamic languages, the only things I'm allowed to code with are HTML and JavaScript.
AJAX and jQuery are still in, but as far as I can tell they won't have a server-side language to back them up. If I have an urgent and compelling reason to have an active language, I might be able to convince the senior web guy to give me an exception, but I don't think my project qualifies as urgent or compelling by about two orders of magnitude.
My question then, is what sort of labor-saving devices are out there for HTML/JS only sites? I would have liked to use something like Drupal. Would I be better off writing the whole thing in XCode?
The site will display information regarding a number of historical artifacts in the possession of the library that is my employer.
It would help if you were more specific about your needs (the kinds of things you do in PHP that you don't know how to do with just HTML/JS), but I think I know what you're getting at.
If the site isn't too complicated, a good client-side templating engine is probably what you're looking for. Handlebars.js is a popular choice, but there are tons to choose from. I prefer to use client-jade, but it doesn't matter much. The idea is to define a template (e.g. for displaying one historical artifact), then iterate over an array of data that describes all the artifacts in the library, rendering each element of the array into some pretty-looking DOM with your template.
If you need something more sophisticated than that, you might want a client-side MVC framework like Backbone.js (lightweight, easier to learn, less opinionated) or Angular.js (heavier, harder to learn, very opinionated).
If the labor you're trying to save yourself from doing is styling work, you might want to check out twitter bootstrap (or similar frameworks like foundation). Bootstrap makes it easy to create good-looking navbars, make column-based layouts, and ensure that your site looks good across different browsers and devices.

Does Modernizr brings bad programming practises in web development? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
There are a lot of "buts" in approaches to web development. Recently I've read an article
why not to use Twitter bootstrap. One of the reasons were that it doesn’t follow best practices. Well I don't want to discuss about TB. What I wanna know is how is it with Modernizr - it looks like that has a lot of advantages, but what about dissadvantages? Is that also redeemed by using bad programming practises on web (like these mentioned in twitter bootstrap)?
By good practices I mean ideas which are connected with Html5 and CSS => this is not opinion based question - I'm basicly asking if Modernizr is in contrary with these ideas.
Modernizr itself tries to follow best practices as best as possible, however there are a few things that it does that aren't necessarily "best practice"
it basically requires being loading in the <head>. Since one of the main uses of Modernizr is the css classes that are added, you actually want it to block the rendering of the page until after it has ran. If you load it in the bottom of the page (which is the "best practice" for javascript, generally) and rely on the classes it provides, you would see a flicker between the non-support and support versions of your styles as it runs.
It can be heavy. There are ongoing discussions on the github issue tracker about how we can improve the execution time of the library, as well as new preposed updates to the lib that would group tests to increase speed
Not only that, but it can be used poorly. One of the most common issues is that people deploy their public website with the debug build of Modernizr - the one that includes ALL of the tests. This means running very large amount of javascript that never impacts your site.
Other than that, modernizr tries very hard to help define best practices, let alone just follow them. If you ever find there is any issue what so ever, I would really encourage you to open up an issue on the github repo to help us move the internet forward.

In my web site I changed a javascript file but if I view the source of the page there is still the old file [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I modified the javascript file and updated it in my server via FTP.
The problem is that even if i deleted from my browser all the cache I still see the old file.js!
Both javascript file have the same file name. I think if i change the name it will work but I don't want to change the name...
How to fix this?
Try adding a "?version=value" to your request, like this:
<script src="myfile.js?v=1.0"></script>
A good approach to handle this type of caching problem is versioning the resource file.
In your case you can update file version like yourFile-1.2.js
and point the updated file
<script type="text/javascript" src="yourFile-1.2.js"></script>
Thanks for the solution with the version, but the problem wasn't solved beacuse of my hosting provider.
In the last 24 hours I received an email about a new FREE cool feature for my website that was activated automatically: CloudFlare.
This cool feature started caching my website so today for the first time from that email I modified my web site and I got the problem.
Found the solution in the FAQ of my web hosting provider. I activated, in the new cool feature, the developer mode.
So now I can live happy :)
Again, thanks for your informations. Could be useful to me in the future!
P.S. This new COOOOOOOOOL feature was the result of a new partnership between Altervista (my hosting service provider) and CloudFlare.

What JavaScript Repository should I use? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Many languages have standard repositories where people donate useful libraries that they want others to have access to. For instance Perl has CPAN, PHP has PEAR, Ruby has RubyGems, and so on. What is the best option for JavaScript?
I ask because a few months ago I ported Statistics::Distributions from Perl to JavaScript. (When I say ported I mean, "Ran text substitutions, fixed a few things by hand." I did not rewrite it.) Since I've used this module a number of times in Perl, I figure that statistics-distributions.js is likely to be useful to someone. So I've put it under the same open source license as the original (your choice of the GPL or the Artistic License). But I have no idea where to put it so that people who might want it are likely to find it.
It doesn't fit into any sort of framework. It is just a standalone library that gives you the ability to calculate a number of useful statistics distributions to 5 digits of accuracy. In JavaScript.
JSAN (JavaScript Archive Network) sounds like the kind of thing you're looking for, but I've never personally used anything from it apart from Test.Builder.
As long as your JavaScript can be dropped in to people's projects without polluting the global namespace or doing things which are liable to cause breakage in other people's code (adding to Object.prototype, for example) I would just stick it somewhere like Google Code as already suggested.
There is no centralized repository for JavaScript. JS Libraries usually have their own plugin-repositories, but for stand-alone scripts, The best way to promote it is to send it to famous website such as ajaxian or mashable
AFAIK, there is no central JavaScript repository, but you might have success promoting it on Snipplr or as a project on Google Code.
You could start a project on SourceForge to contain useful snippets of code like this (or google for snippets to find one).
Perl, Ruby, PHP, etc all have distribution mechanisms built into the language to consume such libraries.
There's not such a thing built into JS.
There are tons of script archives out there - but no "central" JS repo.
Consider packaging it up as a plugin for one of the major Javascript libraries such as jQuery - see http://docs.jquery.com/Plugins/Authoring for more details. This way it can be included on their plugin page which will get it good exposure as they have a huge developer base and it'll be one of their first ports of call when a need arises for such functionality.
Whilst jQuery is one of the most popular frameworks (if not the most) out there, there are a host if other libraries you could consider using in addition to/instead of it.

Categories