Archive

Archive for October, 2023

Seamless Integration: Leveraging Adobe Commerce for Seamless E-commerce and Social Media Integration

October 19th, 2023 No comments

We’ve all felt it—browsing our favorite social media platform and stumbling upon a product that catches our eye. E-commerce and social media are becoming increasingly intertwined, changing the way we discover, shop, and connect with brands. This evolution isn’t just another fleeting digital trend; it’s redefining the very core of how businesses operate. In today’s fast-paced world, brands aren’t only trying to keep up—they’re striving to lead. Central to this is the idea of ‘seamless integration.’ Imagine smoothly transitioning from a product tweet or an Instagram post straight to the checkout page. This seamless experience is what customers have come to expect. And that’s where Adobe Commerce shines. It’s not just another tool; it’s a pathway for businesses to truly embrace the future of shopping and stay ahead in an ever-evolving digital arena.

Source

Adobe Commerce: A Brief Overview

In the expansive world of e-commerce platforms, Adobe Commerce, previously known as Magento, stands distinct. Born from the desire to offer businesses an edge in the digital marketplace, it has matured into a platform revered for its adaptability and breadth of features. With a rich history and continued evolution, Adobe Commerce has proven its mettle in supporting businesses, from ambitious startups to established global giants. At its core, it’s more than just a tool—it’s a comprehensive ecosystem designed for digital growth. Its offerings, ranging from customizable design capabilities to an extensive plugin marketplace, are a testament to its commitment to versatility. Diving into its functionalities, one quickly understands why it’s the choice for many businesses aiming to capture the essence of modern-day e-commerce.

The Advantages of Using Adobe Commerce for E-commerce

Navigating the crowded corridors of e-commerce platforms can be daunting. However, Adobe Commerce rises above the fray with its tangible benefits:

  • Scalability: Whether you’re a startup or a multinational entity, Adobe Commerce scales to meet your unique needs. Growth is inevitable, and this platform ensures you’re ready.
  • Customization: With an abundant marketplace for plugins and native customization tools, brands can craft unique digital experiences for their audience.
  • SEO and Analytics: Built-in SEO tools ensure your business doesn’t get lost in the vastness of the web. Coupled with in-depth analytics, decision-making becomes data-driven and effective.
  • Flexibility: Not just in design, but in operations too. From inventory management to order processing, flexibility is at its core.

Understanding these advantages is fundamental. In an era where differentiation is key, Adobe Commerce offers the tools, insights, and adaptability that can set a business apart in the digital realm.

Why Social Media Integration Matters in E-commerce

The digital age has transformed the way we perceive shopping. No longer confined to physical aisles or pages of catalogs, consumers now engage with brands in dynamic, interactive ways, primarily through social media. Social platforms, once mere communication channels, have become potent marketplaces, blurring the lines between networking and shopping. Integration of e-commerce with social media isn’t just a luxury—it’s a necessity. It aids in capturing targeted audiences, driving them directly to products they’ve shown interest in, and subsequently boosting conversion rates. Moreover, it fosters brand loyalty, turning occasional shoppers into brand advocates. In this milieu, user-generated content amplifies the brand’s authenticity, allowing consumers to resonate with real experiences rather than polished advertisements. In essence, social media integration in e-commerce is the bridge that connects brands with the evolving expectations of modern consumers.

Adobe Commerce’s Unique Social Media Integration Tools

In the nexus of e-commerce and social media, Adobe Commerce has carved a niche with its forward-thinking integration capabilities. Some of its standout features include:

  • Direct Purchase Options: Enabling users to buy directly from their preferred social platforms, reducing friction in the shopping journey.
  • Social Media Login Capabilities: Streamlining the checkout process by allowing users to log in using their social media accounts, enhancing user convenience.
  • Advanced Analytics: Offering deep insights into sales and engagements originating from social media, enabling brands to finetune their marketing strategies.
  • User-Generated Content Integration: Seamlessly integrating reviews, photos, and testimonials shared on social platforms, enriching product pages with authentic content.

These tools not only simplify operations for businesses but also offer a holistic, unified shopping experience for consumers. Adobe Commerce, in its essence, bridges the traditional gaps in the e-commerce-social media continuum.

Overcoming Common Challenges with Adobe Commerce

In the fast-evolving world of digital commerce, challenges are aplenty. Brands often grapple with the speed at which social media trends shift, requiring constant adaptability. Adobe Commerce, however, offers a respite from these concerns. It has built-in tools that ensure operations across multiple platforms remain streamlined, preventing any potential hiccups that could disrupt the customer experience. Equally critical is the security of user data. With increasing concerns about privacy breaches, Adobe Commerce prioritizes robust security measures, ensuring that data remains uncompromised. Nevertheless, even with the most advanced tools, some challenges may require expert guidance. If the intricacies of integration feel overwhelming, brands can always turn to a trusted e-commerce integration agency, ensuring that their operations remain smooth and their customers are satisfied.

The Future of E-commerce and Social Media Convergence

As we gaze into the horizon of the digital age, the convergence of e-commerce and social media promises intriguing evolutions. While today we marvel at seamless shopping experiences on platforms like Instagram or Facebook, tomorrow might bring even deeper integrations, possibly with emerging social platforms or entirely new digital spaces. Technologies like augmented reality could redefine the way we ‘try’ products online, merging the tactile with the digital. Adobe Commerce, with its history of adaptation, will undoubtedly play a pivotal role in this future landscape. There’s also an underlying anticipation of how AI and machine learning will further personalize the online shopping journey, making product suggestions and user experiences more intuitive than ever. Businesses, whether fledgling or established, must remain nimble, always ready to adapt to the next wave of innovation. The key will be to anticipate change, harness emerging technologies, and ensure that the digital shopping experience remains not just transactional, but transformational.

Conclusion

In the vast, interconnected world of digital commerce, standing out is both an art and a science. Leveraging platforms like Adobe Commerce becomes not just an operational decision but a strategic one. Through its multifaceted tools and capabilities, it bridges the chasm between e-commerce and social media, creating a harmonious user journey from discovery to purchase. But beyond the technicalities lies a bigger narrative: the evolving dynamics of how we shop and engage. Adobe Commerce is more than a platform; it’s a testament to the future of digital commerce—a future where shopping experiences are seamless, personalized, and deeply integrated with our social interactions. For businesses keen on thriving in this digital age, embracing such integrations and keeping pace with technological advancements isn’t just advisable; it’s imperative. The convergence of e-commerce and social media is here to stay, and those who navigate it wisely will lead the way.

Featured image by Bench Accounting on Unsplash

The post Seamless Integration: Leveraging Adobe Commerce for Seamless E-commerce and Social Media Integration appeared first on noupe.

Categories: Others Tags:

30 Obsolete Technologies that will Perplex Post-2000s Kids

October 18th, 2023 No comments

Remember the screech of dial-up internet? Hold fond memories of arcade machines? In this list, we’re condensing down 30 pieces of revolutionary technology that have long past their sell-by-date.

Categories: Designing, Others Tags:

Smashing Podcast Episode 66 With Ethan Marcotte: What Is A Tech Union?

October 17th, 2023 No comments

In today’s Smashing Podcast episode, we’re talking about Tech Unions. What part can unions play in a modern tech workplace? Drew McLellan talks to Ethan Marcotte to find out.

Note: Listeners can save 15% off Ethan’s book, “You Deserve A Tech Union,” by using the code SMASHING15. Happy reading!

Show Notes

Weekly Update

Transcript

Drew McLellan: He’s a designer and author who over the last two decades has focused on designing and building beautiful accessible web experiences and on helping organizations create more effective design systems. He’s worked for clients such as New York Magazine, the Sundance Film Festival, and Google. And in 2010 coined the term “Responsive web design,” which these days we simply call web design. He also writes and speaks about digital design, technology, and justice. And his latest book You Deserve A Tech Union has just been released by A Book Apart. So we know he’s an industry shaping designer and innovator, but did you know if he was British, he’d already have a knighthood. My Smashing Friends, please welcome Sir Ethan Marcotte. Ethan, my friend. How are you?

Ethan Marcotte: After that introduction, Drew, I’m smashing.

Drew: That’s good to know. So welcome to the show. I think people who might’ve heard you talk on a podcast before, might be used to hearing you talk about responsive design or design systems or maybe some of the work you’ve done with very notable clients over the years. And just as the casual observer thinks they’ve got Ethan Marcotte all figured out, here comes a book about unions. To me actually, it doesn’t feel like a big departure because your work’s always appeared to be guided by a sort of strong conviction of fairness and inclusivity and accessibility. And I think you’ve always been in the most positive sense of the word, like an activist, someone who sees something they feel is wrong in the world and then actually takes steps to do something about it.

Drew: And I’m thinking back to 20 years ago when we were both working with the Web Standards project and lobbying browser makers to follow standards and then through to making mobile sites first class citizens, making websites first class citizens on mobile devices, with the whole responsive design movement, which has literally changed the way the industry built websites. So Ethan Marcotte, web activist, is that a fair characterization?

Ethan: I’ll slap that on my homepage and see how that feels. But you just said a bunch of really kind things. Thank you. Thank you very much.

Drew: In that context, a book about unions actually seems to be very on-brand for you. Do you feel that way?

Ethan: I do. It does feel like a different thing for me. I’d be lying if I said it didn’t, but I’m glad you mentioned responsive design because I do think that it really does feel a little bit similar to me in that I feel like I was looking at where the industry was going back in 2009, 2010, and just recommending a different approach. The web was becoming progressively more mobile-focused back then, and I’d been really passionate about designing with inclusivity and access for so long. It felt like around that time we were seeing two kind of inflection points happening, that we were moving beyond the desktop, but we also had all these great design tools to leverage the web’s inherent flexibility. So all I was proposing was, hey, what if we did that? And I provided a name for this thing, but I didn’t invent responsive design so much as just bring some existing tools closer to mainstream notice.

Ethan: The union’s book, I really feel is really shaped by what’s already happening in the industry. I think for the longest time I grew up in a tech industry that felt like it didn’t need unions or it didn’t need worker protections, that it was somehow different and better than every industry that had come before it. And the one thing that has happened over the last few years is that workers are unionizing. They’re unionizing at companies like Alphabet, at Apple, they’re at civic tech agencies like Code for America, at Kickstarter.

Ethan: So this is something that’s already happening in the industry and the book is really shaped by talking to people who are doing the work right now and trying to understand why they’re doing it, how they approached the work, the challenges they face. And the book is really just to try to make that topic more accessible to more people, that this is something that is available to them right now if they’d like to take advantage of it.

Drew: It’s a good point because when I think about unions, I think about growing up in the 1980s where TV news here in the UK was often dominated by images of workers from traditional industries like coal mining and steel production, forming donkey-jacketed picket lines, undernourished men stood around burning oil barrels and that sort of thing. But then more recently we see industrial action strikes by postal workers, by trained drivers, heartbreakingly, by doctors and nurses, who they might’ve swapped Their donkey jackets for something from the North Face, but they’re on strike to campaign for better conditions, for more fair pay deals or what have you. Has the role of unions really changed that much between the shutting down of the steel industries in the last millennium to now, or are they functionally the same even though the industries might be very different?

