In my last post, we’ve discussed the importance of communication in a project as well as why communication breakdown occurs and the general method to avoid it. Today, I would like to share some little tips that get me through and avoid potential breakdowns. Hopefully, it can help you too.

1. Know your requirements

A mind with clarity is the first step to effective communication. How can you explain your requirements if you don’t know what they are? Developers are often faced with vague, wishy-washy briefs such as “it needs to be just like Facebook, only — er — like, different”.

A good developer will immediately begin to analyze your idea. They’ll ask questions. They’ll pose “what-if” scenarios. No one will expect you to have all the answers, but you should be able to discuss the majority of problems. If you can’t, you haven’t thought the project through. It’ll fail.

Depending on the project, this documentation might include a style guide, mock-ups, and/or flowcharts. If you don’t know exactly what you want, there’s little chance even the best developer will deliver something you’re happy with. Time spent up front hammering out the details is never time wasted. The less you assume and the more you document, the smoother the project runs.

2. Be clear and decisive

A developer’s answer and explanation are only as relevant as the question that is asked of them. In describing a feature, be careful to note when action would be taking place, how this action would trigger a reaction, and what the result would be. Are there any conditions on the feature? For example, can only some users take this action or can everyone? Use the same descriptive detail when describing a problem as well.

Try to think like an engineer.

Technologically challenged employees can learn to make things way easier on a software development team. Going through the following iterative process will enable them to conceptualize their problems in new ways and think more like engineers:

3. Don’t assume anything

One of the worst statements made by non-developers is: “Hey, we should implement feature X. It’s easy, right — it’ll only take a few hours.”

It might take a few minutes, a few months, might be impractical or might be technically impossible. You don’t know — if you did, you wouldn’t require a developer to implement it for you.

Talking might not be the easiest way to communicate with software developers

4. Communicate the “Why”

This one gets missed out most of the times, but in fact, the “why” is as important as the “what”. You must answer the question “Why” – yes even if you have not been asked. Why are you building what you are building? What is that motivates you or what inspired you to get started with this product in the first place? Why do you need it?

This is one thing if communicated well, can be the separation between software which checks all the boxes to be great and the one which does not even meet its objectives. Having your software developers aligned with the vision of the product makes everyone feel part of the team.

5. Give Feedback and keep communicating

Your project plan should include ongoing communication with frequent updates from your developer. This ensures your project stays on track and that you don’t find yourself with something totally different than what you initially expected.

To make the most of regular updates, be sure to provide useful feedback to your developer. If you don’t like something, let them know why. Nothing is more frustrating than being told something is wrong and not knowing why. And demoralizing your developer is not the way to get what you want. Make sure your feedback is meaningful and actionable at all times—even when you’re happy with the work.

6. Mutual Respect

This isn’t just an empty ‘Hey, I respect you’ and a thumbs-up, it’s allowing people to take ownership of their own work, and giving them control over your work too. Even though they’re a developer, they may be okay designing something from a quick sketch based on your visual language without any design input!

Final Thoughts

While you may be lucky enough to find a developer who understands your vision from the outset, most of the time that’s not the case. We hope these seven tips will help you communicate more efficiently with your developer. Clearly defining your vision, explaining your requirements up front, and providing your developer with helpful feedback are all key to ensuring the project meets your expectations

Although this post was written with a developer’s perspective, we get that effective communication is a two-way street. Ensuring success in a development project or relationship goes back to ultimately one key take away: context. In the next part, we will talk about the developer’s side of communication.

Masked Man


Big data has become a major component in the tech world today, thanks to the actionable insights and results businesses can glean. However, the creation of such large data sets also requires understanding and having the proper tools on hand to parse through them to uncover the right information. To better comprehend big data, the fields of data science and analytics have gone from largely being relegated to academia, to instead becoming integral elements of business intelligence and big data analytics tools.

However, it can be confusing to differentiate between data analytics and data science. Despite the two being interconnected, they provide different results and pursue different approaches. If you need to study data your business is producing, it’s vital to grasp what they bring to the table, and how each is unique. To help you optimize your big data analytics, we break down both categories, examine their differences, and reveal the value they deliver.

What is Data Science?

Data science is a multidisciplinary field focused on finding actionable insights from large sets of raw and structured data. The field primarily fixates on unearthing answers to the things we don’t know we don’t know. Data science experts use several different techniques to obtain answers, incorporating computer science, predictive analytics statistics, and machine learning to parse through massive data sets in an effort to establish solutions to problems that haven’t been thought of yet.

