fyi VS Code uses Electron to make the web stack available as a desktop app but the editor part is Microsoft's Monaco editor.
cool, thanks!
fyi VS Code uses Electron to make the web stack available as a desktop app but the editor part is Microsoft's Monaco editor.
Don't know if this the best place to ask, but has anyone of you experience with development on a 34" Ultra Wide curved 21:9 monitor?
I want to get rid of my dual 24" monitor setup and consider one of these or a "normal" 24/27" 4k screen.
How is Sketch for the initial design phase? I usually just do quick layouts for clients in Illustrator for the first run, then fine tune once I start building the approved design.
Any good Sketch tutorials you guys would recommend?
Any suggested reading for anything/everything ASPNet Core MVC w/ AngularJS?
Really, I'm at a loss as to why you would include AngularJS in the stack when aspnet core seems capable of handling everything. The reasons across the web seem to mostly be "JavaScript is awesome" and "Because you can". I've been doing JS for a very long time, including MEANjs, jQuery, etc.. so I'm not against JS or anything at all, I'm a huge proponent of it. But mixing languages/frameworks isn't something I'd consider lightly.
The only valid reason I've seen so far is that Razor is ugly, and Angular provides a better option for views (syntax-wise).
The reason is because angular wants to use server-side rendering with angular universal. Angular take its templates and compiles them down into optimized javascript functions. If you don't do that on the server then you have to ship the angular compiler to the client which is a giant nasty blob of javascript and will easily cost you over a second of load time. So instead, you want the templates to be pre-compiled server-side via the angular compiler and you won't be using razor anymore.
Well the question really is, why not just use aspnet core mvc by itself? Answers I'm seeing are along the lines of "I like JavaScript"..
I get it, AngularJS is back-end independent and is a client-side framework. Thus, as an AngularJS developer, you seek out a back-end. NodeJS w/ Express is a valid backend, much more so because it's JavaScript on both ends. But why would a AngularJS developer choose aspnet core mvc? I could see valid answers such as- I need Windows Authentications, I have lots of Windows users and Active Directory, and I have existing SQL server DBs to use, etc.. so I need a back-end framework that is mature in the Windows world. That is implying that NodeJS modules that provide similar functionality are not as mature as their dotnet core counterparts.
Because they work in a Microsoft stack mostly. .NET core doesn't offer anything the average node.js dev doesn't already have, but it is a more familiar transition to devs who have worked in .NET MVC and devs/businesses that prefer to, either because of tradition or MS incentivises them to.
MS backed angular because it needs a horse in the front-end frameworks. Very few people build front-end javascript without one so they had to start setting a standard. Angular's project structure is not too different from something you'd see in .NET and typescript enhances that. But mainly it doesn't have "Can't sue Facebook agreements" that React has and vue/meteor/ember/etc are not popular. So MS strongly pushes it as a default.
I think Angular might have been an early fw that MSFT supported, likely due to the inclusion of TypeScript for ng2. But MSFT has support for ng2, react, react+redux, vue, knockout, and aurelia when it comes to using a front-end framework with aspnet core -- https://github.com/aspnet/JavaScriptServices/tree/dev/templates This is an official msft repo that maintains JavaScript frameworks + aspnet core generators.
Any good resources on how to link a database (in MongoDB or mySQL or something) to a simple web form and having that form submit data to the database? Want to do it as a side project to put on Github.
Any good resources on how to link a database (in MongoDB or mySQL or something) to a simple web form and having that form submit data to the database? Want to do it as a side project to put on Github.
mongo db and most other document/No SQL databases usually have documentation and "getting started" tutorials on how to do just that covering various popular frameworks.
Firebase is fun, powerful and easy to use with React and Angular, for example, I would recommend looking into it.
Otherwise it'll depend on your server stack. What are you using?
<script type="text/javascript">
function goToPage() {
var page = document.getElementById('page').value;
window.location = "http://tickrz.com/" + page;
}
</script>
<input type="text" id="page" />
<input type="submit" value="submit" onclick="goToPage();" />
Hello,
I need something easy to be made, but I'm just drawing a blank.
Basically I want a simple form where the user enters a text string and then that string is added to the domain name and voila that's the url they go to when they hit GO.
www.website.com/ [ ENTER SLUG ] [ GO BUTTON ]
I will send $30 via paypal
Edit: figured it out
Code:<script type="text/javascript"> function goToPage() { var page = document.getElementById('page').value; window.location = "http://tickrz.com/" + page; } </script> <input type="text" id="page" /> <input type="submit" value="submit" onclick="goToPage();" />
Hello,
I need something easy to be made, but I'm just drawing a blank.
Basically I want a simple form where the user enters a text string and then that string is added to the domain name and voila that's the url they go to when they hit GO.
www.website.com/ [ ENTER SLUG ] [ GO BUTTON ]
I will send $30 via paypal
Edit: figured it out
Code:<script type="text/javascript"> function goToPage() { var page = document.getElementById('page').value; window.location = "http://tickrz.com/" + page; } </script> <input type="text" id="page" /> <input type="submit" value="submit" onclick="goToPage();" />
XMLHttpRequest cannot load https://www.creativedigitalcareers.co.uk/js/vendor/extensions/revolution.extension.layeranimation.min.js?version=5.4.1. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://creativedigitalcareers.co.uk' is therefore not allowed access.
XMLHttpRequest cannot load https://www.creativedigitalcareers.co.uk/js/vendor/extensions/revolution.extension.navigation.min.js?version=5.4.1. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://creativedigitalcareers.co.uk' is therefore not allowed access.
XMLHttpRequest cannot load https://www.creativedigitalcareers.co.uk/js/vendor/extensions/revolution.extension.slideanims.min.js?version=5.4.1. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://creativedigitalcareers.co.uk' is therefore not allowed access.
This is a weird way to navigate.
There's an address bar at the top of your browser that allows for the same functionality and behavior.
I love mine. 1440p is what I was used to with my previous Dell 27", and the extra horizontal means I have sooo much more real estate for my IDE's.
I could never go back. 4K is good, but in order to match the horizontal screen space it would have to be TV sized.
Great for gaming too
Thanks. I'm a little concerned about how to actually use all the screen space tbh.
My code is about max 120 chars wide anyway, so I don't really need that much more for that. And splitting the screen means I have to look at the sides of this wide screen all the time.
Additionally the good ones are really expensive, I'll think about it.
Right now the Dell 24" 4k is my favorite. I'm fine with my non 4k 24"s screen real estate wise, but cant stand the fucking blurry text an anymore.
Ok so I am looking to get a domain and host. Some say to only get the domain and not host, anyone agree with that or what?
Depends entirely on what you're trying to do. If you're just trying to host your portfolio or frontend only website then get a domain name and use GitHub pages as the host for free.
If you need a database, periodic tasks to be run, etc then get a $5/10 Digital Ocean droplet in addition to the domain name IMO.
Yea I am just trying to get my portfolio up, I am a designer mainly but it doesn't matter in this case right? What exactly is github? Should I still go that route even if I am a designer?
<form onsubmit="return false" oninput="document.getElementById('z').innerHTML = Math.round((8.179 * Math.pow(1 + parseFloat(document.getElementById('y').value),1) / Math.pow((1 + parseFloat(document.getElementById('x').value)),1) + 8.179 * Math.pow(1 + parseFloat(document.getElementById('y').value),2) / Math.pow((1 + parseFloat(document.getElementById('x').value)),2) + 8.179 * Math.pow(1 + parseFloat(document.getElementById('y').value),3) / Math.pow((1 + parseFloat(document.getElementById('x').value)),3) + 8.179 * Math.pow(1 + parseFloat(document.getElementById('y').value),4) / Math.pow((1 + parseFloat(document.getElementById('x').value)),4) + (8.179 * Math.pow(1 + parseFloat(document.getElementById('y').value),5) / (parseFloat(document.getElementById('x').value) - parseFloat(document.getElementById('v').value)) ) / Math.pow((1 + parseFloat(document.getElementById('x').value)),5)) * 100) / 100;">
DISCOUNT RATE <input name="x" id="x" value="0.09" type="number" step="0.001" min="0">
NEAR TERM GROWTH RATE <input name="y" id="y" value="0.03" type="number" step=".005">
LONG TERM GROWTH RATE <input name="v" id="v" value="0.03" type="number" step=".005">
VALUE <output name="z" id="z" for="a b"></output>
</form>
When I'm changing the stuff inside a web form (using <form>) that is javascript?
Cool!
<script>
function doYadaYada() {
document.yada...
document.yadayada..
}
</script>
<form oninput='doYadaYada()'>
`oninput` is a global attribute that you can use on any element. it's an event handler that is raised when something is input into it. It executes JavaScript. You could move all of that JS code into a script tag and format it so it's easier to manage and read, then execute it in the oninput event.
For example, instead of <form oninput="document.yada yada.....">
You might do,
https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/oninput
Does anyone have any experience designing HTML 5 animated banner ads? They seem interesting and I already have some After Effects experience and I've gathered many examples.
Hoping that with my basic HTML experience, I could get something nice done.
GitHub is a place to host code. Github Pages is a service that GitHub offers that lets you host web pages for free essentially. I don't necessarily think it's a bad route to go but there are probably much easier routes for designers that I'm not familiar with, hopefully someone else can chime in.
How did you build your site? I think the real thing to take away is that you need to buy a domain but you probably don't need to pay for hosting... there are lots of free options.
I'm scared that visual studio code is making me a Lazy Dev . It's a bit too easy once you've installed the relevant plugins.
There needs to be a warning for beginner Devs to stay the fuck away, they won't learn a thing.
I think it's much more dangerous, that no one knows how Javascript works under the hood these days.
Ask a developer who started building JS with ES6 what a prototype does... good luck fixing funny errors in classes
Yea I am just trying to get my portfolio up, I am a designer mainly but it doesn't matter in this case right? What exactly is github? Should I still go that route even if I am a designer?
Please elaborate, cause anythign that makes development work easier is a good thing, IMHO.
Don't get me wrong, I'm able to develop websites much quicker using it but you're literally typing 2 words and it's then writing lines and lines of code for you. The up side is the fact that I can get the basic skeleton of a whole website created in minutes, add my own classes and then get to work on the CSS/JS/PHP quicker. But on the flip side, I can imagine if you didn't have a clue about this stuff and learnt only using VS code extensions then you wouldn't have a clue what any of really meant and how it works.
I'm a believer that it's important to understand why your code is doing the things it's doing and the best way to do that is through coding from scratch, experimentation, making mistakes and generally getting your hands dirty.
So for experienced developers this is great but I can't help but feel that if I used it all the time there is the potential to become reliant on it and get a bit "rusty" so to speak. As such, I will switch it up. If I need to get something done quickly for a client then I will use VS Code and all the extensions I have installed but if it's a personal project or I'm learning a new API then back I go to trusty sublime text.
Easier ≠ Better.
What extensions are you using?
I don't, but am interested in the answers.
Are they mostly CSS driven now a days or canvas?
What extensions are you using?