Ethan: That’s a great question, Drew. I say this in the book, but I think a union means the same thing pretty much everywhere, but in a lot of cases it means something different in every country as well, because it operates in a legal context. I’m writing from the United States, the book has a very US-based focus in terms of how unions operate. But I think at the end of the day, the definition that I tried to put forth in the book is something around the fact that a union is basically a group of workers who are trying to fight for a better life in the workplace through collective action and organization.

Ethan: And I think that’s broadly pretty universal, that when you’re trying to institute some sort of change in your work, whether that’s better wages, better hiring practices, trying to have clearer paths to promotion, the math changes pretty quickly because as an individual you probably have pretty limited influence in trying to instrument some changes at work, but that changes pretty quickly when you’ve got two workers together asking for those changes or 20 workers or 400. It’s really about understanding that when workers in any industry are working together to instrument change, there’s really nothing they can’t do.

Drew: And we’re seeing this to bring it right up to date. Where are we? August 2023. We’re seeing this in Hollywood at the moment, aren’t we?

Ethan: Absolutely. Absolutely. Yeah. Honestly, I wish the dues had slowed down a little bit while I was writing the book because I snuck that, because one of the reasons that Hollywood unions are striking, this isn’t the only reason, but one of the reasons is because of the rise of generative AI in the tech industry. There’s all this hype in the tech industry about large language models and ChatGPT, and all the software that takes seconds to produce text or code or imagery that it would take humans hours or days to produce. And so for folks who write and film for a living, there’s an incredible amount of concern about what that means for the value of their work. So it’s been weird writing about the need for unions in the tech industry while Hollywood unions are quite literally shutting down an industry over something the tech industry produced.

Drew: I think when we think about all these different industries that very publicly unionized, I think sometimes the common factor between them all is they work in jobs where there are fewer options in terms of employment. If you’re a train driver here in the UK, we have multiple train operators that you could work for, but by and large, you actually practically need to work for the one that covers the area in which you live. Otherwise you have to relocate. You don’t practically have a lot of choice. And when workers are being treated unfairly, they need to campaign for changes in those jobs because they don’t have the options.

Drew: When I think about tech traditionally, it doesn’t feel to me immediately and first thought, it’s the same situation. As a software engineer, it appears that there’s a worldwide market that I could work for, plenty of opportunities to explore. If a job wasn’t working at how I expected, I could maybe go and find something else. But I also know personally, if I can’t see what the problem is, it’s likely because I’m carrying some sort of privilege that makes me blind to it. What is the need for unions in tech?

Ethan: Yeah, man, we only have an hour Drew. I’m not sure that’s enough time. I guess the way that I like to think about it is, I ask two questions in the book which is, asking folks what they like about their job and then asking them what they would change about their job if they could. And then working through those questions, the question is, okay, for the things you like about your job, how can you actually ensure that they’re not going to change in the future? And then for the things you don’t like, how would you go about changing them? And I think that working through some of those questions, that’s where you can see how a union could actually be helpful to again, change some of that math, to help folks get more leverage at work, to negotiate for better contracts, to actually band together and address some of those issues.

Ethan: But the book was really informed by interviews with a lot of workers who have gone through some of those questions and tried to ask themselves, “All right, how can I make some of these changes?” And by and large, most tech workers felt before they started thinking about unionizing, was that their only option was to leave, to find something else. And there’s no guarantee that the next job’s going to be better at the end of the day. That a lot of the privilege that we may enjoy or the protections we may enjoy at work are really based on social capital or how well the company’s doing at any one point. And obviously in the last year, we’ve seen literally hundreds of thousands of people lose their jobs based on arbitrary economic variables, let’s say. So I think it’s been an incredibly challenging time and it’s also helped a lot of folks realize that there is a lot of precarity in tech work. That there aren’t a lot of guarantees, and we do need something that’s a little more stable.

Drew: And it also seems to me to be the case that lots of tech companies operate under, I previously worked for a tech company that was based in San Francisco, which is, I think you call it, is it “At-will employer?” Is that right?

Ethan: At-will. Yeah.

Drew: Is that the right terminology?

Ethan: Yeah.

Drew: Where as a worker you have… It’s almost at whim. You’re at the whim of your employer, where you have very few protections. And so is a trade union another form of protection in that respect?

Ethan: Yeah, that’s a great question. Yeah, it is. And we’ve actually literally seen that here in the United States. I mentioned Kickstarter at the start of the call, and they’re one of the first tech unions that we’ve gotten in the modern era. It’s been pretty amazing to watch their journey, and they just formalized their first contract and they actually managed to enshrine some protections against at-will employment so that you can’t be fired without cause, which is vanishingly rare in a United States based tech company. But I talk about this in terms of power and workers having more say over the conditions that they work in.

Ethan: And in the United States, one of the incredibly powerful tools that a union provides, is the path to something called collective bargaining. Where folks can actually sit down with management and literally define the terms of their employment. And again, that could be related to wages or benefits or working conditions. It’s really driven by the workers who are banding together in unionizing. So absolutely, I think that’s what makes the need for tech unions so urgent, is that it provides that level of democracy in an environment that’s anti-democratic in a lot of ways.

Drew: I guess it’s often easy to think about, when you think about contract law and those sorts of things, is to think about you as an individual and your employer, but I guess a crucial part of a union is standing in unison with colleagues to protect their interests and not just your own. Would you agree?

Ethan: That’s a fantastic point. I would thoroughly agree with that, Drew, that’s beautifully put. I think there’s a preconception, I think, that tech workers by and large are very well paid and that we’re very privileged. And I think in certain cases that’s very true. But one of the things that I heard time and again from folks that I spoke with, is that that privilege and that power is pretty unevenly distributed across different kinds of tech workers. Folks who might look like you and I, who might be fairly senior, who might be engineers are probably doing pretty well. But if you talk to somebody who’s in content moderation or trust and safety or certain kinds of designers, things might be much more precarious.

Ethan: So yeah, asking questions of your coworkers just to be like, “Hey, are you satisfied working here? What kind of kinds of things would you change?” pretty quickly opens your eyes up to the fact that there’s a real opportunity here to think more broadly about this. I talked to several folks who were union members at the New York Times Tech Guild, and they basically did a salary sharing exercise where they collected a spreadsheet and everyone could basically share the amount of money that they’re making. And it was pretty eyeopening for them because they pretty quickly realized that there’s some pretty wide pay disparities. And they also found that it was helpful because it actually helped them realize that this isn’t any individual worker’s fault. This is just a very haphazardly designed and unfair system that they’re all trying to work in. And again, it’s an opportunity to, like you said, to band together and try to figure out, okay, how can we as a union change that?

Drew: And do tech unions exist already? Are they a thing? I know longer standing industries have very specific unions. I remember my parents, both teachers, they were part of a teacher’s union. We talked about some of those more traditional industries. Are there tech unions in existence?

Ethan: Yes. That’s a great question. Again, that varies pretty quickly, country-to-country. I know in the UK, like Prospect I think, and UTAW, I think are organizing pretty actively in the tech industry. In the United States, if you’re looking to unionize, it’s best to find a union that’s doing work in your industry. And there are two that are pretty active up as of the time we’re talking right now. CWA is the biggest union in the States, Communication Workers of America, and they’ve been doing a lot of work organizing different unions. And then there’s another one, OPEIU, which basically spun up like an industry specific branch union to help with that organizing effort. But I think there’s a high level of interest in the tech industry because it’s historically been so difficult to unionize, to get workers to actually understand that they are workers, and to see the benefits of a union. But there’s been so much movement in the last few years that I think there’s going to be a lot more activity in the next.

Drew: And you mentioned Kickstarter a couple of times. Have they formed their own union from scratch and is it specific to the employees of Kickstarter?

Ethan: It is. It is. US labor law is so weird, man. I’ve learned entirely too much about it, but it was described to me by a couple of different folks separately, as a little bit like a nesting doll. Because there are national unions in the United States, and then there were specific branches that are geographically distributed. And then you as a worker have to work with your fellow workers to form a union at your company, which is then affiliated with a branch that then bubbles up to the national union. So they’ve formed Kickstarter United, that is a union specific to Kickstarter, but that is affiliated through I think OPEIU, that national union that I mentioned before. And again, it’s a bit of a nesting doll, but it’s been amazing to see this happening.

Drew: So practically speaking, what does a union look like? We have the workers who join a union. Are there people who work full-time in that or how does it work? And what sort of roles are covered within that?

Ethan: Yeah, yeah. Thanks, Drew. Again, some of that’s going to vary country-by-country, but in the United States, unions do have staff, the administrators, lawyers, full-time organizers, who are basically paid by the union to help their affiliated companies, but also to do outreach and organizing efforts. So for Kickstarter’s example, the workers at the company are all part of Kickstarter United, and those could be tech workers, those could be designers, engineers, product owners. It’s basically anybody who’s not a supervisor for the most part, who’s a full-time employee of the company.

Ethan: But yeah, from there basically, the union operates like a little democratic body. They have bylaws, they can vote on contract proposals. So when I mentioned that Kickstarter actually just ratified its first contract, they hammered out the language, they established a first draft of this proposal with management, and then they circulated it to everybody in the union to ask them to vote on it, to prove it, basically. And so they had to have it ratified by majority vote, and once they did, they actually had a contract in place that’s binding, that defines the terms of their employment

Drew: As generally speaking, as a member of a union, if you’re then encountering problems, say you’ve had a run in with a manager, there’s a back signal you can throw up, so then somebody comes to your aid?

Ethan: Exactly. Yep, yep. They wear a cape and a helmet. No. Yeah. No, that’s how I want unions to work. But watching too many Marvel movies, I suppose. But yeah, so a union representative will basically be an advocate for you. That’s one of the other things that unionizing unlocks here in the United States. It unlocks a set of rights where if you’re called into a meeting with a supervisor, for example, that could be potentially disciplinary, you get to have a union representative actually attend that meeting to act as an advocate and as a witness. And I believe there’s a similar role of a union rep in the UK, I believe. So if you happen to work at a company where there’s union representation already, you might actually see if there’s a union rep on staff already to talk to you with your questions. But yeah, there’s a bad signal.

Drew: I think it’s part of UK law that the union rep has to be the grumpiest person on staff. I think traditionally that’s how we do things here. Yeah.

Ethan: No, that’s good. That’s good. That’s good. That seems like somebody you’d want in your corner when things go wrong.

Drew: We talk about a little bit when things go wrong, but are there other sort of peace time functions that a union undertakes for its members?

Ethan: Yeah, that’s a great question. The contract, so I mentioned the contract as being like the path to power for workers. They can redefine. They can redefine the terms of their employment collectively, but a contract needs to be enforced and it needs to be governed. And that’s a big part of what the union does. Because once the contract gets approved, it’s not indefinite. It has an end date, and it’s over the course of however many years that it’s enacted, it just has to be ensured that both sides of the agreement are actually for to the agreement. That’s another big part of the union as well. Things can break down, obviously, as we’re seeing in Hollywood right now, because the union also is responsible for negotiating the next contract. And basically the union provides, I think, a voice for advocating for workers on a daily basis, ensuring that things remain bare and that they’re as protected as possible.

