Posts

Showing posts with the label nodejs

Why Unemployed Software developers are a cyber security threat?

Image
Software exists to make things we want to repeat -- in the exact same manner, time after time -- easy to access. When I press the “W” key, I expect a bunch of pixels to be placed on the screen in the shape of a W. I want this response to occur every time. Letters are then organized into words, then into sentences and then Microsoft Word. All highly stable, repeatable methods that are tried and true, wrapped in a user interface (UI) that makes it easy to access every repeatable routine. Even the way in which change is made is very slow, thoroughly tested and primarily focused on stability over the speed of change. It is all well and good to enable blue text, but it would be terrible if pressing the keys for a blue W outputted a Z. None of these aspects describe anything in cybersecurity. Cybersecurity is warfare, strike and counterstrike. It's chaotic and continuously changing. Products = Stable, repeatable methods Enterprise = Optimized, stable operations Cy

Lesson to learn from deadly seven sins in Software development

Image
The 7 deadly sins were a grouping and classification of vices within Christian teachings. Behaviors and habits were classified in here if they directly gave birth to other immoralities. The 7 deadly sins were considered to be the polar opposites of the 7 virtues and were thought to be abuses or excessive versions of one’s natural tendencies. For instance, gluttony is an excess of the desire to eat. In addition to the 7 deadly sins of modern times, there are two other historical deadly sins (Acedia and vainglory) that have analogs in software development that are interesting enough to cover. “These came about in a time where the average person couldn’t read.” This classification system originated with the desert fathers, especially Evagrius Ponticus. They were brought to Europe by John Cassian (who wrote The Institutes), where it became fundamental to Catholic confession practices. The same ideas were later featured in literature like The Parson’s Tale from Chaucer’s Canterbury Tale

Taking on Python as your favorite programming llanguage

Image
A realistic roadmap to becoming a Python developer This is a highly opinionated, pseudo-motivational, unconventional and almost rant-like developer roadmap article. This article is more than a compilation of best books/videos/courses to learn Python and covers the bigger issues that a beginner/early-intermediate faces on their journey. These are the undocumented problems Stack Overflow does not solve. Why Python ? Why should you learn Python anyway? Why not one of the 20 other languages trending right now? As you’re beginning your journey, this questions crops up multiple times (a day). Picking your first programming language is a lot like picking a starter pokemon. The inherent capabilities of a language are less significant than the skill of the programmer in using said language and their grit to make it into the big league. If you want to start with a different language, do yourself a favor and stop reading this article. You’ll hav

Software Development using a Framework

Image
Which framework should I learn: Django or Node.js? Why? GO WITH DJANGO!!! I'll tell you why... 1)DAMN EASY SYNTAX:  You know Python. You know how easy the syntax is. It's a lot easy than JavaScript. The code readability is also way too easy. It looks clean, making it easier to debug and find mistakes. Look, if you know Python, you know Django. Once you get used to the Python's Object Oriented Programming and using functions, Django becomes way more easy to learn and understand. 2)Django is POWERFUL:  The power of Django cannot be expressed in words, seriously. It can do things, which you can't even think of. Once you start using Django, I bet you'll recall my statement. "IT IS POWERFUL". 3)It's SECURED!:  By default, it prevents most common security threats. XSS (cross-site scripting) protection  — Django template system by default escapes variables, unless they are explicitly marked as safe. CSRF (cross site request forger

Pagination with Javascript and MongoDB

Image
Create Pagination with Node.js, MongoDB, Express and EJS Step by Step from Scratch Suppose we have a collection contains many of data (products for instance) and we need to view all on website. We can just output products on page but this looks not so clean. In such cases we need a pagination. In this article I’ll tell about how to make pagination using Node.js, MongoDB, Express.js, EJS and Bootstrap from scratch. We will create new database, declare data collection, fill this collection with data and output contents to page with pagination. This article is generally for beginners who interested in web development so I will try to make all explanations very detailed. But maybe this article will be useful for an experienced reader. After reading this article, you will be able to create pagination from scratch,  not like this : it’s a  bad practice . You will be able to create pagination from scratch like this: For reading this article you need to have installed No