Git --distributed-even-if-your-workflow-isn't
Git is a free and open-source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
Git is easy to learn and has a tiny footprint with lightning-fast performance. It outclasses SCM tools like Subversion, CVS, Perforce, and ClearCase with features like cheap local branching, convenient staging areas, and multiple workflows.
Git development was started by Torvalds in April 2005 when the proprietary source-control management (SCM) system used for Linux kernel development since 2002, BitKeeper, revoked its free license for Linux development. The copyright holder of BitKeeper, Larry McVoy, claimed that Andrew Tridgell had created SourcePuller by reverse engineering the BitKeeper protocols. The same incident also spurred the creation of another version-control system, Mercurial.
Torvalds wanted a distributed system that he could use like BitKeeper, but none of the available free systems met his needs. He cited an example of a source-control management system needing 30 seconds to apply a patch and update all associated metadata and noted that this would not scale to the needs of Linux kernel development, where synchronizing with fellow maintainers could require 250 such actions at once. For his design criterion, he specified that patching should take no more than three seconds, and added three more goals:
- Take the Concurrent Versions System (CVS) as an example of what not to do; if in doubt, make the exact opposite decision.
- Support a distributed, BitKeeper-like workflow.
- Include very strong safeguards against corruption, either accidental or malicious.
Latest source Release: 2.29.2 For Windows
Learn more .....
Free Absurd Illustrations for Landing Pages
Absurd Illustrations that make sense are something completely new when it comes to modern web design. The digital era has its aesthetic standards inspired by perfection and artificial intelligence. On the other hand, Absurd Illustrations provide us with perfect imperfection. They look like something your child will paint or understand. It is simple, yet effective.
The website is absurd. design released a few amazing illustrations that combine absurdity, imagination, and imperfection, and you can use them for free on your landing page or application design.
This playful design offers us the opportunity to enjoy something that is close to us, something less sterile.
Not only do surreal illustrations look beautiful, but they awaken the imagination and are amazing for attracting attention. These illustrations can send the message you would like to share, they can be a metaphor, whatever you, please.
Each illustration offers the possibility of limitless interpretations and uses; everyone can give it meaning. It depends only on one’s creativity and free spirit. They are suitable for various businesses and brands as each can use playfulness to achieve certain goals.
A landing page says a lot about your work; therefore make sure it resonates with humans. They are the ones you need to connect with.
Read more .....
PHP The Right Way
There’s a lot of outdated information on the Web that leads new PHP users astray, propagating bad practices and insecure code. PHP: The Right Way is an easy-to-read, quick reference for PHP popular coding standards, links to authoritative tutorials around the Web, and what the contributors consider to be best practices at the present time.
There is no canonical way to use PHP. This website aims to introduce new PHP developers to some topics which they may not discover until it is too late, and aims to give seasoned pros some fresh ideas on those topics they’ve been doing for years without ever reconsidering. This website will also not tell you which tools to use, but instead offer suggestions for multiple options, when possible explaining the differences in approach and use-case.
Use the Current Stable Version (8.1)
If you are getting started with PHP, start with the current stable release of PHP 8.1. PHP 8.x adds many new features over the older 7.x and 5.x versions. The engine has been largely re-written, and PHP is now even quicker than older versions. PHP 8 is a major update of the language and contains many new features and optimizations.
You should try to upgrade to the latest stable version quickly - PHP 5.6 is already End of Life. Upgrading is easy, as there are not many backwards compatibility breaks. If you are not sure which version a function or feature is in, you can check the PHP documentation on the php.net website.
Built-in web server
With PHP 5.4 or newer, you can start learning PHP without installing and configuring a full-fledged web server. To start the server, run the following command from your terminal in your project’s web root:
Read more .....
Hand Coding
In computing, hand-coding means editing the underlying representation of a document or a computer program, when tools that allow working on a higher level representation also exist. Typically this means editing the source code, or the textual representation of a document or program, instead of using a WYSIWYG editor that always displays an approximation of the final product. It may also mean translating the whole or parts of the source code into machine language manually instead of using a compiler or an automatic translator.
Most commonly, it refers to directly writing HTML documents for the web (rather than in a specialized editor), or to writing a program or portion of a program in assembly language (more rarely raw machine code) rather than in a higher-level language. It can also include other markup languages, such as wikitext.
Hand code is source code that does not have tools that can edit it at a more abstract level. Hand code must, by definition, be edited and maintained entirely by hand. Some code can be edited either using an editor/IDE or by hand, but hand code is differentiated from derived code in that it requires human involvement to create and maintain it over time. Projects may include both hand code and derivative code.
Read more .....
JavaScript Language
When it comes to programming, getting started is the hardest part. There are too many programming languages to choose from these days and each seems to be suited for a specific kind of work. The best thing you can do is build a foundation using the most popular programming language out there: JavaScript.
If you want to learn JavaScript, but don't want to pay an arm and a leg, enroll in this Comprehensive JavaScript Bundle. It's like a gateway into the great wide world of programming, and it only costs $31.
History:
The first popular web browser with a graphical user interface, Mosaic, was released in 1993. Accessible to non-technical people, it played a prominent role in the rapid growth of the nascent World Wide Web. The lead developers of Mosaic then founded the Netscape corporation, which released a more polished browser, Netscape Navigator, in 1994. This quickly became the most used.
During these formative years of the Web, web pages could only be static, lacking the capability for dynamic behavior after the page was loaded in the browser. There was a desire in the flourishing web development scene to remove this limitation, so in 1995, Netscape decided to add a scripting language to Navigator. They pursued two routes to achieve this: collaborating with Sun Microsystems to embed the Java programming language, while also hiring Brendan Eich to embed the Scheme language.
Netscape management soon decided that the best option was for Eich to devise a new language, with syntax similar to Java and less like Scheme or other extant scripting languages. Although the new language and its interpreter implementation were called LiveScript when first shipped as part of a Navigator beta in September 1995, the name was changed to JavaScript for the official release in December.
The choice of the JavaScript name has caused confusion, implying that it is directly related to Java. At the time, the dot-com boom had begun and Java was the hot new language, so Eich considered the JavaScript name a marketing ploy by Netscape.
Read more .....
Programming Language For Non-Techs
As a startup, it can be challenging to decide which programming language to use. Considering the plethora of options, it is important that you consider the future scalability and integration of the language you use. You’ll also want to conduct some market research.
The goal is to focus on a language that will allow for growth, based on your potential prospects. Although each project differs in terms of its requirements, it is important to become familiar with Python -- especially if you’re building your own startup.
Read more .....
Happier HTML5 form validation in Vue
November 09, 2020 (Dave Rupert)
Some time ago, I wrote about the need for simple HTML5 form validation in ~6 lines of JavaScript. Well, I’m back, this time in a Vue 2/Nuxt application. I finally hit the point on this project where I needed some form of validation. Rather than jumping headlong into a whole form builder library dependency, I thought I’d try my simple method again. Here’s a demo of it in action.
There are a few differences compared to the vanilla DOM implementation. The non-framework version relied on querySelectorAll and addEventListener to loop through inputs, which I guess you could do inside a Vue component, but feels a bit like an anti-pattern, so I had to modify the approach a smidge.
The first step is I’m applying a .errors styling class to the parent <form> when one of the inputs invalidates. This is triggered by the component-level this.errors state. Originally the class was put on the, but we can safely put it on the form instead of each individual input’s state.
The second bit is the @invalid bind directive on each required input. This replaces looping through each input and adding a addEventListener but has the same effect of attaching a method to the invalid event. The invalidateForm() method helps us visually invalidate the form and just like before HTML does all the submit event cancellation for us.
Read more .....
Goodbye to Google Fonts?
I’ve used Google Fonts in prototypes and in 10M+ MAU products. It’s incredibly easy to get started with and provides an amazing font discovery. That’s also why it’s currently still used on over 42M websites!
This convenience has its price: Performance. Many have already pointed out the cost of multiple requests. If you want the remaining speed boost, then you’re best off downloading your used Google Fonts and self-host them.
This is nothing new. In fact, it’s been advocated already for years. Even Google themselves advised others to self-host fonts in their Google I/O ‘18 talk about web performance.
Read more .....
20 Awesome Christmas Projects Hidden in CodePen
CodePen is an online playground for talented front-end developers, a place where you can always find cool projects to widen your horizons and see what other developers are up to. Year-end holidays are a great time to surprise your loved ones with creative personal projects, or to say thanks to your customers with some cool, cutting edge designs that will help the holiday cheer.
In this post, we will take a peek at 20 awesome Christmas experiments on CodePen, that you can use for inspiration to create your own designs.
Read more .....
How To Prepare For Christmas Early: 9 Tips For Getting Ready for Christmas
Summer is barely over and the shops are already filling with Christmas garb. But even if you are not the biggest fan of the festive season, it pays to be prepared for it. We are here to show you how to prepare for Christmas early, without breaking a sweat. Preparation is more than half the battle in our opinion. If you know how to be ready for Christmas early, like, well in advance, then by the time the big day rolls around, you will be more chilled than a turkey in January.
Why you should prepare early for Christmas
With October just a few days away, the festive season will be here before you know it. Planning ahead is the best way to save money, headaches, and even your sanity!
Have your family already started having the “Christmas Chat?” Who’s going to host? Where is it going to be? What time will lunch be made? Who is being invited? What are you getting for so-and-so? And so on. If you leave everything till the last minute, or even till just approaching Christmas, you could find yourself stressed out, unhappy, panicking, and not even looking forward to the most wonderful time of the year.
Read more .....
|