Home / Companies / LogRocket / Blog / September 2017

September 2017 Summaries

4 posts from LogRocket

Filter
Month: Year:
Post Summaries Back to Blog
The post provides a comprehensive guide to building server-rendered web pages using Vue.js, focusing on the use of Nuxt.js to streamline the server-rendering process. It highlights the challenges of single-page applications (SPAs) in terms of web crawling and JavaScript dependency, advocating for server-side rendering (SSR) as a solution to improve SEO and load times. Nuxt.js, inspired by React's Next.js, simplifies SSR in Vue projects by automating routing and providing a straightforward setup process. The post includes a practical example of creating a dog breed app using Nuxt.js, showcasing features like automatic route mapping, the asyncData method for data fetching, and dynamic routing, all of which contribute to enhanced server-side rendering capabilities. Additionally, it mentions tools like LogRocket for monitoring and debugging Vue applications, emphasizing the importance of understanding user experiences and improving app performance.
Sep 29, 2017 1,396 words in the original blog post.
Design, often perceived as an elusive skill, is accessible to all through understanding its foundational principles, akin to learning a few basic chords on a guitar. The essence of design lies at the intersection of art, engineering, and human interaction, using these elements to guide attention, foster understanding, and motivate action. Effective design leverages space to create clear associations and distinctions, using grid systems to organize elements consistently while allowing for intentional rule-breaking to emphasize certain aspects. Selecting colors, typography, and illustrations requires experience and an understanding of subliminal messaging, contrasts, and tone, with inspiration often drawn from successful existing designs. While mastery comes with practice, beginners can start by imitating admired designs and incorporating feedback, emphasizing that design, although complex, need not be intimidating.
Sep 26, 2017 2,454 words in the original blog post.
In the continuation of a technical series on web app security for full-stack developers, this article emphasizes the importance of server-level security for both front-end and back-end development. It discusses the critical role of choosing a reliable and secure web server, balancing the need for speed and security. Key security practices include implementing HTTPS through Strict Transport Security (HSTS) to prevent attacks like cookie theft and man-in-the-middle, using the X-XSS-Protection header to guard against cross-site scripting (XSS) attacks, and protecting against clickjacking with X-Frame-Options. The article also covers Content Security Policies (CSP) to control which content is executable on the web app, and warns about the potential downsides of aggressive caching of sensitive data, recommending the use of Cache-Control headers to mitigate risks. The author concludes by noting the importance of staying updated on server and language vulnerabilities and teases the next article focusing on user authentication and authorization.
Sep 19, 2017 2,716 words in the original blog post.
Writing unit tests is a crucial aspect of developing reliable Vue.js applications, and using the Avoriaz testing utility can simplify this process. This guide outlines how to set up a Vue.js project using Vue-cli and illustrates writing unit tests with both the default Vue.js approach and the Avoriaz package. By leveraging Avoriaz, developers can utilize helper functions like `mount` and `text()` to streamline testing. The guide also addresses testing Vue components with asynchronous functions using libraries like Promise and Moxios to handle async requests and resolve testing issues. Additionally, it covers techniques for testing computed properties, noting some challenges with Avoriaz's context binding. The importance of comprehensive unit testing is emphasized as a means to reduce bugs and enhance user experience, and developers are encouraged to explore tools like LogRocket for monitoring and debugging Vue applications in production settings.
Sep 07, 2017 1,686 words in the original blog post.