1604026800
As we move into the cloud computing era, we’ve seen the floodgates open and waves of new development frameworks taking advantage of every opportunity that cloud computing technologies offer.
To the non-technical audience, it can become overwhelming and sometimes confusing to navigate these waters into new frontiers. For that reason, we’re going to break down the technical jargon into the real world benefits.
Traditionally, organisations have become accustomed to building server facilities on site. Under the microscope, the indirect costs start to add up, significantly - floor space, security, fire suppressors, backup power and networking infrastructure, and the cost of highly talented staff to maintain and manage the infrastructure – to name a few. Add in the expense to duplicate all of this at a disaster recovery site, and it becomes an expensive and complicated business - only to manage your IT.
Cloud computing takes away most of this burden, by moving much of this infrastructure into a specialist service provider’s premise, offering savings through economies of scale. Not only do you save on the like-for-like costs, but you also see efficiencies through on-demand pricing models (billing per hour).
Some of the key benefits:
At the time of writing, the largest service providers include Amazon (AWS) and Microsoft (Azure), capturing 60% of the cloud computing market. Gartner predicts that by 2022, up to 60% of organisations will be using cloud technologies, signalling the industry shift from traditional to cloud-based infrastructure.
#low-code #low-code-platform #lowcode #elastic #elastic-cloud #scaling #scalability #cloud-computing
1604026800
As we move into the cloud computing era, we’ve seen the floodgates open and waves of new development frameworks taking advantage of every opportunity that cloud computing technologies offer.
To the non-technical audience, it can become overwhelming and sometimes confusing to navigate these waters into new frontiers. For that reason, we’re going to break down the technical jargon into the real world benefits.
Traditionally, organisations have become accustomed to building server facilities on site. Under the microscope, the indirect costs start to add up, significantly - floor space, security, fire suppressors, backup power and networking infrastructure, and the cost of highly talented staff to maintain and manage the infrastructure – to name a few. Add in the expense to duplicate all of this at a disaster recovery site, and it becomes an expensive and complicated business - only to manage your IT.
Cloud computing takes away most of this burden, by moving much of this infrastructure into a specialist service provider’s premise, offering savings through economies of scale. Not only do you save on the like-for-like costs, but you also see efficiencies through on-demand pricing models (billing per hour).
Some of the key benefits:
At the time of writing, the largest service providers include Amazon (AWS) and Microsoft (Azure), capturing 60% of the cloud computing market. Gartner predicts that by 2022, up to 60% of organisations will be using cloud technologies, signalling the industry shift from traditional to cloud-based infrastructure.
#low-code #low-code-platform #lowcode #elastic #elastic-cloud #scaling #scalability #cloud-computing
1594670400
Given the benefits of rapid development - lower costs, faster delivery, and greater accessibility - the low-code market is pushing forward to a digital revolution and is projected to reach $27.23 billion in the year 2022. But for those with an eye for faster development cycles will know, today’s leading platforms - such as OutSystems, Mendix, Linx - were offering rapid development tools from as early as the naughties.
Since then, there has been no looking back.
But before we get to 2022, we need to understand 2020 - the year of Coronavirus - which has ushered in a new reality: Being an adaptable, the digital enterprise has never been more critical. So, how do we adapt, and what lies ahead in 2020?
In this era of digital transformation, the ability to ship products quickly is a precious trait. Embracing the changes in technology and the newest innovations is no longer limited to the high-flying startups in Silicon Valley or Fortune 500s. Today, every company needs to be a technology company in some way.
Specifically for development, we have come to a place where thanks to many libraries and frameworks, what would’ve once taken many developers to build from scratch is now more often than not, replaced by very few IT pros plumbing different things together.
And if this is the trend to follow (efficiency!), it is why we are seeing so many “no-code” or “low-code” solutions popping up all over the place.
The truth is that in 2020, there are increasingly fewer reasons to write code. From small one or two-person businesses to unicorn startups and large multinationals, every company needs a developer or a team of developers to help with scaling digitally. The difference today is the increased demand to deliver products quickly, meaning that developers need a way to move faster. For those willing to break the model of traditional development, the solution can be found in low-code tools.
And the benefits are apparent:
#software development #application development #digital transformation #software application development #low-code #low-code platform #low code benefits #low code programming
1604008800
Static code analysis refers to the technique of approximating the runtime behavior of a program. In other words, it is the process of predicting the output of a program without actually executing it.
Lately, however, the term “Static Code Analysis” is more commonly used to refer to one of the applications of this technique rather than the technique itself — program comprehension — understanding the program and detecting issues in it (anything from syntax errors to type mismatches, performance hogs likely bugs, security loopholes, etc.). This is the usage we’d be referring to throughout this post.
“The refinement of techniques for the prompt discovery of error serves as well as any other as a hallmark of what we mean by science.”
We cover a lot of ground in this post. The aim is to build an understanding of static code analysis and to equip you with the basic theory, and the right tools so that you can write analyzers on your own.
We start our journey with laying down the essential parts of the pipeline which a compiler follows to understand what a piece of code does. We learn where to tap points in this pipeline to plug in our analyzers and extract meaningful information. In the latter half, we get our feet wet, and write four such static analyzers, completely from scratch, in Python.
Note that although the ideas here are discussed in light of Python, static code analyzers across all programming languages are carved out along similar lines. We chose Python because of the availability of an easy to use ast
module, and wide adoption of the language itself.
Before a computer can finally “understand” and execute a piece of code, it goes through a series of complicated transformations:
As you can see in the diagram (go ahead, zoom it!), the static analyzers feed on the output of these stages. To be able to better understand the static analysis techniques, let’s look at each of these steps in some more detail:
The first thing that a compiler does when trying to understand a piece of code is to break it down into smaller chunks, also known as tokens. Tokens are akin to what words are in a language.
A token might consist of either a single character, like (
, or literals (like integers, strings, e.g., 7
, Bob
, etc.), or reserved keywords of that language (e.g, def
in Python). Characters which do not contribute towards the semantics of a program, like trailing whitespace, comments, etc. are often discarded by the scanner.
Python provides the tokenize
module in its standard library to let you play around with tokens:
Python
1
import io
2
import tokenize
3
4
code = b"color = input('Enter your favourite color: ')"
5
6
for token in tokenize.tokenize(io.BytesIO(code).readline):
7
print(token)
Python
1
TokenInfo(type=62 (ENCODING), string='utf-8')
2
TokenInfo(type=1 (NAME), string='color')
3
TokenInfo(type=54 (OP), string='=')
4
TokenInfo(type=1 (NAME), string='input')
5
TokenInfo(type=54 (OP), string='(')
6
TokenInfo(type=3 (STRING), string="'Enter your favourite color: '")
7
TokenInfo(type=54 (OP), string=')')
8
TokenInfo(type=4 (NEWLINE), string='')
9
TokenInfo(type=0 (ENDMARKER), string='')
(Note that for the sake of readability, I’ve omitted a few columns from the result above — metadata like starting index, ending index, a copy of the line on which a token occurs, etc.)
#code quality #code review #static analysis #static code analysis #code analysis #static analysis tools #code review tips #static code analyzer #static code analysis tool #static analyzer
1602725748
APIs have been around for decades – they allow different systems to talk to each other in a seamless, fast fashion – yet it’s been during the past decade that this technology has become a significant force.
So then why all the interest in APIs? We all know the usual stories – Uber, Airbnb, Apple Pay… the list goes on, and the reasons are plentiful. Today the question is, how? Perhaps you are looking to differentiate your business or want a first-mover advantage. How can you execute quickly and at low cost/risk to try new market offerings?
An API provides several benefits to an organisation, but without a dedicated team of trained developers, it might seem like an implausible option. Developers are expensive, and it can take months to develop an API from the ground up. If you don’t fancy outsourcing or have the capability in house to build internal APIs, a low-code platform might just be the answer.
For a small one-page application, this might only be a day or two of talking with stakeholders and designing business logic. The purpose of this first step is to ensure that the API will cover all use cases and provides stakeholders with what they need. Refactoring an entire coding design due to missing business logic is not only frustrating for the development team but adds high cost and time to the API project.
During the planning and design stage, remember that running an API requires more infrastructure than just resources to execute endpoint logic. You need a database to store the data, an email system to send messages, storage for files, and security to handle authorisation and authentication. These services can be farmed out to cloud providers to expedite the API build process (e.g. AWS provides all these infrastructure components, but Microsoft Azure is an optional cloud provider with SendGrid as the email application.)
**Planning considerations: **An API “speaks” in JSON or XML, so the output provided to client applications should be decided. Should you choose to later create endpoints for public developer consumption, you could offer both for ease-of-use and fostering more adoption. Ensuring the API follows OpenAPI standards will encourage more adoption and attract more developers.
#api #rest-api #api-development #restful-api #low-code-platform #low-code #build-a-rest-api #low-code-approach
1621137960
Having another pair of eyes scan your code is always useful and helps you spot mistakes before you break production. You need not be an expert to review someone’s code. Some experience with the programming language and a review checklist should help you get started. We’ve put together a list of things you should keep in mind when you’re reviewing Java code. Read on!
NullPointerException
…
#java #code quality #java tutorial #code analysis #code reviews #code review tips #code analysis tools #java tutorial for beginners #java code review