angular 模块构建_我如何在Angular 4和Magento上构建人力资源门户
angular 模塊構(gòu)建
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.
有時嘗試新技術(shù)的mashup會產(chǎn)生奇跡。 Magento 2 + Angular 4都被廣泛討論,并且很多人認(rèn)為它們是發(fā)展行業(yè)的未來。
For example, I recently used Magento + Angular 4 to build a super-efficient HR management portal.
例如,我最近使用Magento + Angular 4構(gòu)建了超高效的HR管理門戶 。
學(xué)習(xí)最好的例子 (Learning With the Best Examples)
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.
人力資源門戶網(wǎng)站最受歡迎的功能之一是“及時管理各種需求”,這意味著人力資源部門需要一個軟件來管理整個員工績效生命周期以及其他人力資源活動,只需單擊一個按鈕即可。 ,處理員工入職,績效評估,培訓(xùn)和發(fā)展,休假管理,申訴管理,紀(jì)律處分程序等,然后他們審查最終結(jié)果。
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. 我構(gòu)建的HR門戶是一個直觀的在線管理軟件,其輸出比其他工具高90%。 但是,它面臨許多挑戰(zhàn),例如軟件的速度,輸出質(zhì)量和及時性。挑戰(zhàn)性 (Challenges)
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.
用戶通常會組合輸入許多詳細(xì)信息,并在步驟1和步驟2之間進(jìn)行跳轉(zhuǎn)。每次用戶在不同選項卡之間進(jìn)行跳轉(zhuǎn)時,都會重新加載員工的整個詳細(xì)信息。 這很煩人,并且用戶放棄的機(jī)會很高。
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.
這樣一個獨(dú)立的人力資源門戶網(wǎng)站的原型效果很好。 但是,開發(fā)它是一項復(fù)雜的任務(wù)。 作為最后的選擇,我們的開發(fā)人員必須使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軟件開發(fā)公司是IT和軟件解決方案的全球領(lǐng)導(dǎo)者,擁有自己的開發(fā)團(tuán)隊,他們在這個人力資源門戶網(wǎng)站上發(fā)揮了積極作用。
為什么將Magento和Angular 4用于HR Portal? (Why Magento With Angular 4 for HR Portal?)
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.
在來找我們之前,我們的客戶已經(jīng)收到了不同開發(fā)機(jī)構(gòu)的報價。 而且,作為友好的幫助,我的團(tuán)隊被要求審查其人力資源門戶網(wǎng)站的所有這些想法。 但是,令我驚訝的是,他們中只有一個人發(fā)送了他們打算使用基于打字稿的框架Angular構(gòu)建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.
不僅如此。 他們甚至試圖掩蓋這項技術(shù)還不足以建立人力資源門戶的事實。 取而代之的是,他們推廣了自己的品牌,并提出了一個價格,該價格不足以使在線HR門戶具有高質(zhì)量的主張。
The crux of the matter is why we have used Magento with AngularJS for HR portal.
問題的癥結(jié)在于為什么我們將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系統(tǒng)之一,證明每個電子門戶都必須是唯一的。 憑借其開箱即用的功能,開源架構(gòu)和REST API,Magento提供了無與倫比的自定義功能和第三方集成到您的應(yīng)用程序的功能,這是您夢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.
但是,互聯(lián)網(wǎng)連接,智能手機(jī)和平板電腦的興起直接影響了電子商務(wù)CMS市場。 如今,客戶不僅希望電子門戶或人力資源門戶具有獨(dú)特性,還希望它能夠快速,無縫地工作。 試圖給網(wǎng)站帶來一種自然的感覺是AngularJS等MVC JavaScript框架的最大優(yōu)勢。 一些人稱贊它為電子商務(wù)發(fā)展行業(yè)的未來,而另一些人則稱其為時髦的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門戶從頁面到頁面或逐視圖瀏覽,而不像書本。 這意味著用戶無需刷新整個網(wǎng)頁,而是導(dǎo)航到內(nèi)部頁面,并且僅相關(guān)部分將被更新。 結(jié)果是快速的hr門戶快速加載,因為該網(wǎng)站的內(nèi)部頁面從未加載。
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的全部內(nèi)容不在本文的討論范圍之內(nèi),但是我們將查看有關(guān)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.
在我們尋求更多技術(shù)細(xì)節(jié)之前,似乎已經(jīng)對我們在這里處理的hr門戶類型進(jìn)行了簡要介紹。
人力資源門戶的功能 (Features of HR Portal)
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.
客戶是澳大利亞領(lǐng)先的HRIS平臺,只需單擊一個按鈕,即可管理整個員工的生命周期。 它們通過許多出色的功能幫助集中人力資源活動并提高您的業(yè)務(wù)效率。
After some discussions with the client, a few specs crystallized:
與客戶進(jìn)行了一些討論之后,確定了一些規(guī)格:
- To develop a hr portal for managing and facilitating all functions of the Human resource department in the enterprises which deals with payroll, performance, employees management, recruitment, training etc. 開發(fā)一個人力資源門戶網(wǎng)站來管理和促進(jìn)企業(yè)人力資源部門的所有職能,這些職能涉及工資,績效,員工管理,招聘,培訓(xùn)等。
- Client-side should be strong and able to manage diverse requirements promptly. 客戶端應(yīng)強(qiáng)大并能夠Swift管理各種需求。
- Developing a hr portal that provides smart way to manage HRM and save both money and time. 開發(fā)一個人力資源門戶網(wǎng)站,該門戶網(wǎng)站提供了管理人力資源管理并節(jié)省金錢和時間的明智方法。
- No loss to quality of the website. 網(wǎng)站質(zhì)量沒有損失。
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門戶的相當(dāng)不錯的功能集。 這正是客戶希望通過新的技術(shù)融合向我們提供的東西。 因此,如果您想知道最終結(jié)果,以下是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. ?
因此,我嘗試這樣做。 并贏得大獎。 既然我已經(jīng)涵蓋了所有上下文相關(guān)的內(nèi)容,那么我最終可以帶您介紹更多技術(shù)性的東西。
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門戶的功能之一,即組織結(jié)構(gòu)或樹狀圖,其中用戶可以通過輸入員工ID,姓名,部門或運(yùn)營類型來檢查員工的完整詳細(xì)信息。 該工具為您提供了一種使用嵌套圖形顯示層次結(jié)構(gòu)數(shù)據(jù)的方法,只需單擊一次“輸入”選項卡即可。
讓我們用Angular 4進(jìn)行編碼: (Let's Code With Angular 4:)
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準(zhǔn)備好hr門戶基礎(chǔ)之后,首要的挑戰(zhàn)之一就是在不同的開發(fā)環(huán)境中添加功能。這是帶有PHP代碼的另一個示例: (Here's another illustration with the PHP codes: )
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.
考慮以上示例,希望這可以節(jié)省一些人大量的時間和精力在編碼上,以使此類HR門戶為您的企業(yè)做好準(zhǔn)備。
總結(jié)我的經(jīng)驗 (To Sum Up My Experience)
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:
這個小時的門戶項目教會了我對軟件解決方案的持續(xù)集成,部署和監(jiān)視,然后再將其提交給應(yīng)用商店的新版本。 但是,一些簡單的事情我仍然認(rèn)為是必要的:
- The client company always want to automate everything that can be automated. It is possible only with the team of developers. So I was determined to hire Angular developers that have desirable experience in the industry and can make the development process as easy as possible. 客戶公司始終希望實現(xiàn)所有可以自動化的自動化。 只有開發(fā)人員團(tuán)隊才有可能。 因此,我決心聘請在該行業(yè)具有豐富經(jīng)驗并能使開發(fā)過程盡可能簡單的Angular開發(fā)人員。
- If there is one thing you can count on the way of developing your hr portal, it's that you'll take the help of dedicated developers before you start the actual app/web development process. ? ? 如果您可以依靠某種方法來開發(fā)人力資源門戶,那就是在開始實際的應(yīng)用程序/網(wǎng)絡(luò)開發(fā)流程之前,您將獲得專門開發(fā)人員的幫助。
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.
誠然,技術(shù)在不斷變化,遠(yuǎn)非完美。 但是我和許多其他開發(fā)人員會毫不猶豫地一次又一次地使用它們。 與往常一樣,如果您正在尋找有關(guān)HR門戶開發(fā)的幫助,請隨時聯(lián)系 。
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!
而且,如果您正在尋找經(jīng)驗豐富的Angular開發(fā)人員 , Magento開發(fā) 人員 ,并且有興趣雇用他們進(jìn)行下一個小時的門戶項目,ValueCoders軟件開發(fā)團(tuán)隊將為您提供幫助!
Connect with me on Twitter for more updates on future posts/tutorials: https://twitter.com/ValueCoders
在Twitter上與我聯(lián)系,以獲取有關(guān)以后的帖子/教程的更多更新: https : //twitter.com/ValueCoders
翻譯自: https://www.freecodecamp.org/news/how-i-built-an-online-hrm-management-portal-on-angular-4-magento/
angular 模塊構(gòu)建
總結(jié)
以上是生活随笔為你收集整理的angular 模块构建_我如何在Angular 4和Magento上构建人力资源门户的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 如何了解Google Analytics
- 下一篇: 梦到伤心事哭醒预示什么