Drew: Would a union get involved in things like hiring practices so they don’t directly impact union members and the people being hired into roles might not be union members? Would a union get involved in that sort of thing?

Ethan: Yeah, I think so. I think that kind of comes back to what I mentioned about collective bargaining, because here in the United States, for example, that could absolutely be one of the things that workers decide to organize around. That hiring practices are unclear or they tend to enforce different kinds of bias. So for example, if they require undergraduate degrees that certain members of the population don’t have access to, that’s obviously going to change who’s actually applying to some of these companies. That’s absolutely something that a union could be advocating for and fighting for a contract. Yeah, absolutely, I think that’s something that could be an area of focus for that as well.

Drew: We talked a little bit about AI. Obviously it’s growing rapidly and possibly threatening many of the roles that exist today. I guess one job of a union then can be to protect the viability of its very industry.

Ethan: Yeah, yeah, absolutely. And again, we’re seeing that happening right now in Hollywood with folks who are concerned about what happens when studios decide to bring in something like ChatGPT to write treatments for scripts or to do editing work. What is that going to change? How is that going to change the work that human writers are going to be paid to do? Are they going to be relegated to lower cost AI cleanup tasks? What is that going to do to their wages? I think that, yeah, absolutely. This is one of those things that keeps me up at night. Because really it’s like what does it mean to be a designer or an engineer or any kind of person who produces work in the tech industry when you could fire up Midjourney and play around with some prompts to get something that’s visually rather striking.

Ethan: But yeah, I get into this in the book a lot, but I think one of the things that’s so deeply weird about our insistence on calling it Artificial Intelligence is that it conceals the extent to which this technology is deeply reliant on human labor. And that could be whether it’s these large language models that are ingesting content, that have been produced by humans, written by humans, or coded by humans or designed by humans, and trying to analyze them for future output. But there’s also a considerable amount of content moderation work that goes into this AI software as well, where underpaid contractors in various countries, are paid dollars on the day, to basically clean up their output, and they’re being asked to sift through just terrible, traumatizing stuff to make sure you and I can enjoy fun ChatGPT games on a daily basis. There’s a lot of challenges with AI.

Ethan: But to your question, labor unions have a very long history of actually enshrining labor protections in contracts to protect workers from automate. I get in a couple examples in the book, but this is another one of those things that labor unions are keenly focused on, because it has a direct impact on wages, on working conditions and the value of the work that we do. So yeah, it’s a key area of focus.

Drew: The whole area of AI, for me, it raises the whole question of what is creative work? What do we mean by creative work? Is something actually creative if it’s been created by AI or if it’s just regurgitating what it’s ingested, there comes a point where there are maybe no new ideas. It just raises so many questions.

Ethan: I want to be excited about generative AI or whatever the term is, because they can be, I think, useful inputs for the creative process. I don’t think that I would never use them as a writing tool, but I do see folks do some really fun experimentations with them, like some of the graphical tools like Midjourney or Dolly, but they exist in an economy and in a broader social context where folks, like we’re seeing in Hollywood, really powerful, very rich studios, are looking to displace workers by using this software. And I think we can’t really talk about them purely in an exciting standpoint because again, there’s some real harms to creativity and to our ability to do more.

Drew: When it comes to the impact of AI on the tech industry and jobs within the tech industry, it sometimes feels like everyone is in favor of progress until it makes them obsolete. We’re an industry that loves to disrupt things. Should we really be surprised if we get disrupted?

Ethan: Yeah, maybe we asked for it. Is that the question behind the question?

Drew: Maybe we should just accept it.

Ethan: Yeah. Yeah, that’s a great, yeah, I do wonder about that. Yeah, maybe it’s just time to put all the computers in a lake and shut off the lights and go get jobs working in the trees or something. I don’t know. But yeah, I do wonder if my opinion of all the software would be different if I’d encountered it in my twenties, because I’ve grown up in this industry and I’ve watched it kind of cycle through movements like this, and I do want to be able to keep working in this industry. And I do feel like there’s a real movement right now, both in terms of the amount of investment going into this technology, but also in terms of the amount that it’s being sold as something that can cheapen labor. That you don’t need to have a team of 50 engineers anymore when you have something like just for an example, Copilot or something like that.

Ethan: And I think that by and large, when folks think about automation, they tend to think of jobs disappearing overnight, but it’s a much longer, slower process. It starts with something called de-skilling, which is where basically technology is seen as something that can do roughly decent work for a fraction of the cost. And so what that does is that, yeah, it does obviously impact jobs, but it also reduces wages because why would I pay a human engineer or a human designer or a human writer what they were getting paid, when I can do something that’s roughly good enough for, again, pennies on the dollar. So that’s the process that I think we’re starting to see the beginning of right now, and I think that’s why we need a number of responses to AI from a regulation standpoint, but also I think from a labor organization standpoint as well.

Drew: Is the only safe job in tech being an AI engineer?

Ethan: Right now, I don’t know. We’ll give it six months and we’ll see what happens.

Drew: More seriously, I know that for many folk when applying for jobs, many of us have concerns that whether it’s legal or not, that our gender or ethnicity or religion or sexuality or accent or appearance or any number of factors might bias employers against us. Is it a reasonable fear that being an existing member of a union could reduce the number of opportunities that are available to you?

Ethan: That’s a good question. I’ll be honest, not to center myself in your question, but I definitely did agonize a little bit over writing this book, because at least in the United States union’s a bit of a four letter word. We’re not very good at spelling over here, I guess.

Drew: Lots of letters out, so it probably is.

Ethan: You all keep the U’s, we get rid of them. It’s weird. But yeah, I mean, I do think that there’s … One of the biggest sections that I tried to stress in the book is that when you’re trying to organize a workplace, especially here in the United States, it’s important to be safe. And that means having conversations about organizing outside of company Slack, maybe taking things to Signal, talking first with folks you trust and then doing planned outreach beyond that. Because there are some risks involved with unions, again, maybe more in countries like the United States where labor law is just such a mess. But I think above and beyond all else, it’s important for workers to feel safe in what they’re doing. And I think that you should only start this process if you feel like that’s something you can’t. But it is a real opportunity to leave your job better than you found it, which is something I heard time and again from everyone I interviewed, that it’s an incredible amount of work, especially in some countries like the US, but it’s also incredibly rewarding as well.

Drew: And ultimately, the best place to start is by being informed and there’s masses to think about, and I wholeheartedly recommend that listeners pick up a copy of You Deserve a Tech Union. For what could be quite a dry subject, Ethan, your quality of writing, as ever, shines through. I don’t want to say it’s an easy read because the subject’s challenging, but in all other respects, it’s an easy read, as always. Was there anything else you think we should be concerned about or be thinking about when it comes to tech unions?

Ethan: That’s a great question. I will say, maybe this is just because you asked a question about privilege, but one of the things that I heard from organizers was that there’s a real opportunity to do good work closing up some of those privilege gaps in the workplace by organizing equitably. Because the folks, especially in the United States where organizing has to happen after hours or on weekends, that kind of privileges who’s able to participate in the process. It’s much harder to do that kind of work if you have kids or if you work a second job. So there are opportunities in thinking about organizing, where you can approach it more equitably by writing a newsletter for your coworkers who can’t be as involved, or trying to over-communicate to folks who may want to participate but just can’t for whatever reason.

Ethan: And I think, at least for me, that was a recurring theme in a lot of the conversations I had, which is these are people who are trying to leave their companies as better than they found them. And it’s incredibly inspiring to watch, and I think there’s a real opportunity to do good work in the industry by forming or joining a union.

Drew: So I’ve been learning all about tech unions today. What have you been learning about lately, Ethan?

Ethan: Oh, that is a great question. I have been learning how to live with two, three-year-old cats. And every day is an adventure. And these two are pretty much, they’ve been keeping me going last few years, but they’re still turning everything upside down at least twice a day. So I’m learning a lot about myself.

Drew: Full of energy.

Ethan: Yeah, full of energy, exactly.

Drew: If you, dear listener, would like to hear more from Ethan, you’re spoilt for choice. You can find his personal website at ethanmarcotte.com, where you’ll find links to his journal and social media. The book, You Deserve a Tech Union is available now from A Book Apart and you’ll be able to easily locate it at abookapart.com. Thank you for joining us today, Ethan. Did you have any parting words?

Ethan: It’s just great to see you again, Drew. Thank you so much for having me.

Categories: Others Tags:

The Power of Visual Storytelling in Web Design: Engaging Users Through Compelling Narratives

October 17th, 2023 No comments

As long as content remains the core of digital marketing, storytelling will always be needed. Storytelling involves using engaging narratives to communicate a brand message.

However, because the world has evolved to embrace more visual content, storytelling has also grown. It has become more visual. 

Through pictures, videos, designs, and other visual elements, brands can communicate their message to their target audience. 

One primary way of doing so is through their websites. Your website is your opportunity to grab your visitor’s attention and get them to connect with your brand’s story. 

As a web designer, compelling visual storytelling is the secret ingredient you need to make this happen. It is all about engaging your visitors through design elements. 

In this article, I will show you the critical storytelling principles you need to know as a designer and how to engage your audience through visual storytelling.  

What is Visual Storytelling?

Visual storytelling uses images, videos, and design elements to convey narratives, ideas, or messages. It leverages the power of visuals to engage, inspire, and connect with your audience.

People are moved by what they see. In fact, sight is the fastest way to grab a user’s attention. No one wants to read long, boring texts just to get engaged. 

Source: Faster Capital

You can instantly communicate complex ideas, emotions, and messages with visual storytelling. Visual storytelling shows information rather than tells it. 

Customers want to be engaged immediately. When they come to your website or landing page, 73% of them skim through, and if they aren’t captivated within seconds, they will leave immediately. 

Hence, you need effective visual storytelling to transform your website into a compelling and immersive experience, leaving a lasting impact on your visitors.

Importance of Storytelling in Web Design

Storytelling is now a vital component of web design. 

1. Enhanced User Engagement and Experience

Visual storytelling is no longer just about aesthetics but about enhancing user engagement and optimizing search engine performance.

Your website should be user-friendly and intuitive. 

A well-structured narrative guides users through your site, helping them find helpful information effortlessly.

Additionally, when you weave a compelling narrative into your website’s structure, content, and visuals, you create an exciting experience that keeps visitors engaged.

The more your visitors are engaged in your website, the longer they spend, thus reducing bounce rates. 

2. Improved Brand Storytelling and Awareness

Using visual storytelling in your web design allows you to effectively convey your brand’s identity, values, and personality. By scrolling through your website and seeing the artistic elements, they already know your business and can connect personally. 

Consumers are more likely to become loyal customers when they can connect with your brand personally. 

You can use artistic visual elements to share your brand story and increase awareness. For example, you can share some images and videos on your website via social media. This can reach more people and attract them to your website. 

Remember, it’s all about giving engaging narratives, not boring motion pictures. 

3. Search Engine Optimization

High-quality visual elements are critical to boosting website visibility. Search engines, like Google, favor websites that invest in good-quality images and videos. 

Additionally, visual storytelling enables you to structure your content coherently and engagingly, making it easier for search engines to understand and index.