Data scientists main goal is to ask questions and locate potential avenues of study, with less concern for specific answers and more emphasis placed on finding the right question to ask. Experts accomplish this by predicting potential trends, exploring disparate and disconnected data sources, and finding better ways to analyze information.

What is Data Analytics?

Data analytics focuses on processing and performing statistical analysis of existing data sets. Analysts concentrate on creating methods to capture, process, and organize data to uncover actionable insights for current problems, and establishing the best way to present this data. More simply, the field of data and analytics. is directed towards solving problems for questions we know we don’t know the answers to. More importantly, it’s based on producing results that can lead to immediate improvements.

Data analytics also encompasses a few different branches of broader statistics and analysis which help combine diverse sources of data and locate connections while simplifying the results.

What is The Difference?

While many people use the terms interchangeably, data science and big data analytics are unique fields, with the major difference being the scope. Data science is an umbrella term for a group of fields that are used to mine large data sets. Data analytics is a more focused version of this and can even be considered part of the larger process. Analytics is devoted to realizing actionable insights that can be applied immediately based on existing queries.

Another significant difference between the two fields is a question of exploration. Data science isn’t concerned with answering specific queries. Instead of parsing through, massive data sets in sometimes unstructured ways to expose insights. Data analysis works better when it is focused, having questions in mind that need answers based on existing data. Data science produces broader insights that concentrate on which questions should be asked, while big data analytics emphasizes discovering answers to questions being asked.

More importantly, data science is more concerned about asking questions than finding specific answers. The field is focused on establishing potential trends based on existing data, as well as realizing better ways to analyze and model data.

Data Science Data Analytics
Scope Macro Micro
Goal To ask the right questions Find actionable data
Major Fields Machine learning, AI, search engine engineering, corporate analytics Healthcare, gaming, travel, industries with immediate data needs
Using Big Data Yes Yes

The two fields can be considered different sides of the same coin, and their functions are highly interconnected. Data science lays important foundations and parses big data sets to create initial observations, future trends, and potential insights that can be important. This information by itself is useful for some fields especially modeling, improving machine learning, and enhancing AI algorithms as it can improve how information is sorted and understood. However, data science asks important questions that we were unaware of before while providing little in the way of hard answers. By adding data analytics into the mix, we can turn those things we know we don’t know into actionable insights with practical applications.

When thinking of these two disciplines, it’s important to forget about viewing them as ‘data science vs data analytics’. Instead, we should see them as parts of a whole that are vital to understanding not just the information we have, but how to better analyze and review it.

Hope you all find the blog helpful! Share your thoughts on the topic right now!

Hoa Nguyen

 

 


Have you ever worked with developers in other departments and constantly felt frustrated because they talk to you in alien language or don’t do exactly what you told them to? In the exciting fast-paced world of technology startups, communication failures between different departments can spell disaster. Well, sometimes we blame that it’s because developers’ communication skills are below average, or there is a huge gap between developers and non-developers way of communicating. But is that true?

Let’s dive in the realm of communication and see how to prevent company initiatives from becoming lost in translation.

The Importance of Good Communication

Stakeholders, project managers, and developers work in very different realms. So one of the keys to a successful project is good communication. Be it a requirement, document, tickets, technical stuff… everything must be communicated clearly and effectively.

Developers are often being known for being quiet and more introvert. They rely on other stakeholders for the communication process, this is where the challenge comes in. Often, non-developers won’t necessarily know or take for granted “obvious” information that developers may not be aware of, adding complexity and mutual frustrations to a project – which ultimately reads as cost. Apart from that, what do we really mean when we talk about communication?  Communicating is an exchange of information between parties, be it people, or project management tools. From video conferences to GitHub notifications, these are all part of the project communication landscape and require different levels of attention.

Why There is a Communication Breakdown between Developers and Non-developers?

Communicating can be a challenge. Communicating with software developers can be even more of a challenge. All developers are human. Developers can feel lazy, they can misunderstand what others are trying to say. And they can miss small changes that can turn a difficult feature into a trivial one.

How to Improve and Avoid Communication Breakdown?

Poor communication with developers can be costly, here’s how we can do it better. Both developers and non-developers can change their approach to these conversations to avoid this type of communication breakdown and improve the quality of their decisions.

To determine a better-communicating strategy, it is important to consider the situation. What are each person’s goals in the conversation? And what does each person bring to the conversation? Often, the developers seek information and feedback from the non-developers. Meanwhile, non-developers tend to require an immediate response from the other parties. This scope difference is a major source of communicating problems between developers and non-developers.

