All that server-side nuisance.
PGSync is a change data capture tool for moving data from Postgres to Elasticsearch. It allows you to keep Postgres as your source-of-truth and expose structured denormalized documents in Elasticsearch.
I will setup a very simple php page with docker and nginx.
I will get MariaDB and Phpmyadmin running in a docker container. I will reuse folder setup and all files from previous recipe - 02.
Method overloading and overriding are two common forms of polymorphism ( the ability for a method or class to have multiple forms) in C# that are often confused because of their similar sounding names. In this article, we show the difference between the two with some practical code examples.
The main goal of this blog is to explain the “Architecture of Nodejs” and to know how the Nodejs works behind the scenes,
For Terrastruct, which has a little over 50K lines of code as of now, I've only written functional end-to-end tests. This blog post describes a successful setup that took some iterating to get to, and it's one I wish existed when I started with a Go API backend.
Solve concurrency issues with typeorm query to fix race-condition and deadlock bug.
When I was recently working in one of the client projects, I had to communicate with external MariaDB server to store records from React/Rails app, that means I would get ActiveRecord hash from our app which I had to convert to pure SQL query and send it to an external server for storing.
I have an advanced data science interview question from Amazon today. This question is going to test your date manipulation and formatting skills as well as our window function knowledge.
Bootstrap 4
A forbidden header name is the name of any HTTP header that cannot be modified programmatically; specifically, an HTTP request header name (in contrast with a Forbidden response header name).
If you work with or interact with a JavaScript project, frontend project or a node.js project you surely know about the package.json file.
Simple Chat Room using Python
One of the most fundamental and crucial interactions while Selenium automation testing is done by automating click operations over elements on a web page. We facilitate the click interaction using a method called Selenium.click().
What is mysqldump?
A tutorial on creating a JS template engine with parsing and precompilation.
Here's a Simple and Structured Roadmap to Becoming One (with youtube videos)
Connectivity is something amazing. Right now, we are used to use our computers or phones to buy, post, watch, etc. We can do lots of things actually. We are connected to the world and to each other.
Continuing our Swift backend takeover 😬 by configuring our API with a popular, powerful database MySQL 🖥
If you're starting to apply for your first web developer junior position, then you might want to consider building out one of the 4 (if not all) projects.
Straightforward moral of the story: always first check environment variables in CI settings. They can overwrite your configs and cause unexpected issues.
If you're like me you create scripts to automate things all the time. While you can do quite a bit with bash, it's just a lot easier to use your primary language--in this case TypeScript. With just a few tricks you can start writing your scripts in TypeScript.
Nucleoid is low-code framework for Node.js, lets you build your APIs with the help of AI and built-in datastore in declarative runtime engine.
Learn how webhooks work and put together a simple Webhook integration with Node, IFTTT and Twitter in under an hour.
We are going to build an e-commerce application using Java, Spring backend, build web UI in Vue.js, and mobile UI using android. Stay tuned!
Learning MongoDB has been one of the things in my checklist for the past 6 months but hasn’t gotten around actually learning it until now. In order to understand writing queries and all I figured it’ll be better to make something instead of just reading and watching some tutorials. So, I’ve decided to make a user registration API i.e, a simple registration form kinda thing with only sign up and sign in functions as of now. As learning Mongo was the main intention, I’ve decided just to make the core app which is the backend functionality and no front end as it’s not necessary and I hate to do it.
I believe that the job duties of “back-end” and “DevOps” engineers will coalesce to include almost everything that “the user doesn’t see”.
Initialize the project:
Python is one of the most popular programming languages. It is easy to pick up and begin with the basics. It is a general-purpose language and can be used for more a lot of things other than just web development. To get a job, you need to go beyond learning just the basics and have a solid understanding of the complexities involved in the language.
In my student years everybody around me mocked JavaScript. Being part of the tribe, I have never really tried to learn JavaScript. I used quick and dirty solutions, copied code from Stackoverflow, without really understanding it and hoped it will not break. It changed after my first full-time job.
There are different ways to connect react frontend and NodeJS backend. In this blog, I am going to tell you three ways how you can connect backend and frontend.
There are many languages and technologies in the arsenal of both the front end and the back end. A fierce debate is ongoing about their relevance and convenience. But the truth, as always, is somewhere nearby.
The choice of a programming language for your startup directly depends on the needs of your project, your budget and other parameters.
API has become one of those catch-all terms that developers throw around without really considering the context. On any given week, you will come across discussions like "How to use the Twitter API", "New framework X is great because it has a low API surface", and "Best practices for building an API."
HELLO INTERNET. Calling all fellow iOS devs to start drinking backend with Swift. Our time is NOW 😈
Creating an API with Swift is here, and it’s juicy. Here’s what’s up.
For now, I am assuming that you all know what is SQL or you have some experience with SQL or you are using SQL for many years. I know many people who know so much about SQL and even have created many projects based on SQL and they do not know what is SQL engine or how actually SQL database engine works. It’s obvious no one’s care about the internal working of SQL engine or something because without knowing How SQL works we can still create and access database using any SQL program.
while developing a rails Application you might want to allow your users to upload an image Cloudinary provides an easy and free way of achieving that.... sounds good? let's get started
HELLO INTERNET.🍭🍦 In this video I go into creating CRUD endpoints for a Swift API !! 🖥
Asynchronous javascript is the backbone of modern web development. But understanding it comes with its challenges.
Vortex is a stateless ngrok alternative that you can use at work and at your favorite coffee shop. Instant public URLs to expose your localhost server.
When I’m learning something new I like to talk to myself about it until I feel I understand it. You can feel when you’re just hiding behind the fact that no one else is questioning you, and you’re really just kind of lying to yourself. “Yeah yeah, REST, CRUD, awfully simple…”
Scaffolding in Ruby on Rails refers to the auto-generation of a set of a model, views and a controller usually used for a single database table.
This is a follow up on a story that I've published a few years ago. It still receives a huge amount of traffic so I decided to update it with the latest information.
Hi, I’m Valerio, software engineer from Italy.
A React hook to filter large amount of data using Web Worker.
There’s a foundational question that every project starts with: accept the freedom to roll your own solutions along with the burdens that go with it, or take the chance to use sensible defaults that allow you to move quickly, but hide a multitude of decisions and set you on a prescriptive path.
Oh! If all your code worked as it was supposed to.. Of-course you just made a tiny change and the whole system came crashing down! The existing system seems almost alive, and resists any code change by crashing! Quite often, developers declare a truce in the form of a 'code-freeze'! After a deep breath (perhaps several weeks..) the code-freeze is lifted, and the battle is renewed.
Microservices architecture is a methodology that allows you to split a monolithic single application into small applications and services.
Golang: benchmarking made easy
In this article we'll see how we can use golang's benchmark utility to easily write benchmark tests. Also, we'll see how to plot
How to upload files with Astro, express and multerjs
Ok, so here is the situation: you work in a team, and each developer works with a local environment. Or you have multiple environments. Or... We don't care. The only thing is, you have to handle different versions of databases, and you don't know how to do this safely and efficiently.
What is Deno? Deno is a simple, modern and secure runtime for JavaScript and TypeScript that uses V8 and is built in Rust.
Creating a new Rails app is super easy by itself. And, creating a Rails app set up as an API is not much different.
For me this is one of the strangest things I did in my life, talk to you about what is it for me one of the most complex languages that I have worked with. Javascript is something really strange when you compare it with other languages.
As of July 13th, 2022, there are 135 security flaws reported to the CVE database. Here are 8 essential measures you can take to protect your PostgreSQL server.
In this article, you will walk through the creation of a simple Bash shell script to send messages to Telegram messenger using the Curl command. Then you will use this script to send a notification on every ssh login into your server.
Many self-taught coders have a hard time deciding between all the various options, but it’s so much easier to learn effectively if you have a clear goal.
Elastic APM is extensively useful in monitoring the lifecycle of a HTTP request in a system especially in µservices architecture. Wide variety of web frameworks and databases are supported which is useful in tracking the request up to DB calls. The documentation is simple and concise which makes it easy to instrument the application.
This article aims to help or at least make it easy to trace the HTTP request lifecycle after instrumentation. Golang is used in this article for code snippets but the concept can be extended to other languages as well.
Why do so many startups choose Ruby on Rails over other technologies?
Without external tools
Who doesn’t like sharpshooting wood elves, chaos infested wastes and dwarfs digging deep under the mountain for treasures? Daring Sigmarite warrior priests and armour-clad chaos Chosen and all manner of other fantastic creatures? I know this might sound weird, but this is an article about programming! I’ve recently gained interest in trying to understand a bit more about Uncle Bob’s clean architecture design and, to do that, I’ve created a small app that I believe showcases some of the main strengths that I believe it has. Disclaimer: All Warhammer references are the property of Games Workshop and I also do not claim to be some clean architecture guru. But maybe this will help someone else with their first steps in grasping the concepts of this cool new toy I’ve found.
Everyone who worked in Node.js, should have came across the term Buffer. Few may think that Buffer is only for library developers and its not in the scope of application developer. Here this blog is for you to provide an overview about the Buffer and its usage.
More and more developers are currently deciding to boost their workflow, minimize unnecessary tasks, and structure their virtual desks through admin panels with Node.js backend.
Are you looking for a career in Backend Development? To build complete applications beyond the user-interface companies need rockstar back-end developers.
All the app data is stored and processed on the back-end. Back-end development is everything that happens behind the scenes. It is a variety of things like the databases, the business logic, the API layer and pretty much everything other than the user-interface.
The average salary for a back-end developer is $123,689 per year in the United States as of 2019. In this post, let’s learn about what it means to be a Backend Developer.
If you are anywhere related to web development, understanding the concepts of HTTP plays a vital role. So let us understand more about HTTP and its concepts in brief.
Python and JavaScript are two of the most used programming languages. Even though both are object-oriented programming languages, they have different scopes.
From the basic to advanced concepts of AWS own service for identity and access management: users, groups, permissions for resources and much more.
Image by Devanath from Pixabay
During the last couple of decades websites' functionally has increased dramatically - from simple landing pages serving simple static ads to complex progressive web apps whose functionality close to native applications including user authorization, location tracking, bluetooth handling, and offline mode.
One of these issues you might stumble across using the PHP framework Laravel is this one:
Check out why you should use golang for your next project
This is the second part of the series File management with python. We pick up from where we left last time Part 1, where we organized files according to the extension. So, let's get started.
Like user interfaces? Comfortable using HTML and CSS? You're a frontend. Comfortable working with databases and serving requests? Backend's all yours.
RESTful APIs are everywhere, powering more of the modern world than any other API architecture. REST accounts for up to 80% of APIs according to this study by ProgrammableWeb. How those APIs are built and structured can make or break a company in today’s ultra-competitive world. Poorly-designed APIs can be difficult to use, can fail when they are needed most, and are valuable targets for hackers looking for sensitive data. On the other hand, a well-designed API that utilizes best practices makes development a breeze, attracts new customers, and creates confidence among users that can boost retention rates.
In this tutorial, you will learn how to declare and initialize Oracle PL/SQL collections (Nested Tables).
Serve HTML templates using fastapi
Having worked on a project for 6 months using GraphQL on the backend, I weigh up the technology’s fit into the development workflow
Using Velo you can create routers that allow you to take complete control when handling incoming requests to your site. To do so, you set up a router to receive all incoming requests with a specified prefix and define the logic of what to do when a request with that prefix is received. You decide what actions to perform, what response to return, where to route the request, and what data to pass to the page.
Continuous Integration, shortly called ‘CI’ in DevOps is an important process or a set of processes that are defined and carried out as a part of a pipeline called Build Pipeline or CI Pipeline.
Good cake is the one you can easily slice into parts with no crumbs falling apart. That's all this project is about: 3 simple parts, no nasty additives. In part 1 and part 2 I've explained the basics of setting up golang project using docker, creating configurable server, interacting with DB, adding routes and handlers.
The Idea
When we talk about security wrt any web application its a multiple dimensional thing it will involve a number of different aspects:
Introduction
Once upon a time, a company I worked for had a problem: We had thousands of messages flowing through our data pipeline each second, and we want to be able to send email and SMS alerts to ours users when messages matching specific criteria were seen.
It's so lonely at the top of Olympus.
Hi, I'm Valerio, software engineer from Italy and CTO at Inspector.
I built a Customer Support System a few days ago and started to think of a way to seed my rails database with random data for testing without having to manually type in the data. This may not be the best way to do it, but it works and allows you to test your application.
The Rust programming language is an ambitious project of the Mozilla Foundation – a language that claims to be the next step in evolution of C and C++. Over the years of existence of these languages some of their basic flaws still haven’t been fixed, like segmentation errors, manual memory control, risks of memory leaks and unpredictable compiler behavior. Rust was created to solve these problems while improving security and performance along the way.
Being a programmer, my interaction with the terminal is more than any non-programmer. So, I was thinking why not make CLI apps and decorate them. They should have a nice interface, not like the GUI apps. But a little bit nice, than usual.
This article explains what Wix app collections are and how you can work with them.
When I was in the process of learning web development, I was always thinking to myself: “Am I ready to start applying for jobs”, “How many things do I need to know before I start applying for jobs”, “When should I start applying for jobs”. These are probably one of the most important questions in your web development career and ones most people struggle with.
At its heart, scaling a team is about matching skills to problems. In this piece, we share a guide about scaling backend API software development teams
While using any services from AWS you can do it via their API,Console or CLI tool like amplify, amplify was designed specifically to work with AWS and to make it easier for developers to deploy applications on the cloud just by running some commands, In this blog i will be showing you how can you create an Appsync API with Amplify, It will have auto generated resolvers for all the queries,mutation and DynamoDB as the database.Yes you read that right everything will be created for you by AWS using cloudformation which acts as template for all the services that you will be needing. So before we get started i encourage you to install Amplify CLI on your computer and configure it with your Credentials. Let’s get started now.
Learn the difference between Cloud-Based, Cloud-Enabled, and Cloud-Native Applications.
Today APIs have become a key way for application developers to generate revenue, meaning monetisation is becoming a sought-after feature in the API Management space. Even though API monetisation has a broader meaning than simply charging for APIs; in our experience, most companies want to charge for API usage. There are a number of different ways that this can be achieved, but let’s take a look at the two most popular and how they can be effectively rolled out to bring in revenue.
This is not the same average blog post you have seen on many sites. This is something new and amazing.
GraphQL has become the most loved tool for API development in a very short span of time, and developers across the world cannot seem to get enough of it. Today I met with the founder of Windsor.io, Pranay Prakash, who has worked on the team behind GraphQL during his time at Facebook. I chatted with him to find out more about his experience working closely with Lee Byron, the creator of GraphQL, and some of GraphQL’s benefits.
User-Managed Access (UMA) is an OAuth-based access management protocol standard. Introduction to UMA and where it can be used.
Creating a Slack clone with Supabase and Next.js
Creating a Todo app with Svelte and Meteor
It's an awesome feeling to see something you have built one year ago gaining popularity and new people use it every new day!
In the world of software development, is talked about DDD more than using it practically. We want to see when we should go to DDD!
We use different Continuous Integration tools in our projects. One of them is TeamCity software. A pipeline for TeamCity can be configured easily and has two steps, such as run tests and build a docker image for further deployment. However, I needed to run Postgres before running tests. I made a research, I read the documentation and this article may be useful to close a gap for team city’s documentation.
Implementing a good GraphQL backend to serve your database data is not an easy task, you have to implement a lot of resolvers, add authorization, pagination of the fields and use a DataLoader to not repeat your database queries during relations.
Introduction
The decision to choose a database for project is not that simple. But when it comes to choosing a database, the biggest decisions is picking a relational (SQL) or non-relational (NoSQL) data structure.
This is the second part of a 2 series tutorial to setup action mailbox with postfix. In this part, we will configure postfix in production server to forward incoming emails to our rails app so action mailbox can process it.
A couple of weeks ago I wrote an article about building and deploying a Blazor app without touching a Windows machine and realized maybe I should take a step back and explain what Blazor is and why anyone would use it. It's still fairly new to most in the front end development world, but it's awesome and you should check it out.
AWS API Gateway is a great service but can be quite expensive, and even cost-prohibitive in some cases.
Immutable objects, HashMap data loss, Equals and HashCode, and Builder. Thread-safe, side-effects free.
Why do we talk about project quality and technical debt so much? Because this directly or indirectly affects the speed of development, the complexity of support, the time to implement new functionality, and the possibility of extending the current one.
Golang has been a popular language over the past few years known for it's simplicity and great out-of-the-box support for building web applications and for concurrency heavy processing. Similarly, JWT (JSON Web Tokens) are turning into an increasingly popular way of authenticating users. In this post I shall go over how to create an authentication middleware for Golang that can restrict certain parts of your web app to require authentication.
Fundamental Concepts of Angular for beginners to advanced level developers.
Certificate chains are used to be able to verify an end user certificate against a list of intermediaries and a root authority. We are going to explain this in a bit more detail.
A practical approach to test an application that uses async redux-thunk action. The test will check the effect of dispatched action on the state.
How to use decorators to implement in a few lines of code a coaching mechanism for both node and web application
I get really frustrated when I see people and companies online selling unrealistic dreams when it comes to coding education.
I was writing a chat bot where a user interacts with a machine learning powered bot, then I wanted to write a general example application for anybody to use it. In this application, there will not be any intelligence. The bot will simply recite what it heard so that anyone can implement his/her own logic.
Let’s face it — AWS is a convoluted web of so many services and can be really difficult to wrap one’s head around. That’s certainly how I felt, the first time I deployed a Node.js app to the service. PSA I love Clis but definitely not a fan of the Elastic Beanstalk Cli.
When you talk about web scraping, PHP is the last thing most people think about.
Extensions can make our life as a developer a little easier. Here are 6 of the best Chrome and VSCode extensions for Developers.
Deploy Django on Kubernetes in a few clicks without even Dockerizing your application.
We are going to create an android UI for our UserProfile backend API we are creating for our demo E-commerce tutorial
Project Link: https://github.com/Joker666/goworkerpool
Front-end seems to be one of the most popular developers’ niche over the last years. Front-enders create the front view of the web application. The code consists of HTML, CSS, and JavaScript. Three of them create the magic we all experience on the internet. But there is much more than a web application that needs to work. The back-end is the other side of the applications that we don’t see, but the experience.
Velo supports working in JavaScript and some special features, including:
This article explains what Wix app collections are and how you can work with them.
I'm pretty sure you would have heard the term API, and if you were wondering what it is, then this is the article for you.
In this article I want to share my experience of how to setup MySQL replication locally with using Docker.
Asynchrony is hard for any programming language. Asynchronous in Node.js is unpredictable and difficult to trace when there are some bugs.
The vast majority of things a frontend engineers need to do can be done without knowing anything about the backend other than the API. If you work on different parts of the frontend for long enough though, you'll probably run into something that does require some backend knowledge. Here's the short list of topics that a frontend engineer should know about the backend.
Typically, when we build a single-page application, the frontend and the backend are living in two very separate worlds that are connected with a web API. Even if they are implemented with the same language (JavaScript), they cannot communicate directly using this language. They need something else in between, so we build a web API (REST, GraphQL, etc.), and that complicates everything.
how to connect your Android frontend application to a Python Server implemented using Flask
Introduction
In this article I would show you how to turn on analytics in the dark side of your application: "background Jobs and scheduled Artisan commands execution".
Magento 2.4.2 is unleashing on 09 Feb 2021, all the noted issues of Magento 2.4.1 has been resolved in this release -Check All update in 5 minutes!
I'm 99% sure that you've already used an OAuth based API.
How important is gossip to our species and our evolution? Enter Celestus the gossip town: where dumb bots, AIs and humans interact and gossip about each other.
So you’re a front end developer, and you want to learn some backend stuff. You want to become a full stack developer someday, so where do you start? Google’s Go language is an excellent place.
Modern applications aren’t built in silos. They rely on the features of other applications. This reliance can come in the form of open-source libraries, access to a wealth of data, or complex features distilled down into a consumable API. Incorporating third-party dependencies into your own project can be challenging. It comes with the benefits of faster development, and the downside of reliance.
In this tutorial we will see how you can make your first REST API for Machine Learning Model using FLASK. We will start by creating machine learning model. Then we will see step-by-step procedure to create API using Flask and test it using Postman.
Hi guys, I’m a Front-End developer. Before there was a time 2 years working CMS Magento, I like CMS Magento because system clean, and architecture database EAV (Entity — Attribute — Value) but I don’t understand why present I’m dev front-end (I don’t know) in the 2-year current. And present I chance comeback working position Back-End that I like.
So , I recently completed a course on Coursera named “Kotlin for Java Developers” and therefore I feel I am the right person for one of the most hot trending question “Kotlin or Java”.
This is a short introduction to RabbitMQ, an open-source message broker software that can be used to distribute long-running tasks into separate processes.
GraphQL is a relatively new way to build user interfaces and APIs for consumers. It's essentially a querying language backed by a strongly typed schema, which makes it easy to write human-readable requests to get exactly the data you need. Compared to REST, whose responses are dictated by the server, GraphQL queries place the power squarely in the hands of the client.
In online protection systems, authentication and authorization play an important role. They confirm the user's identity and grant your website or application access. In order to decide which combination of web tools best fits your security needs, it is important that you notice their differences.
TelemetryClient vs ILogger or how to improve logging experience in C# ASP.NET for Application Insights
Spring MVC is a framework that is used to build web applications. It follows the Model View Controller pattern. DispatcherServlet is the servlet that controls the flow of a request from view to controller. Since Spring 3.1, the Servlet 3 API is supported and we no longer need web.xml for configuring DispatcherServlet – instead, it is configured programmatically.
Project Link: https://github.com/Joker666/goworkerpool
How to replicate your production environment in your local machine with a few configuration.
Recently I learned Ruby On Rails, an amazing framework, you can easily build complex web applications with it. In this article, I want to talk about Unobtrusive JavaScript in Ruby On Rails, a tool that can help you build a more responsive web application in a simple way. With it, you can manage all your JavaScript in the server and you don’t need to pollute your HTML files, there is no need for adding events listeners and ajax requests.
Most of us are familiar with Twitter. But we are not much familiar that we can automate the activities like status posting, retweeting, liking, commenting and so on. So,here I'll show you how we can automate some of the activities like getting the twitter data,posting the status and retweeting with Node.js and a npm package called Twit.
When I was a newbie in Rails, the first couple of weeks I survived reading all the articles and understanding only like 30% of what I was doing. It was a lot of information, and one of the things that annoyed me the most was that when, after a lot of effort, I finally realized what I have to do, I have to look through all the readings and find the correct command that I need to write on my terminal (after all this time, now I can type them almost with closed eyes but at first it was incredibly tough).
Let’s face it.
Introduction
he web server has a crucial role in web-based applications. Since most of us leave it to the default configuration, it can leak sensitive data regarding the web server.
I always wanted to learn programming. Writing codes, making algorithms always excited me. Being a mechanical engineer, I was never taught these subjects in depth.
In this article, we figure out the key differences between Angular and AngularJS open source tools for front end developers to make the usage of these frameworks, terms, and names more conscious. But before we start to compare, let’s clarify what these names mean.
For day to day work in dev-ops or for testing team , we need to put stub in between some application to fill the gap for the application which are not present on local testing lab , for that we need to put some stub so that it can mimic like actual application .
Generating API blueprint REST API Golang using SwagGo tools
The right technology stack used for building a web application is a critical element of project success. The reason is pretty simple. The product creation doesn’t only imply making an outstanding user interface design and ensuring high usability. It is also about delivering a stable solution that works as intended and adds value to users.
.NET 5.0 was officially released this week, bringing with it a range of improvements to the .NET ecosystem. Like many .NET developers, I was quick to download it and give it a test run. This article discusses some of the most exciting new features in .NET 5.
This is the first part of a 2 series tutorial to setup action mailbox with postfix. In this part, we will implement action mailbox with postfix and test in development.
An overview of 7 Companies with recipe APIs in 2022
In this 5th instalment of my “Node JS Performance Optimizations” series, I show you how to increase Node JS performance with thread pool management. We achieve this by understanding how Libuv works, how the thread pool works and how to configure the number of threads based on your machine specs.
Working from home is the new normal. In this blog post, we will learn how to build a break Scheduler using webbrowser with Python.
This blog talks about why Laravel 8 deserves another look because of several features that makes it perfect for web development.
There is a lot of information about different T-SQL features. I want to tell you about equally useful, but less popular tips for working with this language!
I’ve spent the last 10 years of my life as a System Engineer, which means when I first had to build an API, I had no idea how to do it. I knew python quite a bit since as a SysAdmin I often had to write some smaller or bigger scripts, but building the whole API was a challenge for me. Sure — I could just google the phrase and find dozens of tutorials on how to build an API, but all of them were somehow complicated or created for raw developers (which means — with assumptions that you know already all the tools and frameworks that developers use).
An Overview On Wix Velo
REST API endpoints paths list which backend uses to route API requests and frontend uses to make backend API requests.
How to get around in your first Rails projects
Imagine reading something, and never losing track of that information.
Introduction: The Postgres Connection Pool Problem
A how-to guide for automating the EXIF data from batch image files.
Frontend is anything that the user sees and interacts with. Backend, on the other hand, ensures that everything that you’re seeing works fine.
A collection of a few things I needed to clear up (to myself or others) about HTTP Status Codes while building a RESTful API.
It's been a year since the exhibition of QCObjects in the Web Summit and now a lot of people and companies are interested in placing QCObjects at the very core of its enterprise software solution. But why is it?
Using the aggregation functionality of the Data API you can perform certain calculations on your collection data, as whole or on groups of items that you define, to retrieve meaningful summaries. You can also add filtering and sorting to your aggregations to retrieve exactly what you need.
Using Velo you can write code to access 3rd-party web services. You can call a 3rd-party service directly from your client-side code. However, if you have security concerns, such as exposing API keys, you can call the service from a backend web module.
This is the 2nd article documenting what I’ve learned from a series of 10 Trailhead Live video sessions on Modern App Development on Salesforce and Heroku. In these articles I’m walking you through how to combine Salesforce with Heroku to build an “eCars” app—a sales and service application for a fictitious electric car company (“Pulsar”) that allows users to customize and buy cars, service techs to view live diagnostic info from the car, and more.
In the step by step tutorial learn how to use external OAuth for authentication & Access token created by the external system to secure APIGEE edge
Learn how to easily setup a tsconfig file to build for nodejs.
Introduction to Node.JS
Best practices to follow while writing the node.js application.
New java features you must use.
RuboCop is a Ruby static code analyzer and code formatter which helps to track errors easily and fix minor code issues during the development process saving your time. It has many advantages and you can learn more about RuboCop on https://docs.rubocop.org/en/stable/.
Summary
Most of the developers have heard for Google’s product called Firebase. It’s, how Google says “mobile platform that helps you quickly develop high-quality apps and grow your business.“. It’s basically a set of tools that most developers will need when building an app. In this article I’ll go over these tools, and point all the things you need to know if you choose to use Firebase.
A certificate authority (CA) is an organization that signs digital certificates and their associated public keys. This certifies that an organization that requested a digital certificate (e.g., Mozilla Corporation) is authorized to request a certificate for the subject named in the certificate (e.g., mozilla.org).
Keep your Model Observers in Laravel under control.
We’ve just launched GraphQL Editor 3.0 and I must say it’s nothing like a year ago as we released it. When we started our vision was to provide an alternative way of designing a GraphQL schema, but what we ended up with is a lot more.
Ruby on Rails has an awesome gem to upload, store and display images: Active Storage. It's very easy to use and it comes with a local disk-based service, that should be enough to store everything you need if you just want to practice using Rails.
Long lines and long wait times frustrate guests and discourage them from returning to your restaurant. World-famous restaurants have come up with innovative ideas to eliminate these sources of frustration. Take McDonald’s as an example: In 2015, they started adopting self-service ordering kiosks that let customers select items, customize orders, and pay. Another good example is Stabucks. They built an app that lets customers order and pay in advance, then pick up their orders at their convenience. Those are just two examples, but there are many more.
In this article, we are going to implement caching in a node js application using Redis, but, before we delve into the implementation details, let’s explore what caching is and how it can help the performance of our application.
Express.js is one of the most popular back-end frameworks nowadays, which lots of people find useful to learn. After mastering the theory, it comes the time to start the practice, and then it may seem a little bit difficult, how to start. But creating your first Express.js application doesn’t have to be so complicated. Let’s start...
In this article, I want to teach you how to connect Java Spring Boot 2 with Elasticsearch. We’ll learn how to create an API that’ll call Elasticsearch to produ
In this article I will be explaining how to write a simple express server that is of Production Grade.
'Have you developed or are you in the process of creating an API Server that will be used on a production or cloud environment? In this 4th instalment of my Node JS Performance Optimizations series, I show you how to test the availability of your API Server, so that you can understand how many requests per second it can handle whilst performing heavy duty tasks.
First of all, a brief overview of our use case. Let's say I have a spreadsheet on Google Sheets which is not public and I want to be able to read/modify programmatically through some batch process running on my local machine or some server. This is something I had to do recently with a Node.js application and I found the authentication part a bit tricky to understand. So I thought of sharing my solution and I hope it helps someone in need. There might be better ways of doing this but I am sharing what worked best for me.
Automatic translation of pure Python code to AWS CloudFormation Stack Template.
Let’s see what awaits our favorite Java language directly, and then — what awaits the IT-sphere.
In Part 1 of our Complete AWS Lambda Handbook for Beginners, we gave a refresher on the fundamentals of AWS Lambda and what is AWS Lambda. In this post, we’ll look at AWS Lambda pricing, some interesting Lambda facts and examples of great AWS Lambda use cases in your serverless application.
In today's economy, more and more companies exist primarily online. While there's much discussion around the consequences of leaving behind the traditional brick and mortar business, one aspect that gets less attention is the significant change in how these companies are now managing their data. Increasingly, businesses seek to understand their customers and how best to meet their needs in a way that monthly reports and KPI charts just can’t address.
While working on a Rails application, we all have had to change the database column in some way. You can change the column name and the column type, as well as changing the column with the type conversion.
In this quick article, you'll see how to prevent one of the OWASP Top 10 security issues for websites: authentication that hasn't been implemented correctly.
Normal development flow requires continuous patching the production database with local changes normally made automatically by the orm software, this method is not perect but deceptively simple, all we'll use is standard Unix commands, and is good enough for us.
Learn how to install multiple versions of PHP on Ubuntu the native way (without using Docker, Vagrant, etc.).
Due to the inability to generate a well-defined way to authenticate rails API, I have sourced out this information in order to help me and you have a way of authenticating our rails API token. This tutorial would be based on the latest version (6.0) of Ruby on Rails.
Brief Introduction
I have been working on a GraphQL workshop, and it’s been a great learning experience. One of the trickiest things I have had to deal with in GraphQL is handling complex user permissions. It used to be a hassle until a friend pulled my attention to Hasura.
This article is focusing on showing a brief explanation of how to use Promise.all in a real example that I used in one of my recent projects.
As a follow up to my article explaining how to create communication bridges in Android and iOS, I thought it might be a good idea to do the same for Flutter. While it may seem like this is a straightforward affair, you’ll soon realize it takes a bit of work to get this functionality working.
Using data from database collections or from a 3rd-party source can be a powerful tool to enhance your site's functionality. However, sending a lot of data to the browser from the server can be a time-consuming operation and negatively affect your site's loading time. Therefore, you want to minimize the amount of data that is sent from the server to the browser. This article lists a number of approaches you can use, whether you're using a dataset or the Data API, to improve your site's performance.
Hey guys, hopefully you are doing well, today is an introduction to get started with Grandjs the promising nodejs framework!
These days REST API has become a web applications development standard, allowing to divide web development into two separate parts. There are several mainstream frameworks like Angular, React, Vue, that are used for UI. Backend developers are free to choose from large variety of languages and frameworks. Today I’d like to discuss NestJS framework. We’re going to create a simple CRUD application using Nest and the @nestjsx/crud package.
Did you know that by 2020, it’s expected that there will be 1 million programming jobs unfilled? Unfortunately, great developers are rare to find. If you have tried to hire a developer for your startup, you’d know how difficult it is to find qualified candidates who don’t only have the required skills but also fit your culture.
Template Queries are dynamic templates constructed with MongoDB-style operators, which allow you to customize MSON components with less code.
If you're comfortable with working with traditional development platforms such as Heroku, but now you need to integrate into Salesforce data, there are many unexpected differences that you might discover.
I am a full-stack developer student currently doing the Microverse program, and I've been developing things for months until now. This article is for helping newcomers to Rails to understand Rails migrations by showing some examples and explaining them the best I can.
Building your first authentication system may look intimidating at first. But to be honest, it's really easy. After reading this article, you will know how easy it is to create a session based authentication in rails.
If you're having troubles with organizing API for the Node.js app, using the Sails.js framework with the GraphQL, know that you're not the only one - we've been there too.
In this article, I’m going to walk you through developing a simple todo rest application in NestJS and give you an overview of this framework.
Curious about how Flask stacks up against Node.js? These are my thoughts on the matter.
Send your first SMS message using Plivo Node.js SDK within 5 minutes.
Code editors come with "beautifiers" which programmers can use to make code uniformly and conventionally laid out, aka: "pretty".
If you're reading this blog, chances are you really interested in Elasticsearch and the solutions that it provides. This blog will introduce you to Elasticsearch and explain how to get started with implementing a fast search for your app in less than 10 minutes. Of course, we're not going to code up a full-blown production-ready search solution here. But, the below-mentioned concepts will help you get up to speed quickly. So, without further ado, let's start!
Announcing Appwrite 0.8 with JWT authentication, ARM support, Anonymous Login, new storage capabilities and many more new features.
In this post my plan is to create open tcp port scanning tool, use GO and worker pool to make it very fast. Expose it via REST resource, containerise and deploy
With the evolution of technologies, both front-end and backend have evolved to a great extent. The difference between the two is what we are going to discuss.
Top easiest ways to make an eCommerce store with Node.js. Shopify vs. buit-for-you solution.
Spring profiles are very useful concept in framework but there are some cothas to catch for mastering it. Article about how to survive in multi profile set-up.
TL;DR
Here, we have designed and developed a flow for OTP(One time password) for user registration and also blocking a user's account after the maximum retries for incorrect otp is exceeded.
Introduction and Definition
While building any web app people get confused or feel difficulty in authentication process. Creating a registration form and sign in process is a hectic process if we don't follow proper method.
As part of my Borum Jot project, I made a Web API for all my front-end platforms to create, retrieve, update, and delete (CRUD) data on the database. In this article, I'll discuss what exactly an API is and how I made my own Web API.
An object that is instantiated, gathered, and otherwise managed by a Spring IoC container is called a bean.The configuration metadata that you provide to the co
Building a secure user registration form with PHP seems like a scary task. How do I protect myself from MySQL injection and other methods of hacking. Surprisingly, with only a few steps and precautions, you can greatly reduce the chance of success for attacks.
Learn how to perform a profitability analysis by peer companies using Python
Excited as you are to get started building your website using Velo by Wix, let's take a moment to plan ahead.
This blog provides an overview around the two fundamental concepts in Apache Kafka: Topics and Partitions. While developing and scaling our Anomalia Machina application we have discovered that distributed applications using Kafka and Cassandra clusters require careful tuning to achieve close to linear scalability, and critical variables included the number of Kafka topics and partitions. In this blog, we test that theory and answer questions like “What impact does increasing partitions have on throughput?” and “Is there an optimal number of partitions for a cluster to maximize write throughput?” And more!
Learning to be a Full-Stack web developer in Microverse – a remote software development school domiciled in California had so much taught me a lot like patience, resilience, tenacity and the curiosity to get things done the right way and at the right time. Ruby on rails web application is an application that is somewhat complicated for someone who is getting started in learning how this powerful web application works. But when you get to understand how it works and how to navigate round in building your application with it, you will be glad you did.
Introduction
Swift is a general-purpose programming language developed by Apple Inc. It is a powerful language developed for iOS, iPadOS, macOS, watchOS, tvOS, Linux, and z/OS. Swift is one of the popular languages and has a huge scope if you want to develop apps for Apple products. So, today we will be checking out the 11 most asked Swift programming questions.
In Velo, the schema defines which fields are in each of your collections and their type.
Harden and streamline Python's urllib.request.urlopen() to support only the desired protocols, using the flexible and native OpenerDirector class.
This post describes how I leveraged Rust, WebAssembly and Lunatic to build a telnet chat server.
An implementation of the standard Javascript Fetch API which can be used in public and backend code for fetching resources from 3rd party servicesusing HTTPS. Learn more.
Integrate your external databases into your Wix sites. Learn more.
Just to give you some context, we were working on the new Diabecarp App a few days ago. I can't talk much about the new features, but I am going to extrapolate 2 interesting solutions during the process, give you why, explain a bit and, as always, put together a demo with Rails ♥️.
This article uses Exercise number 10 on the Self JOIN SQL ZOO tutorial to teach self JOINs in a beginner-friendly way.
In functional programming, pure functions are at the core of this paradigm. When we speak of pure functions we mean that these functions satisfy two main conditions; the first is that they will not cause any side effects and the second is that depending on their arguments they will return the same result. When you create pure functions you should try to make them take care of one thing and only one, so your functions will be very easy to test and scale. Consider the following function:
Low-level languages like C, have manual memory management primitives such as malloc() and free(). In contrast, JavaScript automatically allocates memory when objects are created and frees it when they are not used anymore (garbage collection). This automaticity is a potential source of confusion: it can give developers the false impression that they don't need to worry about memory management.
Recently, I have been trying to expand my knowledge as a backend developer. I want to understand solving problems at scale and also breaking down big tasks into little chunks of tasks.
?A Java command line program accepts values from the command line during execution. With command line programs, you do not need a graphical user interface (GUI)
What is Nameko? Nameko is a framework for building lightweight, highly scalable and fault-tolerant service in Python.
In this tutorial, we’ll be creating a Tinder clone, in under 1 hour using Phở Networks, an open-source no-code platform that makes it seamlessly easy to create social applications.
The main innovation in Java 9 was the introduction of modules. There was a lot of talk about this feature, the release date was postponed several times to finish everything properly. Today we’ll talk about the mechanism of modules, and what benefits Java 9 brought in general. The post is based on the report of Sergei Malkevich, IntexSoft Java developer.
Most of the startups facing scaling problems move to microservices. Inspired by cell-based architecture, it split services per function and scale only specific features. It works especially well for B2C where traffic is uniformly spread across users. However, B2B can face a different type of scaling issue where only one user is scaling. A pool architecture is a simpler yet powerful solution, used both by GAFA and fast-growing startups.
This is a story on how to not spend even a penny by using three ETA (estimated time of arrival) services instead of one. Everything is based on my personal experience working as a back-end developer at GoDee project. GoDee is a start-up project that offers booking seats on a bus online. You could find more information about this project here.
Learn how to deploy a simple rest API with ExpressJS and expose it using a service and ingress. Great for Kubernetes personal projects.
Autocomplete is a feature to predict the rest of a word a user is typing. It is an important feature to implement that can improve the user’s experience of your product.
An association is a connection between two Active Record models. It makes much easier to perform various operations on the records in your code. We will divide associations into four categories:
Hello folks! In this article, we are going to unravel the mystery behind the Rails Active Record class. To be honest, I struggled a lot with Rails models as a beginner. I spent a lot of time reading the docs, read a couple of medium articles, watched some youtube videos but all in vain. I have chosen to draft a nice article that constitutes of baby steps that is suitable for aspiring Rails Engineers.
we will look at the new Fibers Feature in the future PHP update
Hello there! We're coming out of the shadows and continuing the series of articles about our product. We've got so many feedbacks (mainly positive), suggestions, and bug reports after publishing our last overview article. Today you'll see TestMace in action and try out some features of our application.
Generic implementation of the Composite Design Pattern in Python.
Since the introduction of Composer package manager and the PHP standards, writing PHP became easier and more manageable, whereas in the past you were almost forced to use a framework to maintain your project in a professional matter, nowadays this is not necessary, and today I will show you how to glue together a small API project with basic routing, third party packages, and testing without a framework.
Why C++ math functions can be slow and how to fix them
Velo's APIs empower you to take full control of your site’s functionality. Use the APIs to interact with site elements, your site’s database content & Wix Apps
JavaScript typed arrays are array-like objects that provide a mechanism for reading and writing raw binary data in memory buffers. As you may already know, Array objects grow and shrink dynamically and can have any JavaScript value. JavaScript engines perform optimizations so that these arrays are fast.
In this article, java developers explain the Anatomy of system designing of a URL Shortener Solution or Tiny URL provider Service.
Explanation of how you can build your own memory graph on iOS
Asynchronous code is code that doesn't necessarily run line-by-line in the order you've written it. In Velo, you will often encounter asynchronous code when you call a function that cannot finish executing immediately and therefore returns a Promise.
There are many ideas and considerations behind graph databases. This includes their use cases, advantages, and the trends behind this database model. There are also several real-world examples to dissect.
Learning Django-Oscar can be cumbersome. In this tutorial, you will learn how to create a brand new Oscar app with a dashboard.
Continuous streams of data are ubiquitous and becoming even more so with the increasing number of IoT devices being used. Of course this data is stored, processed and analyzed to provide predictive, actionable results. But petabytes take long to analyze, even with Hadoop (as good as MapReduce may be) or Spark (a remedy to the limitations of MapReduce).
How to Interact with AWS (Amazon Web Services) cloud from your local machine.
Oi pessoal!
It has been officially announced that Magento 1 rounded off its support on June 20, 2020, which means that new features and updates are no longer delivered for this edition of the platform. How will it affect your business? Staying with Magento 1, you are likely to experience:
Mental Checklist
A CORS-safelisted request header is one of the following HTTP headers:
As part of Hacker Noon's Meet the Writer series of interviews, 18-year-old Sankalp Swami shares his thoughts on self learning and giving back to the community.
If you are testing REST APIs application with Oauth on Postman, generally you do the following,
The simplest definition of headless commerce goes like this- It is defined as an eCommerce architecture, that has its front end separate from the back end.
Retica is a free and open-source python web framework and is available via the pip package manager. The framework comes with ReticaCLI a terminal-based tool.
Efficiently validate forms with a single set of rules for both front-end and back-end using JSON Schema.
When searching for the best chat API, there are pros and cons to building your own or paying for a third-party solution, and we'll help you decide what is best.
A high-level, hands-on explanation of how HTTP works with real-life examples. Get your hands on using Telnet and CURL to make HTTP requests.
Note: You should have already learned about Web Modules before reading this article.
Distribute business-configuration using Apache Kafka, it could be a good idea if your services already use it for other purposes
Avoid duplicate-request & race-condition when creating JavaScript enhanced forms. Cancel previous fetch requests with AbortController.
Django is a straightforward option to pick up and offers a backend customized according to the users' needs.
I’d like to talk about something we don’t bring up quite as often.
Put simply, CI/CD makes us happy.
Learn how to build backend APIs that support progressive enhancement by detecting if a request was submitted with HTML forms or JavaScript.
Last week, I described a use-case for a custom Stream Collector. I received a intriguing comment on Twitter...
You might have heard what a Promise is or what Callback functions are in JavaScript. Clarity is needed when distinguishing between these two functions more so, when working with APIs in JavaScript-based applications.
Errors or mistakes are common in any aspects, especially in development. Using MySQL or any database can't guarantee you an error-free environment.
WSO2 Integration Studio is a development environment for designing, developing, debugging, and testing integration solutions.
ver open up a Rails console to debug a problem and come away wondering how the data got so funky? Despite our best efforts the database will accept plenty of garbage data if you let it. There are tons of methods to bypass the Rails callbacks and validations while still updating your database. If you are like me you have probably used these methods in the Rails console to fix some of that funky data you found after some other code created it in the first place.
When I was recently working in one of the client project, I had to communicate with external mariadb server to store records from react/rails app, that means I would get activerecord hash from our app which I had to convert to pure sql query and send it to external server for storing.
If you have worked with sql queries previously then you must know that keys and values must be separated for insert operations like
Web modules are exclusive to Velo and enable you to write functions that run server-side in the backend, and easily call them in your client-side code.
Implementation of business configuration provider tips. Java, Spring and MongoDB in action
Is it true that the inverse of a negative number is always a positive number? If you think it's true, you might get a subtle error while implementing comparison
SEO Settings for router pages vary slightly from the settings for regular pages. Learn about SEO for Wix pages here.
In Golang, we use goroutines to execute asynchronous tasks while these goroutines communicate with each other via the data structure called Channel.
The cost of microservices from a developer's perspective.
This is the third post in a series about uploading files for the web. This post covers receiving multipart/form-data in Node.js and saving files to disk.
Introduction to streams API
FastAPI has been instrumental to me in understanding backend engineering and thinking about processes and how stuff can and should work. It is an intelligent to
If you already have a handy tool that you like to add to your daily environment, creating a slack app would be a great way to do it.
This article explains how to gracefully shut down an asyncio app without losing data. It illustrates problems with asyncio.shield().
Just in time for Halloween failures in production are scarier than most movie monsters. Here's a personal scary story of a production fail.
A forbidden response header name is an HTTP header name (either Set-Cookie
or Set-Cookie2
) that cannot be modified programmatically.
Securing Redis installation with mTLS and accessing it from a compute instance on GCP for free.
See what the Properties and Events panel looks like here
GraphQL Editor new release
Learn how to build an SMS reminder system using Vonage SMS API and FastAPI
HTTP Public Key Pinning (HPKP) is a security feature that tells a web client to associate a specific cryptographic public key with a certain web server to decrease the risk of MITM attacks with forged certificates.
HTTPS (HyperText Transfer Protocol Secure) is an encrypted version of the HTTP protocol. It uses SSL or TLS to encrypt all communication between a client and a server. This secure connection allows clients to safely exchange sensitive data with a server, such as when performing banking activities or online shopping.
Cost optimization strategies for AWS services are abundant. Prioritizing between your options is necessary to make sure you don’t overload yourself with the wealth of information. Looking at the best practices in the industry right now and the practices that have now become obsolete would help you find stability in your finances.
In cryptography, encryption is the conversion of cleartext into a coded text or ciphertext. A ciphertext is intended to be unreadable by unauthorized readers.
From Engineering to Surfing!
Have you ever experienced an itch you just can’t scratch? If yes, then you will feel my pain. A few days back, everything was fine, I was happily writing code(!) and doing standup meetings regularly. Just before the weekend, my boss called me and shared this problem with me.
Grafana Loki logging system architecture and components, its setup in Kubernetes from the Helm chart with AWS S3 as Single Store and boltdb-shipper for indexes.
Writing clean code isn’t hard, but sometimes getting a piece of code to work right can get in the way of making it maintainable.
Low-level languages like C, have manual memory management primitives such as malloc() and free(). In contrast, JavaScript automatically allocates memory when objects are created and frees it when they are not used anymore (garbage collection). This automaticity is a potential source of confusion: it can give developers the false impression that they don't need to worry about memory management.
Refi App - A tool to make developer less painful when interacting with Firestore DB
HTTP Strict Transport Security lets a web site inform the browser that it should never load the site using HTTP and should automatically convert all attempts to access the site using HTTP to HTTPS requests instead. It consists in one HTTP header, Strict-Transport-Security, sent by the server with the resource.
Get through this in-depth guide on Java Streams in Java 8 where you can learn the basics of streams; explained with example codes.
Just a short story about how I switched my career path to software development.
As a back-end developer, the happy moment is to show your client that the work is now is live on the internet, everyone on the world can access the website. In this article, I will share my experience step by step to deploy your ruby on rails application on Heroku.
A CSP (Content Security Policy) is used to detect and mitigate certain types of website related attacks like XSS and data injections.
A key is a piece of information used by a cipher for encryption and/or decryption. Encrypted messages should remain secure even if everything about the cryptosystem, except for the key, is public knowledge.
Creating a router allows you to take complete control when handling certain incoming requests to your site.
Recently I had the need to change certain classes -from external dependencies- loaded on a Spring Boot application. All this happened in a very restrictive environment, where I was not allowed to use other libraries or tweak the JRE, it was only possible to modify the fat JAR and environment variables or system properties.
Heroku makes it easy to integrate with the Slack business communication platform. Three available options are presented in this article by @johnjvester
In this article, we will also go over and configure anything exclusive to PhpStorm. We start by setting some good defaults, that help with automated code format
As someone who’s held both front-end and back-end positions, and even been a hiring manager, read on and I’ll give you my thoughts.
With this website, you get to run performance, lighthouse, core web vitals, visual comparison, and traceroute tests on your website.
Technology touches almost every corner of the world economy. Even when it’s an indirect relation, in many cases tech is an essential, vital part of our societies. It just can’t fail without causing too much distress and losses. Not only financially, but especially to the human aspect.
In this section, I am going to write test code. Here we"ll discuss a little bit philosophy of testing but more writing tests.
What's AWS S3?
For a database administrator, the common everyday practice involves running multiple operations targeted at ensuring database security and integrity. Thus, we shouldn’t overlook the importance of sensitive data stored in the database under any circumstances. In light of this, we are excited to demonstrate the new ADD SENSITIVITY CLASSIFICATION command introduced in SQL Server 2019, which allows adding the sensitivity classification metadata to database columns.
Web development includes client-side scripting, server-side scripting, server and network security setup, e-commerce development, and content management system
MVC In Ruby On Rails.
People are still using autoincrementing integer ids in postgres in 2023 and they shouldn't be! UUIDs are leaps and bounds better.
When you enable Velo you also automatically get Wix Data, which lets you work with our built-in databases on your site. You may also want to work with data that you maintain in an external database. Velo lets you connect your site to an external database and then work with that database collection in your site just as you would with our built-in collections.
As a student of Microverse, I’ve reached the point where Rails’ framework was introduced to me. It appeared to me with the best omens on its hands. Ruby on Rails is a starting point for many start-ups because all of them got blinded by its beauty and simplicity. I have to admit that I felt intimidated for a while. Surely I can't say we are the best friends now but things started to make sense. Ruby on Rails is designed under the MVC principles - Model View Controllers.
A queue using an SQL-database? well, you need to know pros and cons, and a typical implementation.
“DevOps” is one of the most misunderstood terms in the software development industry.
My top favorite tools for spotting N+1 problems in database queries for Laravel projects.
When first looking into serverless migration and its architecture, it can feel like you’re staring down an endless shopping aisle of critical serverless tools that all need to be put into your basket straight away. Some services seem to offer the same function, while others can feel wildly different - both, as a result, can instill some doubts as to what is really necessary for your business and serverless application.
Why a Backend Software Engineer chose to write about his work on HackerNoon and how he managed to land his job at a fintech business with millions of clients.
This story is about pain, agony, and denial of ready-made solutions. It is also about changes that improve the code’s readability and help the development team stay happy. The object of this post is an interface that helps a program communicate with a database.
The output is what measures the success of a business. Therefore, all the business houses are adopting all the inevitable methods and programs to intensify their productivity/ output by adopting new technologies and concepts. There are several technologies available and many in the developing phase, which effectively fulfil customers’ needs and generates high output.
Workload identity is a modern way to provision keys for pods running on Google Kubernetes Engine. It allows individual pods to use a service account with a suitable set of permissions, without manually managing Kubernetes secrets. In this article, we will describe Workload identity, compare it to other approaches, and finally show a real world example on how to configure a Kubernetes cluster with Workload identity enabled.
In this article, we will be discussing in-depth APIs and web services. Also learn the basics of making an API call, its vulnerabilities, and the future.
Introducing a new JWT Debugger App - our way to contribute back to the developer community. The app is available on the web and as Desktop apps for Windows, Linux, and Mac. With JWT Debugger App we immediately highlight what really matters to you as a developer without any shenanigans. It is a very simple tool but we hope it will improve the developer experience.
As we all know, the on-demand capacity mode of DynamoDB is great but can be cost-prohibitive in some cases (up to seven times more expensive than the Provisioned Capacity mode).
The 17.5 version of SQL Server Management Studio (SSMS) brought with it a new built-in security tool. Since then, the Data Discovery and Classification feature has become a difference-maker in the protection of sensitive information.
If you've spent much time around C# and .NET, it's likely that you will have come across LINQ (Language-Integrated Query), which allows you to use a range of powerful querying capabilities directly in the C# language.
A cryptographic hash function, also sometimes called a digest function, is a cryptographic primitive transforming a message of arbitrary size into a message of fixed size, called a digest. Cryptographic hash functions are used for authentication, digital signatures, and message authentication codes.
Whether you have made simple queries with SQL language to get records in some relational database or you have experience as a complex database administrator, when starting it might seem extremely difficult to learn the syntax to select only what you require, or which table to join with which to make the necessary consultation.
HMAC is a protocol used for cryptographically authenticating messages. It can use any kind of cryptographic functions, and its strengh depends on the underlying function (SHA1 or MD5 for instance), and the chosen secret key. With such a combination, the HMAC verification algorithm is then known with a compound name such as HMAC-SHA1.
The hash function takes a variable length message input and produces a fixed-length hash output. It is commonly in the form of a 128-bit "fingerprint" or "message digest". Hashes are very useful for cryptography — they insure the integrity of transmitted data. This provides the basis for HMAC's, which provide message authentication.
In security protocols, a challenge is some data sent to the client by the server in order to generate a different response each time. Challenge-response protocols are one way to fight against replay attacks where an attacker listens to the previous messages and resends them at a later time to get the same credentials as the original message.
While we know the many benefits of going serverless - reduced costs via pay-per-use pricing models, less operational burden/overhead, instant scalability, increased automation - the challenges are often not addressed as comprehensively. The understandable concerns over migrating can stop any architectural decisions and actions being made for fear of getting it wrong and not having the right resources. This article discusses the common concerns around going serverless and our advice to minimise their impact.
CSRF (Cross-Site Request Forgery) is an attack that impersonates a trusted user and sends a website unwanted commands. This can be done, for example, by including malicious parameters in a URL behind a link that purports to go somewhere else:
Whether tethering off a feature phone or using the latest in wireless, a WebSockets backbone aids in user connectivity on many levels.
A mixin is a class that exists solely to provide properties and functions to other classes. Using mixins, you can simulate inheritance between classes.
IDE and File Search Key Combinations
A CORS-safelisted response header is an HTTP header which has been safelisted so that it will not be filtered when responses are processed by CORS, since they're considered safe (as the headers listed in Access-Control-Expose-Headers). By default, the safelist includes the following response headers:
Real-time communication is the vigorous pillar when it’s about businesses in recent days. This Blog helps to identify the best Voice Call APP.
Here, we have four roles: Sme, Sponsor, Admin, Operations.Initially, we had only 3 roles.Operations role was added later and Operations user has permissions similar to the Admin user.In the code, we had to replace every instance of if (user.type == USER_TYPES.ADMIN) with if (user.type == USER_TYPES.ADMIN || user.type == USER_TYPES.OPERATIONS).As this is time consuming and we can also miss many instances, we have created a roles module. In the roles module,the roles are defined along with their respective permissions as seen in Code (Part-III). Based on the permissions for each role, we will evaluate the authorization for the user in each of our controller methods.If the user has access, only then he will be granted the resources.
A cipher suite is a combination of a key exchange algorithm, authentication method, bulk encryption cipher, and message authentication code.
Jeremy Evans is the lead developer of the Sequel database library, the Roda web toolkit, the Rodauth authentication framework, and many other Ruby libraries. He
In cryptography, decryption is the conversion of ciphertext into cleartext.
In cryptography, a cipher is an algorithm that can encode cleartext to make it unreadable, and to decode it back.
Cryptanalysis is the branch of cryptography that studies how to break codes and cryptosystems. Cryptanalysis creates techniques to break ciphers, in particular by methods more efficient than a brute-force search. In addition to traditional methods like frequency analysis and index of coincidence, cryptanalysis includes more recent methods, like linear cryptanalysis or differential cryptanalysis, that can break more advanced ciphers.
You are developing a Ruby application where the user can sign up, and after submitting the form, the user has to receive an email. Will you send it immediately? If so, the user will have to wait while the application connects to the email server and sends the actual email. That’s bad for the user experience.
A digital certificate is a data file that binds a publicly known cryptographic key to an organization. A digital certificate contains information about an organization, such as the common name (e.g., mozilla.org), the organization unit (e.g., Mozilla Corporation), and the location (e.g., Mountain View).
How dotNetify implemented horizontal scaling of SignalR apps with proxy instead of a backplane.
CORS (Cross-Origin Resource Sharing) is a system, consisting of transmitting HTTP headers, that determines whether browsers block frontend JavaScript code from accessing responses for cross-origin requests.
A Man-in-the-middle attack (MitM) intercepts a communication between two systems. For example, a Wi-Fi router can be compromised.
Frustrated with unorganized business logic in your Ruby-on-Rails app? Forget what you know about object-oriented design and start using services.
Video calling is ideal for every type of industry and is considered one of the easiest and safest modes of communication. Because of this, several organizations around the globe are opting for live video chat apps and integrating real-time streaming chat software. The ultimate intention is to facilitate visitors on the website or portal and make communication easy and effective. But, how does an organization choose a video call service provider? And what are the factors to consider before opting for the best live video call APIs and SDKs?
Want to know what is NodeJS and Why You Should Use It? Here is detailed blog covering every minute detail of NodeJS.
What is MongoDB?
Application example built with Angular 15 and hosted on GitHub Pages using Travis CI.
A block cipher mode of operation, usually just called a "mode" in context, specifies how a block cipher should be used to encrypt or decrypt messages that are longer than the block size.
Sending mail from a Rails application has been covered by hundreds or thousands of articles, however, there is not a ton of articles about receiving, parsing and using the new ActionMailbox.
Get smarter with your risk, using this market rotation dashboard (python/Google Sheets, works with any financial instrument) Adjust your risk intelligently as t
In cryptography, a ciphertext is a scrambled message that conveys information but is not legible unless decrypted with the right cipher and the right secret (usually a key), reproducing the original cleartext. A ciphertext's security, and therefore the secrecy of the contained information, depends on using a secure cipher and keeping the key secret.
In general, your site is secure without you having to do anything. Wix takes care of that for you. However, there are certain situations where you have to take some precautions so that you don't expose your sensitive data to your site's visitors.
Cross-site scripting (XSS) is a security exploit which allows an attacker to inject into a website malicious client-side code. This code is executed by the victims and lets the attackers bypass access controls and impersonate users. According to the Open Web Application Security Project, XSS was the seventh most common Web app vulnerability in 2017.
We cover the fundamental concepts to kickstart your career as a web developer in 2021, such as learning the basics, connecting to the backend, and more.
There are different interfaces provided by Java that allows you to modify TestNG behaviour. These interfaces are further known as TestNG Listeners in Selenium WebDriver. TestNG Listeners also allows you to customize the tests logs or report according to your project requirements. TestNG Listeners in Selenium WebDriver are modules that listens to certain events and keep track of test execution while performing some action at every stage of test execution.
Datagram Transport Layer Security (DTLS) is a protocol used to secure datagram-based communications. It's based on the stream-focused Transport Layer Security (TLS), providing a similar level of security. As a datagram protocol, DTLS doesn't guarantee the order of message delivery, or even that messages will be delivered at all. However, DTLS gains the benefits of datagram protocols, too; in particular, the lower overhead and reduced latency.
MySQL is an open-source relational database management system. As the name suggests, it is used to create, update, and store databases. It is based on SQL (Structured Query Language). So, today we will be checking out the 13 most asked questions on MySQL.
ASP.NET is an open-source server-side web application framework that was developed by Microsoft. It is mostly used for building dynamic websites and applications. It is free and a cross-platform framework. So, today we will be checking out the 11 most asked ASP.NET questions.
Type inference is a common feature among mainstream programming languages. The functional ones, like ML and Haskell, are pioneers in exploring this programming paradigm where the declaration of a variable or a function may omit a type annotation. Today, even classic imperative languages such as C++ offer, to a certain extent, a kind of type inference.
So you’ve decided to choose AWS as the primary provider of your cloud service and now you’re looking into setting up your environment. You’ve got your project to be deployed and all you have left to do is choose an AWS instance that will run your machine image. But now, like many others before you, you are stumped by the countless choices of EC2 instances out there.
This article describes how you can use the Velo Paid Plans API to customize how you offer pricing plans to your site's visitors. We're going to explain how we set up a sample site and the code we added to make it work.
Track your job applications with the new Notion API. Besides that, you also use Node.js and FastifyJS to create a REST API.
The Realtime API is used to send messages in realtime over channels that your site visitors are subscribed to. In this tutorial, we demonstrate the usage of the Realtime API by sending breaking news alerts to visitors on a news site. We allow visitors who are members of our site to decide what types of news alerts they receive. Alerts are sent using an admin page where the admin can choose what type of alert to send.
Build an application that allows you to vote courses in tech. You will use technologies such as GraphCMS, Nuxt.js, GitHub, TailwindCSS and NPM.
Visit the /Learn Repo to find the most read stories about any technology.