For example, you can integrate keywords and key phrases in your image and video description. 

4. Lower Bounce Rates and Improved Dwell Time

Your website design holds about 94% of your first impressions. This means that people judge your website immediately from its design. Therefore, you need great storytelling in your web design. 

Compelling visual storytelling gets your visitors so connected that they spend longer on your website. The longer people spend on your website, the higher you rank on search engines. 

Also, the higher you are, the more clicks you get and the more authority you build. As your visitors spend more time on your website and are engaged in its content, they are most likely to engage. 

Critical Principles for Web Designers

Before incorporating visual storytelling into your web design, you need to understand the essential principles of web design. 

1. Know Your Target Audience

Understanding your target audience is the foundation of effective web design. Your website’s appeal, functionality, and content should align with the preferences and needs of your intended users. 

Different people have different tastes, and the same goes for your target audience. For example, you cannot design your website with baby colors or doodle drawings if your target audience are business executives and operational officers. It miscommunicates your branding. 

Knowing your target audience informs your design decisions, from color schemes and typography to content tone and navigation. 

A deep understanding of your audience ensures that your website not only attracts visitors but also engages and converts them into loyal customers or readers.

2. Apply Storytelling Principles

To use visual storytelling effectively, you need to understand storytelling principles and apply them. 

Applying storytelling principles means using narrative techniques to engage and guide your web visitors through their online experience.

Furthermore, you need to include the key elements of compelling storytelling. 

Source: Newsvoir

Narrative Structure

Your website should have a well-designed structure. It should have a beginning, middle, and end. 

The homepage serves as the introduction, presenting the main themes and objectives. The middle part is more like the body of the website. It contains all the critical information about the business and what it offers. 

The middle part of your website is so important because it consists of various pages or sections where the story (or content) unfolds. 

Finally, the end of the website can include a call to action that encourages the visitors to take the desired action. The desired action could be anything like 

Character Development

In web design, characters are not fictional people but rather the elements that make up your brand or organization. For example, the elements can be your products, services, team members, or even the brand itself.

Effective web design allows users to connect with these “characters emotionally.”You create a more engaging and memorable user experience by humanizing your brand and its offerings.

Conflict and Resolution

In the case of web design, conflict, and resolution involves addressing users’ pain points or challenges and showcasing how your business can solve them. 

By showing your business can solve your target audience’s problems, you create a compelling narrative that resonates with users. 

Consistent Themes

Just as a good story maintains consistent themes and characters, your website should maintain a consistent visual and narrative style. 

This consistency reinforces your brand identity and makes it easier for users to navigate and understand your site. A consistent branding theme helps in establishing trust and credibility with your audience. 

User Journeys

A well-crafted story has a defined path that the audience follows. In web design, this translates to designing user journeys or pathways through your website. 

Each page or section should logically lead users to the next step in their journey. These pathways should be intuitive and easy to follow. 

For example, visitors can explore more products, learn about your company’s history, or purchase. Your visitor’s journey should flow well to efficiently lead them to the final step where they can take the action you want. 

3. Use Visual Hierarchy

It’s crucial to prioritize content and elements based on their importance. Key information, such as headlines, calls to action, and essential visuals, should be prominent and easily noticeable. This is because these elements guide the visitor’s journey through your website. 

By establishing a clear visual hierarchy, you ensure that users can quickly identify and access the most critical content on your website.

Important Elements of Visual Storytelling In Web Design

Effective visual storytelling in web design depends on several crucial elements. These elements work together to engage, captivate, and resonate with your audience. Understanding the elements is very important to create a website that looks visually appealing and communicates your narrative effectively. 

User Experience (UX)

In digital marketing, the quality of your user experience is everything. People are most likely to never purchase from a brand if they have a terrible experience. 

Your user experience lies at the core of successful visual storytelling. It involves creating a seamless and intuitive journey for your site’s visitors. 

How do your visitors navigate your site? Is it easy to find information? How accessible are your visuals? These are all important questions to consider. 

A well-thought-out UX captivates your visitors such that they immerse themselves in your story and flow through your website without frustration. This leads to a longer time on your website and increased search engine ranking. 

Emotional Appeal

Storytelling is all about evoking strong emotions in your target audience. Emotions drive humans, and if you can tap into those deep emotions they feel, you will have them hooked. 

Visuals can evoke strong emotions like deep happiness, empathy, excitement, or nostalgia. When you incorporate emotional visuals into your web design, you can create a deeper connection with your audience. Fortunately, this can lead to more content shares and clicks, thus increasing your reach and boosting your SEO performance. 

Note: Your choice of colors can affect your visitors’ emotions. Emotionally appealing colors like red, green, purple, orange, etc can add to the emotional content of your website.

Interactivity

To get your visitors engaged, you need to interact with them. Interactivity enhances user engagement and allows visitors to participate in your narrative actively. Elements like interactive infographics, quizzes, and multimedia presentations can deepen your storytelling and make it more memorable. 

Additionally, search engines appreciate interactivity because it keeps users engaged on your site for longer, showing you have valuable content. 

Responsive Design

Your visual storytelling should adapt seamlessly to different screen sizes and viewing devices. This means that your design should be as mobile-friendly as it is desktop-friendly. Mobile-friendly designs improve user experience and increase chances of higher search engine visibility. For example, Google prioritizes mobile-friendly sites in its search results. 

How To Engage Through Visual Storytelling

Using visual storytelling to improve engagement involves combining creativity and strategic implementation. 

1. Use Compelling Visuals that Tell a Story

Engaging in visual storytelling involves using compelling visuals effectively. These visuals can range from images and videos to infographics and illustrations. Choose high-quality visuals that resonate with your narrative. Whether it is product images, professional profile pictures, or video testimonials, ensure they are crisp, clear, and complement your story. 

Also, be consistent with the branding. For example, use cohesive colors, image styles, and video formats to create a unified and memorable brand identity. 

An essential visual to use in your web design is infographics. They are excellent for simplifying complex data and statistics. To improve understanding, you can break down information into smaller visual chunks using charts, graphs, and icons. 

2. Microinteractions

Microinteractions are small animations and interactive elements that can improve user engagement. They are so small that they are often unnoticed but add to your engagement. 

For example, subtle animations like fade-ins, transitions, or hover effects can draw users’ attention to specific elements on your website. Imagine scrolling down a page and seeing fade-ins of a call-to-action button. As you look at it, you feel encouraged to click the button and take the desired action. 

Furthermore, interactive elements like clickable icons, infographics, or storytelling features can transform a passive user into an active participant. 

Statistics show that 96% of your website visitors (first-timers) are not ready to purchase anything yet. But the more they engage with your content, the more active they become and more likely to convert to loyal customers. 

You can also use animations to highlight key data points, customer quotes, and before-and-after comparisons. 

3. Tell Stories that Align with the Brand

This is quite different from the first point. The first point was about using visuals that align with your narratives. Now, let’s look at telling narratives that align with your brand values and vision. Remember, consistency is vital. 

Your story should reinforce your brand identity. 

First, clearly define your brand’s identity, values, and unique selling points. What sets your brand apart, and what is it passionate about? Knowing this will set the foundation and guide you in your visual storytelling efforts. 

Also, ensure that your narratives’ visual elements, tone, and messaging are consistent with your brand’s established identity. This includes brand colors, fonts, and imagery that reflects your brand’s personality. 

Whatever you do, remember that your stories should reflect your brand’s values. Aside from entertainment and information, your stores should reflect your brand’s mission, vision, and core values.

For example, your stories can highlight your brand’s commitment to sustainability, innovation, or customer-centricity. Stories that align with your values resonate more deeply with your target audience.  However, ensure the stories are authentic. They shouldn’t feel forced. Your target audience can notice a forced story when they see one because it doesn’t blend with the brand or elements. 

4. Implement User-centric Storytelling

User-centric storytelling involves crafting your web design and narrative to align with your audience’s needs and preferences. It focuses on guiding users through a purposeful journey on your website. The goal of user-centric storytelling is to direct user flow. 

To do this, use user-centric visual cues. Visual cues, like arrows, CTA buttons, and animations, can be powerful tools for guiding user flow. They draw attention to essential elements and direct users toward specific actions and content sections. 

Also, adopt progressive disclosure. This involves revealing information sequentially; hence, users can explore deeper as they want to know more. Progressive disclosure encourages them to click, scroll, and interact further. 

One crucial factor you should always consider in user flow is the page-load times. Slow-loading websites can frustrate users and cause them to abandon the journey. You need to optimize your visuals and media to ensure quick loading times. 

5. Test and Gather Feedback

You only know you are getting it right when you get positive feedback. The goal of feedback is to seek continuous improvement. 

However, you must test all ideas to see which suits you best. You can conduct A/B tests on different visual elements of your website. Then, compare how these variations affect user engagement and conversion rates. With this, you can know which one works and which doesn’t. 

It is also important to get feedback from your website visitors. You can send out questionnaires or surveys. But make it as short and straightforward as possible so they don’t get bored and leave. 

Additionally, you can use web analytical tools to track user behavior on your site. Metrics like bounce rates, session durations, and conversion rates will help you know whether you are on the positive side. 

FAQs 

1. How do you use visual storytelling in design?

Visual storytelling involves using rich visual elements to tell deep stories. The elements include animated charts, images, videos, or graphic illustrations. You can use typography, colors, and motion graphics to communicate your message in design.

2. Why is storytelling important for web designers?

Storytelling creates a deeper emotional connection with website visitors. When users visit your website, compelling storytelling engages them and can turn them into active participants. It is also an excellent way to boost SEO. 

3. How do I tell a compelling visual story?

  • Show your story, don’t tell
  • Add some conflict
  • Make your story relatable and relevant to your target audience
  • Invest in high-quality visuals
  • Use narrative structure — introduction, middle, conclusion
  • Include emotional words in your stories

Conclusion

Visual storytelling should be a very vital component in your web design. It is more than just for aesthetics, as it is now a strategic tool for user engagement, connection, and experience. With great visual storytelling, you can transform your website into a captivating journey that guides users through your narrative and boosts their overall experience.

Featured image by Melanie Deziel on Unsplash

The post The Power of Visual Storytelling in Web Design: Engaging Users Through Compelling Narratives appeared first on noupe.

Categories: Others Tags:

How AI is Changing eCommerce Operations?

October 17th, 2023 No comments

The integration of propelling innovation technology and computerized retail has changed the manner in which businesses work and individuals shop. And Artificial Intelligence (AI) is at its forefront. AI isn’t a trend but rather a shift that connects businesses to adapt, improve, and flourish in the marketplace. 

From customized shopping experiences to proficient stock management and responsive customer support, AI has changed the way eCommerce works. Further, it contributes to smoothing out processes, improving client experiences, and driving business growth.

Additionally, AI broadens its impact into the last mile of eCommerce business, guaranteeing convenient and proficient deliveries. Furthermore, innovations like the Shopify local delivery app have harnessed Artificial Intelligence to transform the online shopping experience.

As we’ve seen, AI has already revolutionized eCommerce operations. Now, it’s your chance to explore the limitless abilities of AI in online shopping. So, let’s get started.

The Evolution of eCommerce

