How to tackle JavaScript powered dynamic form [closed] - javascript

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
I'm doing a hobbyist Django project. I feel comfrtable with both Python and Django, but I rarely use JavaScript, and mostly it ends after loading and initializing the library.
This time I want to tackle it a bit more, I have a good task, but I don't even know how to tackle it correctly.
I want to build something like this, with the main functionality being clicking on available statuses, and then 'painting' given hour blocks with them. After that you hit save, and it saves the data via Django
Conceptually I have an idea how to make this, but I don't know where to start. Should I use some kind of framework? Is there any plugin that could help me with this? Should I put this all into some kind of JS library?
Thanks in advance for any help

I've started knocking something up which is a good starter for 10 - have a look on JSFiddle. I can't do any more, as I've got to shoot off now.
I'd basically go for minimal markup, and have everything as a component.
I'd recommended including Bootstrap to handle your layout (grids), and jQuery to write less/do more with JS.
I wouldn't start with a framework - the thing you're doing is (fairly) noddy, and you'll do a fine job writing it yourself. You might want to check out jQuery UI to help out with some drag functionality.
General advice - read up about JS design patterns.
http://jsfiddle.net/daveSalomon/nxwytdqw/

Related

How To Obfuscate Javascript to Unreadable, but Valid [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 4 years ago.
Improve this question
I'm soon releasing my paid Electron application.
I have worked for many months on it now, and i need protection on my source code.
i have 2 files, 1. file 5000 lines, and 2. file around 4000 lines.
I need very good obfuscation on this, so it can't be read, and cant be cracked easily.
I'm willing to pay a little bit for a good obfuscator, if anyone knows any good ones that isn't free.
I have tried some different online javascript obfuscators, and most isn't very good, and is easily to read afterwards.
Thank you.
The short and sweet is: what you're looking for does not exist.
At its core, electron is very little but a repackaged webview executing javascript/html/css. The moment you execute your application, the said webview has to have full, concurrent access to the files required by it.
This means your code is there, open, unencrypted, and the only defense you have against somebody peeking is obfuscation. Which, let's admit one thing, falls short pretty quickly when the person digging into the code knows javascript.
If you were using a framework for your app that allowed purely native code, you could write a DRM-esque toolchain for it, but sadly, that's not even an option. Beyond uglifying your code and moving as much of it towards WASM as possible, there's no real other option, just compromises and trade-offs.

Front-End Website learning sources [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 5 years ago.
Improve this question
I've seen a lot of awesome websites from Awwwarrds ranking and trying to learn how they made their websites, all their effects are just wonderful and beautiful. But I have no clue how to do something similar, I understand this involves a lot of javascript. Is there somewhere on the internet I can learn how to achieve this? I only understand javascript to the part of using packages like JQuery.
For example what i saw.
I just want to know where I can learn the basic of this effects, and able to make something great as they can.Any recommend source?
I maybe a bit biased being newbie as well, but i found most useful resources for me are:
freecodecamp.org //Absolutely free, contains huge amount of topics
(HTML, CSS, Bootstrap, JS, JQuery etc, you name it)
eloquentjavascript.net //A book, well, actually THE book for me.
Covers almost everything needed to get started
You-Dont-Know-JS //Same as above, amazing read
I hope you will find something useful.

What JavaScript library can you recommend? [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 5 years ago.
Improve this question
I want to use JavaScript on my web page. In particular I would like to have a auto-completer (like stackoverflow use for tags). I also would like to have drop down menus and so on.
I think, for these purposes it make sense to use a JavaScript library (I never did it before). I browsed Internet the first option that I found was jQuery, I also found a list of other libraries.
So, I have a hard time choosing between these libraries and would like to ask your advise. My requirements to the library as as follow:
Of course cross-browser functionality (works on as many browsers as possible).
Easy to use (good documentation with examples + active community).
Possibility to change the code (corresponding copy right + good documentation of the code).
Thank you in advance for any help.
Go for jquery and jquery UI which contains a nice autocomplete plugin. It's a javascript framework which gathered lots of pace, there's an enormous community and it is very likely you will find a plugin for every needs. It is guaranteed to work cross browser and you get a great documentation.

Javascript library for dockable panels/tabs? [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
In the process of converting a .NET rich application to Javascript. One of the GUI features folks liked a lot was to rearrange their application layout. In .NET this was accomplished via Sandock:
http://www.divelements.com/net/controls/sanddock/screenshots.aspx
Anything like this for Javascript?
The closest I know to that is the javascript library ExtJS. I've used it in a few projects very successfully since it allows you to create rich Web UIs very similar to windows UIs (or widgets).
The learning curve can be a bit steep though if you aren't that familiar with javascript, however the community is quick to respond and helpful.
If ExtJS is not your cup of tea, there is a rather nice jquery port of the same concept.
Demos here:
http://layout.jquery-dev.net/demos.cfm (particularly this)
I needed this very thing, and did not find any to my liking so I decided to write my own. It is almost complete, but you can check it out here:
Edit: Still being developed actively, but fully functional now.
http://docker.webcabin.org/
If you are still looking for a javascript dock panel implmentation, I just created one myself. You can find it at https://github.com/developerDoug/HtmlJavascriptDockInVS2010

Looking for a web based, client side form editor [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 looking for a javascript library (could be based on jQuery) that will implement a client side Form Editor.
The perfect example is something like offered by http://wufoo.com/
You should play with their free version to get the feeling of what I'm trying to find.
Also see this example someone made with jQuery. it is very basic, but a step in the right direction.
Do you know of any jQuery plugin or library that will give me the full functionality of form editing?
I would recommend the awesome ExtJS framework to build such kind of application. Here's an example of what you can do.
ext/formbuilder
Add a form panel, then drop a textbox and so on...dead simple. Ext JS 2.2 and 3.0 (not yet ready) are LGPL and GPL licensed, you have also commercial subscriptions available, I think it worth to have a look at it.
Try the jQuery Form Builder plug-in from Botsko
I had the same problem and wrote one. Github link: SpiffForm.

Categories

Resources