The Methods

Why talking might not be the easiest way to communicate with software developers, you can try to use other means such as:

All these types of communication serve a unique role. We wouldn’t use them if they weren’t helpful, but the question we really should be asking is, “are they necessary?”  Gone unchecked, many of these tools can overrun each other and tangle the workflow. This communication is most of the time done by writing, which, in some cases, can result in a few misinterpretations even between good communicators.

In my next blog, I will share some of the tips to rescue a communication breakdown. Stay tuned!

To be continued…

                           Masked Man


In a world where IT talent and positions are growing exponentially, it seems difficult to believe that IT departments across the world could be underperforming. One of the best ways for organizations and departments to remedy this fault is to consider Augmented Staffing.

What is Augmented Staffing?

Augmented Staffing is an outsourcing strategy which is used to staff a project and respond to the business objectives. The technique consists of evaluating the existing staff and then determining which additional skills are required. One possible advantage of this approach is that it may leverage existing resources as well as utilize outsourced services and contract workers. The goal of the exercise is to handle staffing requirements with an existing set of talent. Numerous consulting companies offer staff augmentation services.

IT Augmented Staffing services entail allocation of dedicated technical resources, usually offshore, hired as overseas development extensions of in-house application development teams on fixed or flexible terms and conditions. This is a service where the provider will augment the client’s workforce with skilled persons. The Client is still responsible to manage the persons and the work which they will be completing. The software developers are hired based on their technological skill set. Using IT staff augmentation services provide a one-window solution to companies who might require application development across diverse technology verticals.

When You Need Augmented Staffing?

Staff augmentation is frequently used in the IT and software engineering industries. However, it can be helpful for any business that needs human resources to deal with a special project or business spike. Here are some common scenarios:

Whatever your staffing needs, augmented staffing works best when you have a management system set up to provide project oversight. That way, you can fill crucial positions with a variety of contractors and freelancers in the knowledge they will slot right into your existing operating structure, just like regular employees.

Benefits of Augmented Staffing?

The main benefit to staff augmentation is that the contractors you hire can jump straight in and get to work. There are hardly any hiring formalities, so you’re not wasting valuable time with recruitment, background checks, and onboarding. Perhaps more significantly, you’re not taking on the burden of additional payroll duties. You can simply ramp up and down to meet fluctuating staffing demands without shouldering the cost associated with hiring permanent, full-time employees:

Not bound by geographical limitations

Augmented Staffing presents a very effective solution for this problem, as it allows you to connect with developers located in other countries. You’ll just need to give your detailed requirements to the vendor providing staff augmentation services, and then choose the best candidates out of those the vendor pre-selects.

Reduces time spent on recruitment

Augmented Staffing companies can help you reduce your time-to-hire from months to weeks or even days. Such companies normally keep extensive and regularly-updated databases of tech workers, so it’s likely that they’ll be able to match you with the right candidate a lot faster. You’ll be able to save plenty of time and jump straight to interviewing the most promising candidates

No infrastructure investment

Augmented Staffing helps you avoid all of these investments, since office facilities, work stations, and support staff is all provided by the staff augmentation vendor. Even if the developer you hire through the staff augmentation model decides to leave shortly after they joined your company, you don’t end up with stagnant infrastructure investments.

Eliminates the additional costs of having in-house employees

With Augmented Staffing, you no longer have to pay for employee benefits, technically your developers are employees of the staffing provider. Of course, the provider will charge a fee for their services, but it will almost certainly be a lot lower than what you’d have to pay if the developers were on your payroll.

What’s your thought of Staff Augmentation? Please share with us!

If you find our blog interesting, don’t hesitate to sign up cause we’ll be back with plenty more of them!

 

Ha Pham

 


First introduced in 2007 as part of the now-abolished Home Information Pack, an energy performance rating is necessary for properties being sold or rented in England, Wales and Northern Ireland.

In 2012 EPCs were updated and simplified to support the Green Deal, making up part of its assessment. The Green Deal was introduced to help homeowners make energy-saving improvements to their property. The EPC is valid for ten years and the survey of the property will usually take between 45 minutes and an hour.

The most efficient homes – which should have the lowest fuel bills – are in band A. The Certificate also tells you, on a scale of A-G, about the impact the home has on the environment. Better-rated homes should have less impact through Carbon Dioxide (CO2) emissions.

The average property in the UK is in bands D-E for both ratings. The Certificate includes recommendations on ways to improve the home’s energy efficiency to save you money and help the environment. EPCs apply also to commercial buildings and are rated only by Carbon Dioxide emission ratings on a scale of A-G.

The energy efficiency rating given through Energy Performance Certificates (EPCs) is used as a proxy for the energy efficiency of a dwelling. EPCs thus become a good indicator of the willingness-to-pay for energy efficiency.

The EPC also will give an indication of how much it will cost to heat and power their home. Details are also listed on potential savings that could be made should you improve the energy efficiency of their household running costs.

The Energy Performance Certificate is designed to help homeowners reduce the environmental impact of their homes. It can act as a useful guide to help you work out which areas to focus on first when improving their home’s efficiency. The Energy Savings Trust estimates that following the recommendations in an Energy Performance Certificate, an average of £300 a year can be saved in fuel bills.

EPCs on property values and overcoming obstacles in the wider use of EPCs across the EU.

For instance, in some countries, EPCs are not yet mandatory at all stages of real estate use (e. g. design, primary market release, secondary market transactions, and renovations). In those countries, where EPCs are already mandatory, this requirement might be better fulfilled if EPCs would be also requested by lawyers/notaries as proof of real estate transactions.

Bureaucratic hurdles in issuing EPCs should be reduced while at the same time the evaluation of Energy Performance Certificates in terms of reliability should be improved. On top, improved training and qualifying of the certifiers as well as proper quality control would increase the reliability and credibility of EPCs.

These suggestions for the improvement of the EPC scheme could either be enacted voluntarily via national models or through the expected recast of the EPBD on the European Union level in 2017/2018.

Trang Trinh


In this week’s blog, I’d like to talk about the HipHop Virtual Machine (HHVM).

What’s HipHop Virtual Machine?

This is a PHP processing platform developed by Facebook. Facebook’s entire site runs on HHVM (desktop, API, and mobile), both in development and production.

HipHop Virtual Machine is an open-source virtual machine designed for executing programs written in Hack and PHP. HHVM uses a just-in-time (JIT) compilation approach to achieve superior performance while maintaining the development flexibility that PHP provides.

HHVM supports Hack, PHP 5 and the major features of PHP 7. We are aware of minor incompatibilities, so please open issues when you find them. HHVM also supports many extensions as well.

HHVM was created as the successor to the HipHop for PHP (HPHPc) PHP execution engine, which is a PHP-to-C++ transpiler also created by Facebook. Based on the gained experience and aiming to solve issues introduced by HPHPc, Facebook decided in early 2010 to create a JIT-based PHP virtual machine. Issues associated with HPHPc included its reaching of a plateau for further performance improvements, lack of full support for all features of the PHP language, and difficulties arising from specific time- and resource-consuming development and deployment processes required for PHP projects that used HPHPc.[10] In Q1 2013, the production version of facebook.com website stopped using HPHPc and switched to HHVM.

Following the JIT compilation principle, HHVM first converts the executed PHP or Hack code into a high-level bytecode, HHBC, which is also known as an intermediate language. HHBC is a bytecode format created specifically for HHVM, in a form that is appropriate for consumption by both interpreters and just-in-time compilers. As the next steps in execution, HHVM dynamically (“just-in-time”) translates the HHBC bytecode into x86-64 machine code, performs its additional optimizations through dynamic analysis of the translated bytecode, and executes the x86-64 machine code. As a result, HHVM has certain similarities to the virtual machines used by other programming languages, including the Common Language Runtime (CLR, for the C#language) and Java virtual machine (JVM, for the Java language).

HipHop Virtual Machine brings many benefits in comparison with HPHPc, and one of them is almost complete support for the entire PHP language as defined by the official implementation of PHP version 5.4, including the HHVM’s support for create_function() and eval()constructs. Furthermore, HHVM uses the same execution engine when deployed in both production and development environments, while supporting integration between the execution engine and the HPHPd debugger in both environment types; as a result, maintaining HPHPi (HipHop interpreter) separately as a development utility is no longer needed as it was the case with HPHPc. HHVM also eliminates the lengthy builds required by HPHPc to run PHP programs, resulting in much simpler development and deployment processes than it was the case with HPHPc.

Together with HipHop Virtual Machine, Facebook also released Hack, a derivative of PHP that allows programmers to use both dynamic typing and static typing, which is a concept also known as gradual typing, and allows types to be specified for function arguments, function return values, and class properties; however, types of local variables cannot be specified. At the same time, Hack does not provide complete backward compatibility by not carrying on some of the PHP features, such as the goto statement and dynamic variable names.

In September 2017, it was announced that version 3.24 would be the last version of HHVM to officially support PHP and that HHVM will only support Hack going forward, citing differences and incompatibilities in PHP 7

HipHop Virtual Machine release a new version every 8 weeks. At Facebook, HHVM is pushed every 2 weeks, but having everyone in the world update every 2 weeks would lead to too much testing and churn. After asking around this seems to be a good compromise between churn and getting new features. In the future, we could switch to every 6 weeks or 10 weeks or any multiple of 2 that the community likes.

There are definitely issues that need to be addressed with HHVM. The HHVM GitHub issues describe bugs that exist with the current implementation.

The HHVM team is working really hard to enhance functionality and fix bugs that currently exist.

HipHop Virtual Machine supported on

HipHop Virtual Machine Features

The JIT Compiler

Rather than directly interpret or compile PHP code directly to C++, HHVM compiles Hack and PHP into an intermediate bytecode. This bytecode is then translated into x64 machine code dynamically at runtime by a just-in-time (JIT) compiler. This compilation process allows for all sorts of optimizations that cannot be made in a statically compiled binary, thus enabling higher performance of your Hack and PHP programs.

The above is my introduction to the new technology I know. I’m quite surprised and interested in HHVM. Since Facebook uses this, its feature is also quite superior. Please share your thought on the comment below.

Thanh Tran


TwentyCi Asia was formed in 2013 as the remote IT department of TwentyCi Group. In 2017 we expanded our services and began offering development, testing, strategy and analytics support to external clients.

After 6 years of operation, we gladly announce that TwentyCi Asia’s rebranding as TwentyTech, a multinational technology service provider based in the United Kingdom.  All our current activities will remain the same, and hopefully, the change will offer TwentyTech many more opportunities.

Please contact us if you have any question about us/ our service.

Best regard,
BOD


Like many commission-based jobs, technical recruiting has a pretty low barrier to entry. Everything you need to know you can probably learn on the job and the payouts can be huge. At the same time, however, it is not an easy field to be successful in, in much the same way that consistent, high magnitude successes in sales are difficult. Confound that difficulty with the terror that comes with striking out on your own, and you’re in for a bumpy ride. Below, I’ll share the most salient things I’ve learned in the process of working as an IT recruiter.

  1. Understand the tech position you are looking to fill

The first problem for many HR professionals and recruiters is understanding tech positions. HR professionals and recruiters who don’t have a tech background often struggle with understanding which skills are essential for a specific tech position they are looking to fill.

For example, do you need a back-end, front-end, or full-stack developer? What are the most important skills this developer should have? As the recruiter, you must know exactly which skills and experience you are looking for in your ideal candidate.

Once you’ve defined the most important skills for your open tech position, you need to write a perfect job description.

  1. Get a good understanding of your candidates

The relationship between developers and recruiters is a rocky one because these two professional groups are very different from each other. To be successful in finding, attracting and hiring the best tech talent, you have to understand them. What is your ideal candidate like? You will find that out in the process of defining your candidate persona. Here is some additional information you might find useful!

  1. Invest in tooling as much as possible.

A lot of what you do in this business is administrative work. Anything you can invest in that will cut down on the manual aspect is going to save you time and keep you from forgetting stuff. Some of my favorite tools:

Trello is a task management app that gives you a visual overview of what is being worked on and who is working on it. It is best represented as a whiteboard filled with post-it notes. Each post-it represents a different task involved in the project.

Boomerang  – this email tool will make you look to the world like you’re on top of it, even if you’re crumbling slowly on the inside.

Evernote – the be-all and end-all of note-taking. For the love of god, don’t take notes in a physical notebook. I did it for a while because I was worried about people hating hearing typing sounds over the phone. Taking notes you can’t search later is dumb.

  1. Having an engineering background is hugely beneficial.

Even if you didn’t study it in school, take some time and take some online courses just to get an appreciation for what engineers do every day. The effects won’t be obvious immediately, but it’s going to change how you sound when you talk, give you more credibility, and set you apart from your competition.

Interested in our blogs? Check out some other amazing post right now!

Quyen Nguyen


Big Data changing Real Estate
Big Data is one of the technologies that gained its popularity in the real estate markets of many countries. The goal of Big Data technology is to automate the analysis of huge amounts of data from multiple information sources. And human capabilities will not be enough to process all this data. Therefore, companies will be able to optimize financial costs, time, and achieve a more accurate result that won’t be affected by a human factor.

Big Data works with machine learning to solve main business tasks. Huge data massive is analyzed according to set algorithms, and artificial intelligence provides people with the solution of a specific task. The most widespread example – credit appraisal of a borrower in banking or microfinance sector. Many banks already make their decisions on loan issuance on the basis of the verdict from an automated system.

The benefits of Big Data in Real Estate

There are numbers of benefits of Big Data in Real Estate, let’s consider the major ones.

  1. Reduces risks
    Big Data is a great technology for reducing financial risks. How is it possible? Due to predictive analytics. Companies working in the real estate industry can use it to estimate the overall condition of the building based on its age, reconstruction history, and the current owner information. All these help companies make informed decisions as well as provide their customers with up-to-date information and, as a result, increase their satisfaction from working with them.
  2. Improves the customer engagement rate
    Specialists working in the real estate field often come across unclear customer behavior and cannot figure out the reason why they do not like the proposed property and refuse from buying it. Predictive analytics can help solve this problem too. Tailor-made algorithms are able to analyze the needs of the customers and improve their overall experience of cooperating with a company or individual. In other words, real estate agents or companies could offer their customers the property of their dreams by leveraging the power of Big Data.
  3. Calculate the exact price
    The process of precise cost calculation in the real estate industry is rather difficult and time-consuming. It demands full information about a property’s location, condition, etc. The total price can vary depending on these factors, while most customers are willing to know the final price right away. Again, Big Data comes to the rescue by providing all the required information based on the analysis of neighborhood area, building condition, etc. As a result, a realistic price can be calculated.
  4. Allows for data-driven decisions
    Big Data works closely with machine learning and such a combination opens endless opportunities for the business. Just feed the algorithm with necessary data and it will process it to help you make the right decision.
  5. Enhances the marketing strategy
    Many real estate agents use social networks to get the required information about customers. The combination of Big Data and machine learning can define who are ready to buy a property and searching for some options at the moment.
  6. In insurance
    By processing a big scope of data, the algorithm can define what insurance plan is it better to apply in one or another region. This way, insurance companies can create custom plans.

Please let us know if you have any question. It’s our pleasure to help.

Ngoc Nguyen


Hi everyone, in the last post, we’d set up the project and config it

Today, we go to custom the autoloading effect forNuxt and make an alert notification center. We will use them very often after.

1. Autoloading effect

In many web application, when you click a link or submit a form… the loading icon will appear like a circle or a text like ‘loading…’

By default, Nuxt project has a very simple loading effect. It’s a line color on top of browser run from left to right. And it runs on every router changed or when we force perform it.

But now, I want to make my loading effect. In this case, I’d like it to be a circle with a transparent opacity background. We overwrite the default loading effect of Nuxt

We go to do it now.

First, you can search and make your favorite effect in HTML and CSS.

Then we create a component named “loading.vue” in components folder, its content is very simple, the template and script section just small like this:

In the template section, it’s just a div tag with id and CSS class, we also add a v-if directive to control it show or hide in script section.

In the script, we declare a ‘show’ property and set up some method to control when it starts, when it finishes, when it fails… For more detail, please see in nuxt default loading component.

The last part of our loading file, we write styles for it:

That’s all in loading.vue file

And now, the last thing we need to do: open nuxt.config.js file and find the ‘loading’ property. Replace it like below:


It means we use our custom loading component instead of the default.

Easy, right? See the result:

2. Make an alert notification center.

To do this, we use ‘vue-notification’ package

The detail in https://github.com/euvl/vue-notification, install it by running this command in Nuxt root folder (here is web-app):

“yarn add vue-notification”

After choosing the notification type you like, we will create our plugin step by step.

The first, create ‘vue-notifications.js’ in folder plugins:

Then, we need to add that file into the ‘plugins‘ array property in nuxt.config.js

The last step, we use the ‘ notifications’ directive in the default web layout, so we can use it everywhere:

Layouts/default.vue

That’s all of the configurations.

Now we will test it.

Make a test page: pages/test.vue

Simple is a button and when clicking on, it will trigger the push notification method.

In this method, we set some params: type is alert type (success, info, warning, danger…), title is notification title, and the text property is notification description.

Run page, click the ‘Test Notification’ button and see the result:

Thanks for reading, hope this series ‘s been helpful for you

In next post, we will make login using Nuxtauth and Laravel Passport. See you!

Huy Hoang