The landscape of commerce has undergone a momentous change over the years, and the ascent of eCommerce has been the main impetus behind this change. From its modest starting points, eCommerce has expanded into a goliath industry, changing the manner in which we shop on a very basic level. Customary retail, once the primary avenue for consumer merchandise, presently ends up amidst a phenomenal shift.

Innovation has been the key part of this advancement. Since the coming of the internet, it has reliably played a critical role in reshaping online businesses. The ease of online transactions, the comfort of computerized retail stores, and the worldwide reach conceivable by innovation have propelled eCommerce to its current prominence.

At the core of this mechanical unrest lies artificial intelligence (AI), ready to reclassify online business operations in manners already impossible. In this blog, we will investigate how artificial intelligence is reshaping this landscape and how it affects the future of commerce.

Understanding Artificial Intelligence (AI)

Artificial Intelligence (AI) is the main thrust behind the change in eCommerce operations. It is the simulation of human intelligence in machines, empowering them to perform errands that normally require human mental capabilities. Artificial Intelligence envelops a wide range of innovations, from machine learning and natural language processing to computer vision. 

Its usage traverses across different ventures, however with regards to eCommerce, artificial intelligence assumes a critical part in changing the shopping experience. Through AI, online platforms can give customized product proposals, enhance pricing systems, and smooth out inventory management. 

Furthermore, AI-driven chatbots improve client service, and data analytics empower organizations to settle on data-driven choices. However, the implementation of AI comes with some challenges and considerations, let us learn them.

Challenges and Ethical Considerations

In the era of AI-driven commerce, dealing with challenges and ethical considerations builds trust for both businesses and their customers. 

1. Data privacy and security

With the broad usage of artificial intelligence, the collection and analysis of client information are undeniable. This raises worries about the protection and security of their delicate information. Safeguarding client information against breaches and guaranteeing compliance with data security guidelines like GDPR is a first concern for organizations.

2. Customer trust and transparency

Keeping up with the trust of online customers is foremost. The obscurity of AI algorithms and decision-making processes can make clients uncomfortable. Laying transparency in how AI is involved and giving clear explanations to customized proposals is essential for cultivating trust and guaranteeing moral practices in eCommerce. 

Thus, Exploring the complexities inside the domain of AI-driven web-based business isn’t just a need yet in addition a pledge to cultivate a reliable and ethical shopping experience for all.

AI Applications in eCommerce Operations

The integration of Artificial Intelligence (AI) into e-commerce operations has paved the way for historic innovations that are reshaping the business. AI’s application spans across the whole range of online retail, touching each aspect of the client excursion and business processes.

1. Personalization

Artificial intelligence empowers organizations to offer customized shopping experiences by dissecting client conduct and inclinations. From item proposals to modified promoting messages, personalization improves client commitment and fulfillment.

2. Inventory management

Artificial intelligence-fueled demand forecasting and stock advancement algorithms assist organizations with keeping up with the right stock levels, diminishing expenses, and limiting out-of-stock circumstances.

3. Chatbots and customer support

AI-driven chatbots are upsetting client support in eCommerce. These virtual assistants provide immediate responses to client queries, improving response times and overall satisfaction. This upgrades client experiences as well as diminishes operational expenses.

4. Fraud detection and security

eCommerce platforms are the main targets for fraudsters, focusing on security. AI algorithms are capable of distinguishing and forestalling fake activities. They analyze transaction patterns, client conduct, and external information sources to signal dubious activities. 

5. Dynamic pricing

Dynamic pricing is a cutthroat strategy that changes item costs in view of different elements like interest, contender evaluation, and stock levels. AI algorithms succeed in this area by constantly breaking down market conditions and changing costs as needed.

Going ahead, let us learn about the future of artificial intelligence (AI) in eCommerce. 

The Future of AI in eCommerce

As eCommerce keeps on developing, so do the latest technology innovations that support it, with Artificial intelligence assuming a focal part in molding the fate of online retail. A few arising AI advances are set to change the eCommerce landscape in the coming years:

1. Conversational AI

Chatbots and virtual assistants are turning out to be progressively modern, offering more natural and customized interaction with clients. This innovation will empower real-time support,  order tracking, and even item suggestions through messaging applications and voice assistants.

2. Visual search

Visual search innovation permits clients to track down items by uploading pictures or utilizing their gadget’s camera. AI algorithms break down the picture to recognize items, which smoothes out the shopping system and improves the client experience.

3. Predictive analytics

High-level AI algorithms are being utilized to foresee client conduct with more prominent precision. This incorporates forecasting demand, advancing stock, and customizing marketing campaigns in view of predictive insights.

4. Blockchain technology

Blockchain, frequently matched with computer-based intelligence, is being utilized to improve trust and transparency in online business transactions. It very well may be utilized for inventory network traceability, secure payment handling, and fighting fake items.

In the coming years, as these advances mature and turn out to be all the more broadly taken on. Furthermore, they will without a doubt shape the eventual fate of web-based shopping.

Conclusion

In this exploration of how Artificial Intelligence (AI) is reshaping e-commerce operations, artificial intelligence isn’t simply a pattern but a fundamental device that engages organizations to upgrade client encounters, smooth out operations, and remain cutthroat. This innovation isn’t simply changing the way that we shop; it’s reclassifying the whole web-based business industry.

As we move forward, organizations should embrace artificial intelligence-driven solutions, for the fate of Online business is innately entwined with the abilities and advancements computer-based intelligence offers of real value. The excursion has recently started, and the potential for growth and advancement is boundless in this AI-fueled era of online businesses.

Featured image by Kenny Eliason on Unsplash

The post How AI is Changing eCommerce Operations? appeared first on noupe.

Categories: Others Tags:

Reasons Why Microlearning is Transforming Corporate Training

October 17th, 2023 No comments

Employee training has become an essential part of the success of an organization. The market trends are changing, and the technologies are evolving daily. Employees must continuously update their knowledge and skills to compete in a changing world. Employee training enhances their productivity and ensures they can adapt to the changing industry trends and stay competitive in the market. 

Learning approaches at work are also changing. Instead of long, boring training sessions, microlearning strategies are making waves. It’s shaking the old-school methods that companies used to use. 

With the ever-evolving necessity of upskilling and reskilling, microlearning has become an essential aspect of corporate training programs. This new way of learning changes how employees learn and remember important information. Here are a few reasons microlearning is becoming so popular and how it’s transforming corporate training programs. 

1. Effective Training Methods:

Time is crucial in a busy work environment. Sometimes, the usual training methods take a long time and can interrupt the regular work routines. But microlearning has a better way. It provides small lessons that can easily fit into an employee’s day. They can learn during short breaks while traveling or even in quick moments when they have free time. Instead of giving all the information simultaneously, microlearning breaks it down into small, easy-to-understand parts. This makes learning much more effective and saves a lot of time.

2. Reduces Cognitive Stress:

Traditional training approaches give employees too much information all at once. Microlearning breaks down complex topics into smaller and more manageable parts. This prevents employees from feeling overwhelmed and helps them remember things better. With microlearning, employees learn one thing well before moving to the next so that they understand the material better and can use it well in their jobs. 

3. Convenience and Accessibility:

Microlearning uses digital platforms. So it can be easily accessible through mobiles or computers to learners regardless of their location. Whether an employee is in the office, working remotely, or traveling, they can access the training material at their convenience. This way, learning is improved because it fits well with different kinds of work setups and also helps employees who need to move around for their jobs. 

4. Cost Effectiveness:

Traditional training methods usually cost a lot of money because companies have to pay for books, a place, and the trainer. But with microlearning, companies or employees can save a lot of money. The learning materials are usually digitally available, so employees can use them repeatedly without spending much. Additionally, employees don’t have to take as much time off for training, which means they get more work done, and the company saves money. 

5. Personalized Learning Experiences:

Every person learns in their own way. Some people like to learn fast, while others take time. Microlearning provides a unique learning plan that lets employees pick what they want to learn about and when they want to learn it. Also, microlearning platforms can track individual progress and adapt content accordingly. This means each employee gets a personalized learning experience that helps them learn better. 

6. Improved Engagement and Retention:

Microlearning is helpful because it makes learning exciting and more effortless. Our brains remember things better when we learn in small, easy-to-handle pieces. It’s easier to enjoy and digest, just like eating small, tasty bites instead of a huge meal. 

Studies have found that people remember more when they learn in small pieces at a time, regularly. This means they remember more than when they have to sit through a long, tiring session that can make them feel stressed and tired. 

7. Knowledge Application Right Away:

Microlearning often uses practical, real-world examples directly related to employees’ jobs. They can use their knowledge immediately in their everyday tasks. Instead of waiting for a comprehensive training session to finish, employees can start using what they learn right after each short learning session. This helps them learn and improve quickly. 

8. Feasible Learning Outcomes:

Microlearning platforms have special analytical tools that help keep track of learners’ progress. These tools show insights if the learners are resonating with the content, struggling, or finding some difficulty. This data is vital for companies as it helps them improve their training programs for more effective learning. 

9. Works for Modern Workforce Structure:

The modern workforce has many different types of people with different ages and ways of learning. Microlearning works well with all these different types of learners. It bridges the generational gap by providing a learning environment that resonates with tech-savvy millennial learners and seasoned professionals. It even fits with the digital age learning that is becoming increasingly important nowadays. 

10. Continuous Learning:

With a bite-sized learning approach, microlearning helps employees have a lifelong learning experience within the organization. When companies offer easily accessible and digestible training content, employees are likelier to take charge of their learning. This makes them feel responsible for growing their careers and improving.

Also, it fits well with the evolving nature of industries and encourages employees to keep up with the latest trends and technologies. This way, everyone keeps learning and adapting. It makes the company more flexible and able to handle different situations.  

Parting Thoughts:

Microlearning, with its small, easy-to-understand lessons, helps employees learn better at their jobs. Because of its quick, engaging, and personalized approach, it has effectively taught employees new skills. 

By using microlearning, companies use time wisely and ensure every employee learns at their own pace. Employees can learn from anywhere and use their learning at their jobs quickly whenever needed, unlike traditional learning, where they have to wait. 

Organizations that adopt microlearning not only in the present but also in the future. They ensure their employees keep developing their skills and feel empowered by the market trends. This shows that they care about their employees’ future and want them to grow and succeed in their careers. The parameters of corporate training have been evolving regularly.  Learning has become more than just a duty; it’s now necessary. It’s a big step forward in how companies train their employees.

The post Reasons Why Microlearning is Transforming Corporate Training appeared first on noupe.

Categories: Others Tags:

Gatsby Headaches: Working With Media (Part 2)

October 16th, 2023 No comments

Gatsby is a true Jamstack framework. It works with React-powered components that consume APIs before optimizing and bundling everything to serve as static files with bits of reactivity. That includes media files, like images, video, and audio.

The problem is that there’s no “one” way to handle media in a Gatsby project. We have plugins for everything, from making queries off your local filesystem and compressing files to inlining SVGs and serving images in the responsive image format.

Which plugins should be used for certain types of media? How about certain use cases for certain types of media? That’s where you might encounter headaches because there are many plugins — some official and some not — that are capable of handling one or more use cases — some outdated and some not.

