angular 模块构建
Sometimes trying a new technology mashup works wonders. Both Magento 2 + Angular 4 are very commonly talked about, and many consider them to be the future of the development industry.
有时尝试新技术的mashup会产生奇迹。 Magento 2 + Angular 4都被广泛讨论,并且很多人认为它们是发展行业的未来。
For example, I recently used Magento + Angular 4 to build a super-efficient HR management portal.
例如,我最近使用Magento + Angular 4构建了超高效的HR管理门户 。
One of the most sought after features of an hr portal is “managing diverse requirements promptly". This means that the human resources department need a software to manages the whole employee performance life cycle and other HR activities at a click of a button. For example, handling onboarding of employees, performance appraisals, training and development, leave management, grievance management, disciplinary processes, etc etc. then they review the final outcome.
人力资源门户网站最受欢迎的功能之一是“及时管理各种需求”,这意味着人力资源部门需要一个软件来管理整个员工绩效生命周期以及其他人力资源活动,只需单击一个按钮即可。 ,处理员工入职,绩效评估,培训和发展,休假管理,申诉管理,纪律处分程序等,然后他们审查最终结果。
The HR portal I built is an intuitive online management software that reported as high as 90 percent better output than other tools. However, it suffered from many challenges such as the speed of software, output quality, and promptness.
我构建的HR门户是一个直观的在线管理软件,其输出比其他工具高90%。 但是,它面临许多挑战,例如软件的速度,输出质量和及时性。
A user typically enters numerous details in combinations and has a hop between step 1 and step 2. Every time the user hops between different tabs, the entire details of the employee get reloaded. This is annoying and the chance of user abandonment is high.
用户通常会组合输入许多详细信息,并在步骤1和步骤2之间进行跳转。每次用户在不同选项卡之间进行跳转时,都会重新加载员工的整个详细信息。 这很烦人,并且用户放弃的机会很高。
The prototype of such an independent HR portal worked great. However, developing it was a complex task. Our developers had to make AngularJS and Magento (PHP) work together as a last resort.
这样一个独立的人力资源门户网站的原型效果很好。 但是,开发它是一项复杂的任务。 作为最后的选择,我们的开发人员必须使AngularJS和Magento(PHP)一起工作。
My firm ValueCoders software development company which is a world leader in IT and software solutions has its own development team that worked at their wits’ end on this HR portal.
我的ValueCoders软件开发公司是IT和软件解决方案的全球领导者,拥有自己的开发团队,他们在这个人力资源门户网站上发挥了积极作用。
Before coming to us, our client had already received offers from different development agencies. And, as a friendly favor, my team was asked to review all those ideas for their hr portal. But, I was amazed to see that one of them had sent only one thing that they were going to build the hr portal with the typescript-based framework Angular.
在来找我们之前,我们的客户已经收到了不同开发机构的报价。 而且,作为友好的帮助,我的团队被要求审查其人力资源门户网站的所有这些想法。 但是,令我惊讶的是,他们中只有一个人发送了他们打算使用基于打字稿的框架Angular构建hr门户的一件事。
And that wasn’t all. They had even tried to hide the fact that this technology wasn’t enough to build the hr portal. Instead, they promoted their brand and also proposed a price that didn't justify making an online HR portal with high-quality propositions.
不仅如此。 他们甚至试图掩盖这项技术还不足以建立人力资源门户的事实。 取而代之的是,他们推广了自己的品牌,并提出了一个价格,该价格不足以使在线HR门户具有高质量的主张。
The crux of the matter is why we have used Magento with AngularJS for HR portal.
问题的症结在于为什么我们将Magento与AngularJS一起用于HR门户。
No doubt, Magento is one of the most popular open-source CMS systems written in PHP that justifies that each e-portal has to be unique. With its out-of-the-box features, open-source architecture, and REST API, Magento gives an unrivaled ability to customize and third-party integrations to your app that you could only dream of.
毫无疑问,Magento是用PHP编写的最受欢迎的开源CMS系统之一,证明每个电子门户都必须是唯一的。 凭借其开箱即用的功能,开源架构和REST API,Magento提供了无与伦比的自定义功能和第三方集成到您的应用程序的功能,这是您梦dream以求的。
However, the rise of internet connectivity, smartphones, and tablets have directly affected the e-commerce CMS market. Today customers don’t just expect an e-portal or hr portal to be unique but also want it to work fast and seamlessly. In an attempt to bring a native feel to the website is the biggest advantage of MVC JavaScript framework like AngularJS. Some praise it as the future of the e-commerce development industry and others call it a trendy gimmick.
但是,互联网连接,智能手机和平板电脑的兴起直接影响了电子商务CMS市场。 如今,客户不仅希望电子门户或人力资源门户具有独特性,还希望它能够快速,无缝地工作。 试图给网站带来一种自然的感觉是AngularJS等MVC JavaScript框架的最大优势。 一些人称赞它为电子商务发展行业的未来,而另一些人则称其为时髦的gi头。
Having an MVC framework meant that customers can traverse through the hr portal from page to page or view by view and not like a book. This means instead of refreshing the entire web page the user navigates to an internal page and only the relevant section will be updated. The result is the blazing fast loading hr portal because the inner pages of the website never load.
拥有MVC框架意味着客户可以遍历hr门户从页面到页面或逐视图浏览,而不像书本。 这意味着用户无需刷新整个网页,而是导航到内部页面,并且仅相关部分将被更新。 结果是快速的hr门户快速加载,因为该网站的内部页面从未加载。
Explaining the entirety of AngularJS and Magento is beyond the scope of this article, but we will look at the quick code snippets for a comprehensive guide on the HRM tutorial.
解释AngularJS和Magento的全部内容不在本文的讨论范围之内,但是我们将查看有关HRM教程的综合指南的快速代码段。
Before we move towards the more technical details, a brief introduction of what type of hr portal we’ve dealt with here seems to be in place.
在我们寻求更多技术细节之前,似乎已经对我们在这里处理的hr门户类型进行了简要介绍。
The client is Australia’s leading HRIS platform that manages the whole employee lifecycle at the click of a button. They help centralize HR activities and improve the efficiency of your business with lots of awesome features.
客户是澳大利亚领先的HRIS平台,只需单击一个按钮,即可管理整个员工的生命周期。 它们通过许多出色的功能帮助集中人力资源活动并提高您的业务效率。
After some discussions with the client, a few specs crystallized:
与客户进行了一些讨论之后,确定了一些规格:
These are pretty good set of features for an hr portal. This is exactly what our client want from us with a new mashup of technology. So if you want to know the end result, here's is an overview of the coding on Angular 4 for the hr portal.
这些是hr门户的相当不错的功能集。 这正是客户希望通过新的技术融合向我们提供的东西。 因此,如果您想知道最终结果,以下是hr门户Angular 4上的编码概述。
So that's I tried to do. And hit the jackpot. Now that I have covered all the contextual things, I can finally you take to more technical stuff.
因此,我尝试这样做。 并赢得大奖。 既然我已经涵盖了所有上下文相关的内容,那么我最终可以带您介绍更多技术性的东西。
Showing one of the features of the hr portal that is organizational structuring or treemapping, wherein a user can check the complete details of an employee by entering employee id, name, department or operations type. This tool give you a method for displaying hierarchical data using nested figures and in just one click of enter tab.
显示hr门户的功能之一,即组织结构或树状图,其中用户可以通过输入员工ID,姓名,部门或运营类型来检查员工的完整详细信息。 该工具为您提供了一种使用嵌套图形显示层次结构数据的方法,只需单击一次“输入”选项卡即可。
After getting the hr portal foundation ready using Angular 4, one of the first challenges was to add features on a different development environment.
在使用Angular 4准备好hr门户基础之后,首要的挑战之一就是在不同的开发环境中添加功能。
Considering the above examples, hopefully this will save someone out there fair amount of time and efforts spend in the coding to get this type of HR portal ready for your business.
考虑以上示例,希望这可以节省一些人大量的时间和精力在编码上,以使此类HR门户为您的企业做好准备。
This hr portal project taught me continuous integration, deployment, and monitoring of the software solution before submitting to a new release to the app stores. However, a few simple things I still considered a necessary:
这个小时的门户项目教会了我对软件解决方案的持续集成,部署和监视,然后再将其提交给应用商店的新版本。 但是,一些简单的事情我仍然认为是必要的:
Admittedly, the technology is ever changing and far from perfect. But I and many other developers would not hesitate to use them again and again. As always, if you are looking for any help on HR portal development feel free to get in touch.
诚然,技术在不断变化,远非完美。 但是我和许多其他开发人员会毫不犹豫地一次又一次地使用它们。 与往常一样,如果您正在寻找有关HR门户开发的帮助,请随时联系 。
And, if you're looking for experienced Angular developers, Magento developers and interested to hire them for your next hr portal project, ValueCoders software development team is there to help you!
而且,如果您正在寻找经验丰富的Angular开发人员 , Magento开发 人员 ,并且有兴趣雇用他们进行下一个小时的门户项目,ValueCoders软件开发团队将为您提供帮助!
Connect with me on Twitter for more updates on future posts/tutorials: https://twitter.com/ValueCoders
在Twitter上与我联系,以获取有关以后的帖子/教程的更多更新: https : //twitter.com/ValueCoders
翻译自: https://www.freecodecamp.org/news/how-i-built-an-online-hrm-management-portal-on-angular-4-magento/
angular 模块构建