JavaScript

121K

Solutions

42K

Contributors

JavaScript is a dynamic, object-based language commonly used for client-side scripting in web browsers. Recently, server side JavaScript frameworks have also emerged. JavaScript runs on nearly every operating system and  in almost every mainstream web browser.

Share tech news, updates, or what's on your mind.

Sign up to Post

React vs Angular, which one is more popular among JavaScript developers? https://goo.gl/7ew4W4 #React #Angularjs #Webdevelopment #Framework #Javascript
0
Become a Microsoft Certified Solutions Expert
LVL 12
Become a Microsoft Certified Solutions Expert

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

search browser cache
0
25 development practices our NodeJS developers follow

Node.js, a JavaScript runtime built on Google V8 JavaScript engine employs an event-driven, non-blocking I/O model that makes way for lightweight and efficient web applications. This blog introduces you to some 25 of best of its practices.
Read more : https://goo.gl/yKZmu2
1
0
Why Is Node.js the Best Framework for App Development?

Node.js makes use of JavaScript; which the most popular programming languages of today. For a very long time now, companies have embraced Node.js app development as it helps companies promote their apps in a short span of time. Node.Js framework is a brilliant tool whenever you want to design server-side web applications in JavaScript. There are several advantages when it comes to using Node.js for App development. It is one of the most popular and modernized frameworks preferred by developers for building easy to market web apps.
Why-Is-Node.js-the-Best-Framework-fo.png
1
0
0
function $(def){
	try{
		if(def.charAt(0) == "#"){
			return document.getElementById(def.replace("#",""))
		}else if(def.charAt(0) == "."){
			return document.getElementsByClassName(def.replace(".",""))
		}else if(def.charAt(0) == "@"){
			return document.getElementsByTagName(def.replace("@",""))
		}else if(def.charAt(0) != "#" && def.charAt(0) != "."){
			console.error("bad define with >>> " + def)
		}
	}catch(err){
		console.error(err)
	}
}
HTMLElement.prototype.text = function(str){
	this.innerHTML = str
}
HTMLElement.prototype.click= function(eve){
	this.addEventListener("click",function(){
		setTimeout(eve,0)
	})
}
function keyevent(key,eve){
	try{
	if(key.charAt(0) == "@"){
		window.addEventListener("keydown",function(){
			if(event.code == key.replace("@","")){
				setTimeout(eve,0)
			}
		})
	}else if(key.charAt(0) == "#"){
		window.addEventListener("keyup",function(){
			if(event.code == key.replace("#","")){
				setTimeout(eve,0)
			}
		})
	}else if(key.charAt(0) == "."){
		window.addEventListener("keypress",function(){
			if(event.code == key.replace(".","")){
				setTimeout(eve,0)
			}
		})
	}
	}catch(err){
		console.error(err)
	}
}

Open in new window

i made something like jquery
the using like almost like jquery
$("") for define the Elements use the dot for classes and # for id and @ for tags
and click method to make click event Ex.. > element.click(function(){//code here})
and text() like jquery edit the innerHTML value
keyevent to do event with press key and upkey and downkey
use the @ for keydown
use the # for keyup
use the . for keypress
and more coming

who can help me to add cool ideas

0
More on the two "villians" too. It has a nice description, not overly technical (though inevitable at times) for understanding. Crux of it is remediation is really for CPU vendors to issue firmware updates to protect against these attacks. The OS and affected vendor will "support" with their release to reduce the attack surface or make it harder to exploit.

Unfortunately, there are no software patches or operating system mitigations that can fully mitigate the impacts of the Spectre attacks and the flaws being abused. Only saving grace is browser vendors have begun updating their browsers to disable certain features which make the Spectre attack feasible via JavaScript. If really paranoid, back to basic to disable active scripting like Javascript.

https://research.kudelskisecurity.com/2018/01/04/meltdown-spectre-attacks-on-cpu-flaws/
1
LVL 50

Expert Comment

by:dbrunton
I think the microcode patches will come through the system vendor, Dell, HP etc etc.  Intel will probably supply them with the patches to distribute.

As for the lawsuits that will be interesting.  Unless it can be proven that there is a significant slowdown those lawsuits will go nowhere.  And at this stage there is no real evidence of that.  The most likely candidates will be those who run VM instances in the cloud and we'll need to wait for those to occur.

It will be a pity if the lawsuits don't succeed because I'd love a new Core 2 Quad processor replacement ...
0
LVL 67

Author Comment

by:btan
Agree. Nice.
0
Python 3 Fundamentals
LVL 12
Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

I want study
0
LVL 8

Expert Comment

by:Flabio Gates
Do you want to learn javascript? Then better change your post to a question.
Then you can have a look here which lists lots of resources.
0
2
Oh, here's another technology I'd like to learn: Google Apps Scripting. There's a lot of common things I do with Google Docs & Sheets on a regular basis and being able to automate some of it seems pretty handy. I know EE has a ton of great stuff about VBA scripting for Excel, Word, and such, but I mostly work in Google Apps and I've had no info at all about scripting for those products. (I honestly expected the Google apps might not have been mature enough to support scripting, but I was completely wrong about that!)

Just looked up Google's documentation site for it, and the whole thing is based on JavaScript (I'm not good at JavaScript, but I'm at least familiar with some basics). That also means I've got plenty of experts in-office and on the site for when I need help :-)

Will have to start experimenting with it this weekend!
1
3
LVL 5

Expert Comment

by:Juana Villa
Mind blowing!
0
Used jquery ui sortable function for the first time this week. It was really easy to create a drag and drop list and serializing the order to save in a database was really easy. Not sure why I hadn't tried to use it before.
5
1
3
LVL 7

Expert Comment

by:Brian Matis
Ha! Seems like that can make for a pretty interesting way to get a deeper dive into the language's idiosyncrasies and behaviors that someone could easily overlook.
0
The other day Rourke told me about a game called Screeps where you code your AI units in Javascript. I'm surprised I haven't heard about these types of games before! The reviews say there's a barrier to entry for novice programmers but hopefully that won't scare too many off.
9
LVL 8

Expert Comment

by:Craig Kehler
That is great. So who is building a private EE server? :)
3
LVL 7

Expert Comment

by:Brian Matis
I love that idea Craig!
0
Become a CompTIA Certified Healthcare IT Tech
LVL 12
Become a CompTIA Certified Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

1
This looks like an interesting way to build a javascript application without introducing framework library dependency hell. I definitely plan to give it a try.
4
LVL 2

Expert Comment

by:Michael Arciniega
Seems like it would also pair well with micro libraries from http://microjs.com/.
1
LVL 12

Author Comment

by:Brandon Lyon
Yeah that's probably a good pairing
0
I've started hacking together a project in Typescript and now I keep thinking my Sublime linter is broken when I open a regular js file. Static checking ftw.
1
LVL 2

Author Comment

by:Michael Arciniega
I'm building the project with a MEAN stack and that's what the new Angular prefers to use. As I'm getting familiar with the stack its been really nice having it catch simple type mismatches and broken dependencies before I even deploy it in the local container.
0
LVL 2

Author Comment

by:Michael Arciniega
Unfortunately even the best tooling won't save you from spending two hours debugging a database issue before realizing you meant to do a POST instead of a GET....
1
This is an amazingly simply way to make an Electron desktop application from a webpage. I love it :D
3
LVL 7

Expert Comment

by:Brian Matis
And I wonder if it works with browser notifications? Those notifs can be pretty handy for something like Hipchat.
0
LVL 12

Author Comment

by:Brandon Lyon
Electron has a notifications API so it could probably work if one decided to add that. I can't tell if Nativifier does that or not and I haven't tried yet.
1
Using a WebRTC data channel it's possible for a mobile device to peer share content similar to torrents. This is an interesting approach for scaling user generated content in mobile apps and on the web.
2
3
LVL 7

Expert Comment

by:Mikkel Sandberg
That's good stuff. Had to go back and watch the videos on functors though :P But he's entertaining and explains things well :)
2

JavaScript

121K

Solutions

42K

Contributors

JavaScript is a dynamic, object-based language commonly used for client-side scripting in web browsers. Recently, server side JavaScript frameworks have also emerged. JavaScript runs on nearly every operating system and  in almost every mainstream web browser.