That is what this brief two-part series is about. In Part 1, we discussed various strategies and techniques for handling images, video, and audio in a Gatsby project.

This time, in Part 2, we are covering a different type of media we commonly encounter: documents. Specifically, we will tackle considerations for Gatsby projects that make use of Markdown and PDF files. And before wrapping up, we will also demonstrate an approach for using 3D models.

Solving Markdown Headaches In Gatsby

In Gatsby, Markdown files are commonly used to programmatically create pages, such as blog posts. You can write content in Markdown, parse it into your GraphQL data layer, source it into your components, and then bundle it as HTML static files during the build process.

Let’s learn how to load, query, and handle the Markdown for an existing page in Gatsby.

Loading And Querying Markdown From GraphQL

The first step on your Gatsby project is to load the project’s Markdown files to the GraphQL data layer. We can do this using the gatsby-source-filesystem plugin we used to query the local filesystem for image files in Part 1 of this series.

npm i gatsby-source-filesystem

In gatsby-config.js, we declare the folder where Markdown files will be saved in the project:

module.exports = {
  plugins: [
    {
      resolve: `gatsby-source-filesystem`,
      options: {
        name: `assets`,
        path: `${ __dirname }/src/assets`,
      },
    },
  ],
};

Let’s say that we have the following Markdown file located in the project’s ./src/assets directory:

---
title: sample-markdown-file
date: 2023-07-29
---

# Sample Markdown File

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed consectetur imperdiet urna, vitae pellentesque mauris sollicitudin at. Sed id semper ex, ac vestibulum nunc. Etiam ,

bash
lorem ipsum dolor sit

## Subsection

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed consectetur imperdiet urna, vitae pellentesque mauris sollicitudin at. Sed id semper ex, ac vestibulum nunc. Etiam efficitur, nunc nec placerat dignissim, ipsum ante ultrices ante, sed luctus nisl felis eget ligula. Proin sed quam auctor, posuere enim eu, vulputate felis. Sed egestas, tortor

This example consists of two main sections: the frontmatter and body. It is a common structure for Markdown files.

  • Frontmatter
    Enclosed in triple dashes (---), this is an optional section at the beginning of a Markdown file that contains metadata and configuration settings for the document. In our example, the frontmatter contains information about the page’s title and date, which Gatsby can use as GraphQL arguments.
  • Body
    This is the content that makes up the page’s main body content.

We can use the gatsby-transformer-remark plugin to parse Markdown files to a GraphQL data layer. Once it is installed, we will need to register it in the project’s gatsby-config.js file:

module.exports = {
  plugins: [
    {
      resolve: `gatsby-transformer-remark`,
      options: { },
    },
  ],
};

Restart the development server and navigate to http://localhost:8000/___graphql in the browser. Here, we can play around with Gatsby’s data layer and check our Markdown file above by making a query using the title property (sample-markdown-file) in the frontmatter:

query {
  markdownRemark(frontmatter: { title: { eq: "sample-markdown-file" } }) {
    html
  }
}

This should return the following result:

{
  "data": {
    "markdownRemark": {
      "html": "<h1>Sample Markdown File</h1>n<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed consectetur imperdiet urna, vitae pellentesque mauris sollicitudin at."
      // etc.
    }
  },
  "extensions": {}
}

Notice that the content in the response is formatted in HTML. We can also query the original body as rawMarkdownBody or any of the frontmatter attributes.

Next, let’s turn our attention to approaches for handling Markdown content once it has been queried.

Using DangerouslySetInnerHTML

dangerouslySetInnerHTML is a React feature that injects raw HTML content into a component’s rendered output by overriding the innerHTML property of the DOM node. It’s considered dangerous since it essentially bypasses React’s built-in mechanisms for rendering and sanitizing content, opening up the possibility of cross-site scripting (XSS) attacks without paying special attention.

That said, if you need to render HTML content dynamically but want to avoid the risks associated with dangerouslySetInnerHTML, consider using libraries that sanitize HTML input before rendering it, such as dompurify.

The dangerouslySetInnerHTML prop takes an __html object with a single key that should contain the raw HTML content. Here’s an example:

const DangerousComponent = () => {
  const rawHTML = "<p>This is <em>dangerous</em> content!</p>";

  return <div dangerouslySetInnerHTML={ { __html: rawHTML } } />;
};

To display Markdown using dangerouslySetInnerHTML in a Gatsby project, we need first to query the HTML string using Gatsby’s useStaticQuery hook:

import * as React from "react";
import { useStaticQuery, graphql } from "gatsby";

const DangerouslySetInnerHTML = () => {
  const data = useStaticQuery(graphqlquery {
      markdownRemark(frontmatter: { title: { eq: "sample-markdown-file" } }) {
        html
      }
    });

  return <div></div>;
};

Now, the html property can be injected into the dangerouslySetInnerHTML prop.

import * as React from "react";
import { useStaticQuery, graphql } from "gatsby";

const DangerouslySetInnerHTML = () => {
  const data = useStaticQuery(graphqlquery {
      markdownRemark(frontmatter: { title: { eq: "sample-markdown-file" } }) {
        html
      }
    });

  const markup = { __html: data.markdownRemark.html };

  return <div dangerouslySetInnerHTML={ markup }></div>;
};

This might look OK at first, but if we were to open the browser to view the content, we would notice that the image declared in the Markdown file is missing from the output. We never told Gatsby to parse it. We do have two options to include it in the query, each with pros and cons:

  1. Use a plugin to parse Markdown images.
    The gatsby-remark-images plugin is capable of processing Markdown images, making them available when querying the Markdown from the data layer. The main downside is the extra configuration it requires to set and render the files. Besides, Markdown images parsed with this plugin only will be available as HTML, so we would need to select a package that can render HTML content into React components, such as rehype-react.
  2. Save images in the static folder.
    The /static folder at the root of a Gatsby project can store assets that won’t be parsed by webpack but will be available in the public directory. Knowing this, we can point Markdown images to the /static directory, and they will be available anywhere in the client. The disadvantage? We are unable to leverage Gatsby’s image optimization features to minimize the overall size of the bundled package in the build process.

The gatsby-remark-images approach is probably most suited for larger projects since it is more manageable than saving all Markdown images in the /static folder.

Let’s assume that we have decided to go with the second approach of saving images to the /static folder. To reference an image in the /static directory, we just point to the filename without any special argument on the path.

const StaticImage = () => {
  return <img src={ "/desert.png" } alt="Desert" />;
};

react-markdown

The react-markdown package provides a component that renders markdown into React components, avoiding the risks of using dangerouslySetInnerHTML. The component uses a syntax tree to build the virtual DOM, which allows for updating only the changing DOM instead of completely overwriting it. And since it uses remark, we can combine react-markdown with remark’s vast plugin ecosystem.

Let’s install the package:

npm i react-markdown

Next, we replace our prior example with the ReactMarkdown component. However, instead of querying for the html property this time, we will query for rawMarkdownBody and then pass the result to ReactMarkdown to render it in the DOM.

import * as React from "react";
import ReactMarkdown from "react-markdown";
import { useStaticQuery, graphql } from "gatsby";

const MarkdownReact = () => {
  const data = useStaticQuery(graphqlquery {
      markdownRemark(frontmatter: { title: { eq: "sample-markdown-file" } }) {
        rawMarkdownBody
      }
    });

  return <ReactMarkdown>{data.markdownRemark.rawMarkdownBody}</ReactMarkdown>;
};

markdown-to-jsx

markdown-to-jsx is the most popular Markdown component — and the lightest since it comes without any dependencies. It’s an excellent tool to consider when aiming for performance, and it does not require remark’s plugin ecosystem. The plugin works much the same as the react-markdown package, only this time, we import a Markdown component instead of ReactMarkdown.

npm i markdown-to-jsx
import * as React from "react";
import Markdown from "markdown-to-jsx";
import { useStaticQuery, graphql } from "gatsby";

const MarkdownToJSX = () => {
  const data = useStaticQuery(graphqlquery {
      markdownRemark(frontmatter: { title: { eq: "sample-markdown-file" } }) {
        rawMarkdownBody
      }
    });

  return <Markdown> { data.markdownRemark.rawMarkdownBody }</Markdown>;
};

We have taken raw Markdown and parsed it as JSX. But what if we don’t necessarily want to parse it at all? We will look at that use case next.

react-md-editor

Let’s assume for a moment that we are creating a lightweight CMS and want to give users the option to write posts in Markdown. In this case, instead of parsing the Markdown to HTML, we need to query it as-is.

Rather than creating a Markdown editor from scratch to solve this, several packages are capable of handling the raw Markdown for us. My personal favorite is
react-md-editor.

Let’s install the package:

npm i @uiw/react-md-editor

The MDEditor component can be imported and set up as a controlled component:

import * as React from "react";
import { useState } from "react";
import MDEditor from "@uiw/react-md-editor";

const ReactMDEditor = () => {
  const [value, setValue] = useState("**Hello world!!!**");

  return <MDEditor value={ value } onChange={ setValue } />;
};

The plugin also comes with a built-in MDEditor.Markdown component used to preview the rendered content:

import * as React from "react";
import { useState } from "react";
import MDEditor from "@uiw/react-md-editor";

const ReactMDEditor = () => {
  const [value, setValue] = useState("**Hello world!**");

  return (
    <>
      <MDEditor value={value} onChange={ setValue } />
      <MDEditor.Markdown source={ value } />
    </>
  );
};

That was a look at various headaches you might encounter when working with Markdown files in Gatsby. Next, we are turning our attention to another type of file, PDF.

Solving PDF Headaches In Gatsby

PDF files handle content with a completely different approach to Markdown files. With Markdown, we simplify the content to its most raw form so it can be easily handled across different front ends. PDFs, however, are the content presented to users on the front end. Rather than extracting the raw content from the file, we want the user to see it as it is, often by making it available for download or embedding it in a way that the user views the contents directly on the page, sort of like a video.

I want to show you four approaches to consider when embedding a PDF file on a page in a Gatsby project.

Using The Element

The easiest way to embed a PDF into your Gatsby project is perhaps through an iframe element:

import * as React from "react";
import samplePDF from "./assets/lorem-ipsum.pdf";

const IframePDF = () => {
  return <iframe src={ samplePDF }></iframe>;
};

It’s worth calling out here that the iframe element supports lazy loading (loading="lazy") to boost performance in instances where it doesn’t need to load right away.

Embedding A Third-Party Viewer

There are situations where PDFs are more manageable when stored in a third-party service, such as Drive, which includes a PDF viewer that can embedded directly on the page. In these cases, we can use the same iframe we used above, but with the source pointed at the service.

import * as React from "react";

const ThirdPartyIframePDF = () => {
  return (
    <iframe
      src="https://drive.google.com/file/d/1IiRZOGib_0cZQY9RWEDslMksRykEnrmC/preview"
      allowFullScreen
      title="PDF Sample in Drive"
    />
  );
};

It’s a good reminder that you want to trust the third-party content that’s served in an iframe. If we’re effectively loading a document from someone else’s source that we do not control, your site could become prone to security vulnerabilities should that source become compromised.

Using react-pdf

The react-pdf package provides an interface to render PDFs as React components. It is based on pdf.js, a JavaScript library that renders PDFs using HTML Canvas.

To display a PDF file on a , the react-pdf library exposes the Document and Page components:

  • Document: Loads the PDF passed in its file prop.
  • Page: Displays the page passed in its pageNumber prop. It should be placed inside Document.

We can install to our project:

npm i react-pdf

Before we put react-pdf to use, we will need to set up a service worker for pdf.js to process time-consuming tasks such as parsing and rendering a PDF document.

import * as React from "react";
import { pdfjs } from "react-pdf";

pdfjs.GlobalWorkerOptions.workerSrc = "https://unpkg.com/pdfjs-dist@3.6.172/build/pdf.worker.min.js";

const ReactPDF = () => {
  return <div></div>;
};

Now, we can import the Document and Page components, passing the PDF file to their props. We can also import the component’s necessary styles while we are at it.

import * as React from "react";
import { Document, Page } from "react-pdf";

import { pdfjs } from "react-pdf";
import "react-pdf/dist/esm/Page/AnnotationLayer.css";
import "react-pdf/dist/esm/Page/TextLayer.css";

import samplePDF from "./assets/lorem-ipsum.pdf";

pdfjs.GlobalWorkerOptions.workerSrc = "https://unpkg.com/pdfjs-dist@3.6.172/build/pdf.worker.min.js";

const ReactPDF = () => {
  return (
    <Document file={ samplePDF }>
      <Page pageNumber={ 1 } />
    </Document>
  );
};

Since accessing the PDF will change the current page, we can add state management by passing the current pageNumber to the Page component:

import { useState } from "react";

// ...

const ReactPDF = () => {
  const [currentPage, setCurrentPage] = useState(1);

  return (
    <Document file={ samplePDF }>
      <Page pageNumber={ currentPage } />
    </Document>
  );
};

One issue is that we have pagination but don’t have a way to navigate between pages. We can change that by adding controls. First, we will need to know the number of pages in the document, which is accessed on the Document component’s onLoadSuccess event:

// ...

const ReactPDF = () => {
  const [pageNumber, setPageNumber] = useState(null);
  const [currentPage, setCurrentPage] = useState(1);

  const handleLoadSuccess = ({ numPages }) => {
    setPageNumber(numPages);
  };

  return (
    <Document file={ samplePDF } onLoadSuccess={ handleLoadSuccess }>
      <Page pageNumber={ currentPage } />
    </Document>
  );
};

Next, we display the current page number and add “Next” and “Previous” buttons with their respective handlers to change the current page:

// ...

const ReactPDF = () => {
  const [currentPage, setCurrentPage] = useState(1);
  const [pageNumber, setPageNumber] = useState(null);

  const handlePrevious = () => {
    // checks if it isn't the first page
    if (currentPage > 1) {
      setCurrentPage(currentPage - 1);
    }
  };

  const handleNext = () => {
    // checks if it isn't the last page
    if (currentPage < pageNumber) {
      setCurrentPage(currentPage + 1);
    }
  };

  const handleLoadSuccess = ({ numPages }) => {
    setPageNumber(numPages);
  };

  return (
    <div>
      <Document file={ samplePDF } onLoadSuccess={ handleLoadSuccess }>
        <Page pageNumber={ currentPage } />
      </Document>
      <button onClick={ handlePrevious }>Previous</button>
      <p>{currentPage}</p>
      <button onClick={ handleNext }>Next</button>
    </div>
  );
};

This provides us with everything we need to embed a PDF file on a page via the HTML element using react-pdf and pdf.js.

There is another similar package capable of embedding a PDF file in a viewer, complete with pagination controls. We’ll look at that next.

Using react-pdf-viewer

Unlike react-pdf, the react-pdf-viewer package provides built-in customizable controls right out of the box, which makes embedding a multi-page PDF file a lot easier than having to import them separately.

Let’s install it:

npm i @react-pdf-viewer/core@3.12.0 @react-pdf-viewer/default-layout

Since react-pdf-viewer also relies on pdf.js, we will need to create a service worker as we did with react-pdf, but only if we are not using both packages at the same time. This time, we are using a Worker component with a workerUrl prop directed at the worker’s package.

import * as React from "react";
import { Worker } from "@react-pdf-viewer/core";

const ReactPDFViewer = () => {
  return (
    <>
      <Worker workerUrl="https://unpkg.com/pdfjs-dist@3.4.120/build/pdf.worker.min.js"></Worker>
    </>
  );
};

Note that a worker like this ought to be set just once at the layout level. This is especially true if you intend to use the PDF viewer across different pages.

Next, we import the Viewer component with its styles and point it at the PDF through its fileUrl prop.

import * as React from "react";
import { Viewer, Worker } from "@react-pdf-viewer/core";

import "@react-pdf-viewer/core/lib/styles/index.css";

import samplePDF from "./assets/lorem-ipsum.pdf";

const ReactPDFViewer = () => {
  return (
    <>
      <Viewer fileUrl={ samplePDF } />
      <Worker workerUrl="https://unpkg.com/pdfjs-dist@3.6.172/build/pdf.worker.min.js"></Worker>
    </>
  );
};

Once again, we need to add controls. We can do that by importing the defaultLayoutPlugin (including its corresponding styles), making an instance of it, and passing it in the Viewer component’s plugins prop.

import * as React from "react";
import { Viewer, Worker } from "@react-pdf-viewer/core";
import { defaultLayoutPlugin } from "@react-pdf-viewer/default-layout";

import "@react-pdf-viewer/core/lib/styles/index.css";
import "@react-pdf-viewer/default-layout/lib/styles/index.css";

import samplePDF from "./assets/lorem-ipsum.pdf";

const ReactPDFViewer = () => {
  const defaultLayoutPluginInstance = defaultLayoutPlugin();

  return (
    <>
      <Viewer fileUrl={ samplePDF } plugins={ [defaultLayoutPluginInstance] } />
      <Worker workerUrl="https://unpkg.com/pdfjs-dist@3.6.172/build/pdf.worker.min.js"></Worker>
    </>
  );
};

Again, react-pdf-viewer is an alternative to react-pdf that can be a little easier to implement if you don’t need full control over your PDF files, just the embedded viewer.

There is one more plugin that provides an embedded viewer for PDF files. We will look at it, but only briefly, because I personally do not recommend using it in favor of the other approaches we’ve covered.

Why You Shouldn’t Use react-file-viewer

The last plugin we will check out is react-file-viewer, a package that offers an embedded viewer with a simple interface but with the capacity to handle a variety of media in addition to PDF files, including images, videos, PDFs, documents, and spreadsheets.

import * as React from "react";
import FileViewer from "react-file-viewer";

const PDFReactFileViewer = () => {
  return <FileViewer fileType="pdf" filePath="/lorem-ipsum.pdf" />;
};

While react-file-viewer will get the job done, it is extremely outdated and could easily create more headaches than it solves with compatibility issues. I suggest avoiding it in favor of either an iframe, react-pdf, or react-pdf-viewer.

Solving 3D Model Headaches In Gatsby

I want to cap this brief two-part series with one more media type that might cause headaches in a Gatsby project: 3D models.

A 3D model file is a digital representation of a three-dimensional object that stores information about the object’s geometry, texture, shading, and other properties of the object. On the web, 3D model files are used to enhance user experiences by bringing interactive and immersive content to websites. You are most likely to encounter them in product visualizations, architectural walkthroughs, or educational simulations.

There is a multitude of 3D model formats, including glTF OBJ, FBX, STL, and so on. We will use glTF models for a demonstration of a headache-free 3D model implementation in Gatsby.

The GL Transmission Format (glTF) was designed specifically for the web and real-time applications, making it ideal for our example. Using glTF files does require a specific webpack loader, so for simplicity’s sake, we will save the glTF model in the /static folder at the root of our project as we look at two approaches to create the 3D visual with Three.js:

  1. Using a vanilla implementation of Three.js,
  2. Using a package that integrates Three.js as a React component.

Using Three.js

Three.js creates and loads interactive 3D graphics directly on the web with the help of WebGL, a JavaScript API for rendering 3D graphics in real-time inside HTML elements.

Three.js is not integrated with React or Gatsby out of the box, so we must modify our code to support it. A Three.js tutorial is out of scope for what we are discussing in this article, although excellent learning resources are available in the Three.js documentation.

We start by installing the three library to the Gatsby project:

npm i three

Next, we write a function to load the glTF model for Three.js to reference it. This means we need to import a GLTFLoader add-on to instantiate a new loader object.

import * as React from "react";
import * as THREE from "three";

import { GLTFLoader } from "three/addons/loaders/GLTFLoader.js";

const loadModel = async (scene) => {
  const loader = new GLTFLoader();
};

We use the scene object as a parameter in the loadModel function so we can attach our 3D model once loaded to the scene.

From here, we use loader.load() which takes four arguments:

  1. The glTF file location,
  2. A callback when the resource is loaded,
  3. A callback while loading is in progress,
  4. A callback for handling errors.
import * as React from "react";
import * as THREE from "three";

import { GLTFLoader } from "three/addons/loaders/GLTFLoader.js";

const loadModel = async (scene) => {
  const loader = new GLTFLoader();

  await loader.load(
    "/strawberry.gltf", // glTF file location
    function (gltf) {
      // called when the resource is loaded
      scene.add(gltf.scene);
    },
    undefined, // called while loading is in progress, but we are not using it
    function (error) {
      // called when loading returns errors
      console.error(error);
    }
  );
};

Let’s create a component to host the scene and load the 3D model. We need to know the element’s client width and height, which we can get using React’s useRef hook to access the element’s DOM properties.

import * as React from "react";
import * as THREE from "three";

import { useRef, useEffect } from "react";

// ...

const ThreeLoader = () => {
  const viewerRef = useRef(null);

  return <div style={ { height: 600, width: "100%" } } ref={ viewerRef }></div>; // Gives the element its dimensions
};

Since we are using the element’s clientWidth and clientHeight properties, we need to create the scene on the client side inside React’s useEffect hook where we configure the Three.js scene with its necessary complements, e.g., a camera, the WebGL renderer, and lights.

useEffect(() => {
  const { current: viewer } = viewerRef;

  const scene = new THREE.Scene();

  const camera = new THREE.PerspectiveCamera(75, viewer.clientWidth / viewer.clientHeight, 0.1, 1000);

  const renderer = new THREE.WebGLRenderer();

  renderer.setSize(viewer.clientWidth, viewer.clientHeight);

  const ambientLight = new THREE.AmbientLight(0xffffff, 0.4);
  scene.add(ambientLight);

  const directionalLight = new THREE.DirectionalLight(0xffffff);
  directionalLight.position.set(0, 0, 5);
  scene.add(directionalLight);

  viewer.appendChild(renderer.domElement);
  renderer.render(scene, camera);
}, []);

Now we can invoke the loadModel function, passing the scene to it as the only argument:

useEffect(() => {
  const { current: viewer } = viewerRef;

  const scene = new THREE.Scene();

  const camera = new THREE.PerspectiveCamera(75, viewer.clientWidth / viewer.clientHeight, 0.1, 1000);

  const renderer = new THREE.WebGLRenderer();

  renderer.setSize(viewer.clientWidth, viewer.clientHeight);

  const ambientLight = new THREE.AmbientLight(0xffffff, 0.4);
  scene.add(ambientLight);

  const directionalLight = new THREE.DirectionalLight(0xffffff);
  directionalLight.position.set(0, 0, 5);
  scene.add(directionalLight);

  loadModel(scene); // Here!

  viewer.appendChild(renderer.domElement);
  renderer.render(scene, camera);
}, []);

The last part of this vanilla Three.js implementation is to add OrbitControls that allow users to navigate the model. That might look something like this:

import * as React from "react";
import * as THREE from "three";

import { useRef, useEffect } from "react";
import { OrbitControls } from "three/examples/jsm/controls/OrbitControls";
import { GLTFLoader } from "three/addons/loaders/GLTFLoader.js";

const loadModel = async (scene) => {
  const loader = new GLTFLoader();

  await loader.load(
    "/strawberry.gltf", // glTF file location
    function (gltf) {
      // called when the resource is loaded
      scene.add(gltf.scene);
    },
    undefined, // called while loading is in progress, but it is not used
    function (error) {
      // called when loading has errors
      console.error(error);
    }
  );
};

const ThreeLoader = () => {
  const viewerRef = useRef(null);

  useEffect(() => {
    const { current: viewer } = viewerRef;

    const scene = new THREE.Scene();

    const camera = new THREE.PerspectiveCamera(75, viewer.clientWidth / viewer.clientHeight, 0.1, 1000);

    const renderer = new THREE.WebGLRenderer();

    renderer.setSize(viewer.clientWidth, viewer.clientHeight);

    const ambientLight = new THREE.AmbientLight(0xffffff, 0.4);
    scene.add(ambientLight);

    const directionalLight = new THREE.DirectionalLight(0xffffff);
    directionalLight.position.set(0, 0, 5);
    scene.add(directionalLight);

    loadModel(scene);

    const target = new THREE.Vector3(-0.5, 1.2, 0);
    const controls = new OrbitControls(camera, renderer.domElement);
    controls.target = target;

    viewer.appendChild(renderer.domElement);

    var animate = function () {
      requestAnimationFrame(animate);
      controls.update();
      renderer.render(scene, camera);
    };
    animate();
  }, []);

  <div style={ { height: 600, width: "100%" } } ref={ viewerRef }></div>;
};

That is a straight Three.js implementation in a Gatsby project. Next is another approach using a library.

Using React Three Fiber

react-three-fiber is a library that integrates the Three.js with React. One of its advantages over the vanilla Three.js approach is its ability to manage and update 3D scenes, making it easier to compose scenes without manually handling intricate aspects of Three.js.

We begin by installing the library to the Gatsby project:

npm i react-three-fiber @react-three/drei

Notice that the installation command includes the @react-three/drei package, which we will use to add controls to the 3D viewer.

I personally love react-three-fiber for being tremendously self-explanatory. For example, I had a relatively easy time migrating the extensive chunk of code from the vanilla approach to this much cleaner code:

import * as React from "react";
import { useLoader, Canvas } from "@react-three/fiber";
import { OrbitControls } from "@react-three/drei";
import { GLTFLoader } from "three/examples/jsm/loaders/GLTFLoader";

const ThreeFiberLoader = () => {
  const gltf = useLoader(GLTFLoader, "/strawberry.gltf");

  return (
    <Canvas camera={ { fov: 75, near: 0.1, far: 1000, position: [5, 5, 5] } } style={ { height: 600, width: "100%" } }>
      <ambientLight intensity={ 0.4 } />
      <directionalLight color="white" />
      <primitive object={ gltf.scene } />
      <OrbitControls makeDefault />
    </Canvas>
  );
};

Thanks to react-three-fiber, we get the same result as a vanilla Three.js implementation but with fewer steps, more efficient code, and a slew of abstractions for managing and updating Three.js scenes.

Two Final Tips

The last thing I want to leave you with is two final considerations to take into account when working with media files in a Gatsby project.

Bundling Assets Via Webpack And The /static Folder

Importing an asset as a module so it can be bundled by webpack is a common strategy to add post-processing and minification, as well as hashing paths on the client. But there are two additional use cases where you might want to avoid it altogether and use the static folder in a Gatsby project:

  • Referencing a library outside the bundled code to prevent webpack compatibility issues or a lack of specific loaders.
  • Referencing assets with a specific name, for example, in a web manifest file.

You can find a detailed explanation of the static folder and use it to your advantage in the Gatsby documentation.

Embedding Files From Third-Party Services

Secondly, you can never be too cautious when embedding third-party services on a website. Replaced content elements, like , can introduce various security vulnerabilities, particularly when you do not have control of the source content. By integrating a third party’s scripts, widgets, or content, a website or app is prone to potential vulnerabilities, such as iframe injection or cross-frame scripting.

Moreover, if an integrated third-party service experiences downtime or performance issues, it can directly impact the user experience.

Conclusion

This article explored various approaches for working around common headaches you may encounter when working with Markdown, PDF, and 3D model files in a Gatsby project. In the process, we leveraged several React plugins and Gatsby features that handle how content is parsed, embed files on a page, and manage 3D scenes.

This is also the second article in a brief two-part series that addresses common headaches working with a variety of media types in Gatsby. The first part covers more common media files, including images, video, and audio.

If you’re looking for more cures to Gatsby headaches, please check out my other two-part series that investigates internationalization.

See Also

Categories: Others Tags:

15 Best New Fonts, October 2023

October 16th, 2023 No comments

We’re entering the final quarter of 2023, and even in the pre-holiday lull, there are still plenty of fonts to get excited about. In this month’s edition of our roundup of the best new fonts for designers, there are lots of revivals, some excellent options for logo designers, and some creative twists on letterforms. Enjoy!

Categories: Designing, Others Tags:

How can Employee Attendance Tracking Improve Workflow Efficiency

October 16th, 2023 No comments

The methodology or strategy utilized by associations to screen representative participation, consistency, and nonappearance is called participation following. Also, it monitors the representatives’ working and movement hours. Organizations use various apparatuses, programs, and applications to keep definite and exact records of their staff.

While customary approaches to recording participation are still being used, participation following methods has progressed alongside innovation. Monitoring representative participation utilizing successful bookkeeping sheets and biometric advancements are two of the most famous and widely used methods.

However much you might screen these elements physically or with unwieldy timesheets since time is cash, there is a superior strategy to achieve it quicker inferable from the computerized period. By using time and participation frameworks, organizations can now improve their cycles and boost the viability of their labor force. As you extend yield, smooth out cycles, and raise incomes, the conceivable outcomes are limitless.

Let us highlight the points to find out how the time and attendance system can enhance workflow efficiency.

No Fake Attendance

Usual and routine techniques for checking participation are inclined to control. A worker could go home for the day by mentioning a collaborator to monitor their behalf or by giving their login certifications to another person.

Integrating attendance tracking software is essential for accurate attendance information for employees. Forging a fingerprint or retina pattern is impossible. This procedure helps the HR department to ensure that no employee can violate company policies. It also reduces the workload of HR because it is no longer necessary to manually check the attendance of each employee.

Productivity is Improved 

To avoid any kind of errors with the paychecks of employees, attendance policies like clock-in and clock-out times play a major role. The main positive aspect of getting a time and attendance system into action will definitely save the time of every single employee in the organization.   

It is very necessary to cut short the lengthy and unwanted process where they have to manually report their schedules or even have to get their attendance reports signed by their superiors or managers. Instead, there can be automatic systems for attendance like biometric fingerprints which not only make the entire procedure short but will also be error-free. 

This will result in high productivity as they can focus on their goals and the procedures of the organization rather than tracking downtime they worked for and also keeping a check on the areas that caused errors. In fact, this way business operations will see definite growth and the high productivity will impact the performance financially.  

Accountability of Employees

What makes an employee more responsible? The answer would be software that tracks time and attendance in an effective way. The employees will surely be consistent and be on time when they are aware that their working hours are correctly tracked without any mistakes. 

This entire proceeding results in an efficient workflow of the business and encourages building an attitude of responsibility and answerability. 

Labour Laws 

Not only payroll and timesheets but ensuring legal requirements and corporate concerns are also taken properly care of is a must in any of the organizations. 

Tracking employees’ attendance will assist you in abiding by the Fair Labour Standards Act and other employment-related rules by streamlining schedules, processing accruals, and implementing precise punching in and out procedures.

A firm or business that violates labor regulations faces financial penalties, the potential loss of time, effort, and staff members, as well as possible negative effects on their brand. That is why it is necessary to take these variables carefully. A customizable system enables you to create and implement corporate rules that are advantageous to both management and the entire workforce, creating a win-win situation.

Less Human Errors

Both employers and employees benefit from this automated attendance tracking system because the chance of human error is minimal. Typically, employees spend a lot of time manually calculating hourly reports and preparing payroll reports. This is definitely a  time-consuming and labor-intensive process, especially if there are mistakes that need to be corrected. 

In addition, discovered bugs can also lead to more serious compliance issues. These errors can be avoided with timekeeping systems that can track and highlight errors and effectively correct them. From now on, there will be no complications, and everyone, especially the employees, will get fair and just compensation.

Saves Money

These time-keeping systems not only prevent the time theft that some mediocre employees do but save you more than you can imagine. It automates accrual for paid leaves, minimizes the overtime pay amount, generates a smoother way to calculate salary budget, improves employees’ communication, and more.

Assists Advance Planning

To address difficulties in daily tasks, the employer must inform the employee more quickly about last-minute changes in the work schedule. Instead of relying on emails, text messages, and calls, the attendance management system can certainly help employees receive quick notifications of significant schedule changes. This reduces the possibility of messages being missed or mishandled, which can cause significant confusion.

Time Utilization

The overhead expenses are mostly made up of labor costs.  We all know that time in an actual sense is money, and this applies to most corporate processes as a whole. 

There are some workers who engage in wrong practices like punching for their coworkers. They can so easily falsify their punch-in and punch-out times, which will have a substantial negative impact on the budget. The employees also get involved in tardiness, distraction, and clocking off early.

However, few organizations still use manual methods and in that case, employees would be able to tamper with the recording of their schedules.

The finest part about a time and attendance system is that an employee will have to log their working hours using their IDs, biometrics, or other time input devices. These elements make it impossible for employees to cheat leaving no scope of time theft.

Conclusion

The enormous advantages of employee attendance tracking can significantly enhance the workflow efficiency of any organization. It provides insights, reduces errors, streamlines communication, and boosts productivity. By ensuring transparency, businesses can save a lot of money and reduce potential time theft caused by employees who are not honest with the organization. Embracing modern attendance tracking systems can transform the way businesses operate and lead to a more efficient working environment.

Featured Image by rawpixel.com on Freepik

The post How can Employee Attendance Tracking Improve Workflow Efficiency appeared first on noupe.

Categories: Others Tags:

Progressive Web Apps (PWAs): Unlocking The Future of Mobile-First Web Development

October 13th, 2023 No comments

There are over 5.4 billion mobile users today, meaning that over 68% of the population tap into an online business via their smartphone devices.

Categories: Designing, Others Tags: