YouTuber Builds the World’s Most Powerful Handheld Laser Pointer and It Can Instantly Melt Glass

YouTuber Builds the World’s Most Powerful Handheld Laser Pointer and It Can Instantly Melt Glass

https://ift.tt/2w3mc6k

The handheld laser pointers you can buy at office supplies stores are legally required to be no powerful than 0.005-watts, and most fall well below that threshold so they’re relatively safe to use. With that as a reference, you have a better understanding of just how terrifying this 100-watt handheld laser pointer really is.

The last time we checked in on Drake Anthony, who’s best known ‘round YouTube parts as Styropyro, he was demonstrating his latest toy: a professional (and extremely sketchy) laser tattoo remover he found on eBay that maxed out at around 30 million watts. However, unlike a laser pointer, the tattoo remover’s beam could only be triggered in pulses just 10 billionths of a second long.

For his latest creation, Drake got his hands on an engineering sample of a blue laser diode array. The diodes are designed to be used individually in devices like laser-based projectors for large movie theaters, so, pushing safety aside for a few hours, Drake turned an old microwave radar gun into a handheld housing that allows all 20 of the blue laser diodes to be fired simultaneously with over 100-watts of power.

Battery life is limited to roughly seven minutes, but that’s not much of an issue as it takes less than a second for the laser pointer to instantly set paper bags and wooden two-by-fours aflame, and that’s with the 20 beams all firing in parallel. Drake further upgrades his laser pointer with a lens on the front that focuses all 20 beams into a single concentrated point. Glass melts at over 1,000 degrees Fahrenheit, and with the beam focused Drake’s laser pointer starts to melt a glass bottle just seconds after it’s been turned on.

If you’re inspired to build one of your own at home: Don’t! Drake is well versed in not only the technology and physics of lasers, but he’s also familiar with the extreme safety risks involved with custom creations like this. At 100-watts, it’s 200 times more powerful than the rating of an already dangerous Class-4 laser. Safety glasses with an extremely high optical density are a must—as is having a fire extinguisher close at hand every time this thing is powered up.

geeky,Tech

via Gizmodo https://gizmodo.com

March 13, 2020 at 05:17PM

Getting started with Amazon S3 storage in Laravel

Getting started with Amazon S3 storage in Laravel

https://www.youtube.com/watch?v=BQ0gi9YHuek

I love using Amazon’s S3 storage in a few apps. However as a newcomer to AWS services, it was still a bit confusing to get set up.

programming

via Laravel News Links https://ift.tt/2dvygAJ

March 13, 2020 at 09:03AM

You Can Download and 3D Print NASA’s Multi-Tool, and Other Space-Related Stuff, for Free

You Can Download and 3D Print NASA’s Multi-Tool, and Other Space-Related Stuff, for Free

https://ift.tt/2THqKbI

Special thanks to Core77 reader Richard Chritz: After reading "Smithsonian Makes Images, 3D Scans and CAD Files from Archive Free to Download," he tipped us off that NASA has done the same.

The NASA 3D Resources website has posted hundreds of 3D models, images, textures and visualizations that you can download for free. As far as models, they’ve got everything from astronaut gloves and spacesuits to satellites and spacecraft:

There’s also a Printable section where you can download .stl files for 3D printing (though some of them are fresh conversions that may require tweaking). In that section we found the Cassini probe, the Curiosity Rover, the Hubble Space Telescope, and even the first object designed on Earth, and e-mailed to space for manufacture: A wrench that was 3D printed on the ISS.

The coolest thing we found in the 3D Printing section was the Multi-Purpose Precision Maintenance Tool:

"The Multi-Purpose Precision Maintenance Tool has a number of important tools which allow an astronaut to complete tasks with comfort and ease. The different sized drives at the top allows the user to attach sockets. In the center are wrenches of varying sizes, allowing fewer wrenches to be carried to the job site. On the left is a precision measuring tool along with wire gauges and a single edged wire stripper. In the center is an outline for Velcro to be applied allowing an easy storage around the station. A circular hole in the bottom center allows for a clip to be used as well. On the right, and ergonomic grip is built into the tool with ridges for better grasp, lastly a pry bar is built into the ergonomic grip for ease of access."

Check it all out here.

fun

via Core77 https://ift.tt/1KCdCI5

March 12, 2020 at 09:44AM

Make Your Apps Faster With Turbolinks

Make Your Apps Faster With Turbolinks

https://ift.tt/2wTjnEY

In this video, we’ll apply the “server fetched partials” concept to entire page loads using Turbolinks. By adding one line of code, we’ll make a server-side Laravel app feel like an SPA.

View the source code for this episode on GitHub.

Published on Mar 12th, 2020.

programming

via Laracasts https://ift.tt/1eZ1zac

March 12, 2020 at 02:18PM

Cats don’t roam far, but they do lots of killing

Cats don’t roam far, but they do lots of killing

https://ift.tt/2Q9P581

A black cat with yellow eyes glares at the camera, with a white background (cats killing wildlife concept)

House cats’ hunting can have big effects on local animal populations, researchers report.

That’s because they kill more wildlife, in a given area, than similar-sized wild predators, according to a new study.

This effect is mostly concentrated relatively close to a pet cat’s home, since most of their movement was a 100-meter (328-foot) radius of their homes, usually encompassing a few of their neighborhood’s yards on either side.

Researchers collaborated with scientists and citizen scientists from six countries to collect GPS cat-tracking data and prey-capture reports from 925 pet cats, with most coming from the US, UK, Australia, and New Zealand.

Listen to Roland Kays explain his findings in this podcast:

Download the transcript of the podcast here.

Cats killing local wildlife

“Since they are fed cat food, pets kill fewer prey per day than wild predators, but their home ranges were so small that this effect on local prey ends up getting really concentrated,” says lead author Roland Kays, research associate professor and director of the Biodiversity & Earth Observation Lab at the Nature Research Center at the North Carolina Museum of Natural Sciences.

“Add to this the unnaturally high density of pet cats in some areas, and the risk to bird and small mammal population gets even worse. We found that house cats have a two- to 10-time larger impact on wildlife than wild predators—a striking effect,” he says.

The researchers focused on the ecological impact of house cats—as opposed to feral cats—and enlisted hundreds of pet owners to track their cats to see where they went and report on the number of dead critters they brought home. Inexpensive GPS tracking devices measured distances traveled by these house cats, which spent their days both indoors and outdoors.

“We knew cats were killing lots of animals—some estimates show that cats in North America kill from 10 to 30 billion wildlife animals per year—but we didn’t know the area in which that was happening, or how this compared with what we see in nature,” Kays says.

The researchers calculated the amount of prey killed per year by house cats and divided the number by the area in which the cats hunted. Some adjustments were made to the prey count as cats don’t necessarily bring all their kills home.

The study showed that house cats killed an average of 14.2 to 38.9 prey per 100 acres, or hectare, per year.

Close to home

The study also showed that cats do much of their damage to wildlife in disturbed habitats, like housing developments.

“Because the negative impact of cats is so local, we create a situation in which the positive aspects of wildlife, be they the songs of birds or the beneficial effects of lizards on pests, are least common where we would appreciate them most,” says coauthor Rob Dunn, a professor of applied ecology at North Carolina State University.

“Humans find joy in biodiversity, but we have, by letting cats go outdoors, unwittingly engineered a world in which such joys are ever harder to experience.”

The study appears in Animal Conservation. Additional coauthors are from the North Carolina Museum of Natural Sciences, NC State, Dartmouth College, East Carolina University, SciStarter, University of Exeter, Victoria University of Wellington, and the University of South Australia.

Source: NC State

The post Cats don’t roam far, but they do lots of killing appeared first on Futurity.

via Futurity.org https://ift.tt/2p1obR5

March 12, 2020 at 08:56AM

The Best Ant Killer

The Best Ant Killer

https://ift.tt/2TVmWmc

The Best Ant Killer

If you try to kill household ants the wrong way, you can actually split apart the colony—and make the problem worse. That won’t happen with Terro T300 Liquid Ant Baits, a favorite among homeowners because it’s simple to use, it’s widely available, and its effective, slow-acting poison targets and eliminates the entire colony.

technology

via Wirecutter: Reviews for the Real World https://ift.tt/2gcK1uO

March 11, 2020 at 04:37PM

Natasha Romanoff faces off against Taskmaster in final Black Widow trailer

Natasha Romanoff faces off against Taskmaster in final Black Widow trailer

https://ift.tt/2xsdz5X

Marvel’s Black Widow final trailer.

Natasha Romanoff (Scarlett Johansson) goes back to her roots to take down a ruthless mercenary recruiting other young women to be combat operatives in the final trailer for Black Widow, Marvel’s long-overdue standalone feature film delving into the mysterious past of the late titular Avenger.

(Some spoilers for Captain America: Civil War and Avengers: Endgame below.)

As we wrote last December, we know that the Russian-born Natasha/Black Widow was trained as a spy/assassin in a secretive academy known as the Red Room, which disguised itself as a ballet school. All the “Black Widows” were sterilized, so Natasha is unable to bear children. Clint Barton (Jeremy Renner), aka Hawkeye, is sent to take her out but recruits her to S.H.I.E.L.D. instead. The two become fast friends, and both wind up joining the Avengers, giving Natasha a family of sorts. When the group splits in Captain America: Civil War, Natasha initially sides with Tony Stark/Iron Man, even though that pits her against Barton and Steve Rogers. But her loyalties remain divided, and in the battle at Leipzig Airport, she lets Rogers and Bucky Barnes escape.

After “the Snappening,” a devastated Natasha travels to the past and ultimately sacrifices herself in Avengers: Endgame so Barton can retrieve the Soul Stone. Her demise proved to be a controversial decision with the fans: the barren Natasha dies so Barton can return to his (soon to be un-disintegrated) family, as if all her training and accomplishments meant nothing if she was unable to bear children.

Black Widow should help redress that particular wrong.

  • Natasha Romanoff (Scarlett Johansson) is going back to where it all started.

  • Cars tend to explode wherever she goes.

    YouTube/Marvel

  • A daring rescue in a frozen setting.

    YouTube/Marvel

  • The Red Room trains young girls to be Black Widows.

    YouTube/Marvel

  • Natasha’s “sister,” Yelena (Florence Pugh) might have been an experimental subject.

    YouTube/Marvel

  • Family sticks together: Melina (Rachel Weisz) and Alexei, aka Red Guardian (David Harbour).

    YouTube/Marvel

  • A sisterly moment.

  • The ruthless Taskmaster controls the Red Room.

    YouTube/Marvel

  • Natasha in fine combative form.

  • Taskmaster takes aim.

    YouTube/Marvel

  • Yelena’s pilot skills come in handy.

    YouTube/Marvel

  • A daring mid-air dive.

    YouTube/Marvel

The events of Black Widow are set just after Civil War, when Natasha “finds herself alone and forced to confront her past while facing against a new threat,” per the official synopsis. We’ve already had a couple of trailers, so we know that the plot finds Natasha reuniting with her “family:” Yelena Belova (Florence Pugh), Alexei Shostakov, aka Red Guardian (David Harbour), and Melina Vostokoff (Rachel Weisz), all highly trained operatives. And the film’s Big Bad will be a ruthless mercenary who goes by the moniker Taskmaster, capable of mimicking any opponent’s fighting skills thanks to a photographic memory. There’s been a bit of online speculation about Taskmaster’s true identity, with candidates ranging from a former S.H.I.E.L.D. agent named Mason (O-T Fagbenle) to Melina, who has an alter ego called Iron Maiden in the comics.

This final trailer opens with something of a heart-to-heart between Natasha and Yelena: Yelena relates how she tells people her sister had moved out west and was a science teacher, married to a man who renovates houses. An amused Natasha shakes her head: “That’s not my story.” As Natasha’s hinted in the past, her story pre-Avengers is one of many mistakes, racking up a mess of red in her ledger. She spent her time with the Avengers trying to wipe out much of that red, culminating with her final Endgame sacrifice.

For this film, Natasha is taking on a mysterious figure called Taskmaster, who runs the Red Room. “They’re manipulated, completely conscious but no choices,” Yelena tells Natasha of the young women Taskmaster recruits. We see Yelena strapped to a table, being administered a shot, but it’s not clear if this takes place in the past or the film’s present. In the comics, the Red Room does conduct experiments on recruits, so Yelena may have been an involuntary test subject. Natasha clearly feels guilt over whatever happened to Yelena: “I should have gone back for you.”

The goal is to ensure that no more young women will be subjected to the same kind of treatment to turn them into Black Widows. Red Guardian and Melina also join the fight—although Melina insists that they won’t win. We get a few more action sequences—including some spectacular mid-air shots—and a bit of sisterly and family banter, because Marvel knows how to mix in a bit of humor with its high-octane action. But ultimately, this is going to be about Natasha’s personal journey. “At some point we all have to choose between what the world wants you to be and who you are,” Natasha says in a voiceover. “I made my choice. I’m done running.”

Black Widow hits theaters May 1, 2020.

Listing image by YouTube/Marvel

geeky

via Ars Technica https://arstechnica.com

March 9, 2020 at 08:21PM

Building An E-Commerce Site With October CMS And Shopaholic

Building An E-Commerce Site With October CMS And Shopaholic

https://ift.tt/2Q0D58y

Building An E-Commerce Site With October CMS And Shopaholic

Leonardo Losoviz



October CMS is flourishing: With over 9000 stars in its GitHub repo, 2000 forks and 300 contributors, it is becoming a major force in the CMS space. It won the popular vote as the Best Flat-File CMS from 2018, new plugins are published on its marketplace almost daily (covering most of the developer needs), and its network of partners is expanding worldwide. Let’s see what it is all about.

Built in PHP and powered by Laravel (one of the most powerful and developer-friendly PHP frameworks), October CMS is a free open-source Content Management System (CMS). It benefits from Laravel’s clean code and sound architecture to provide a great developer experience, over which it adds simple and flexible CMS functionality to provide a great user experience. This combination makes it possible to launch new projects in a matter of minutes, without having to build the project from scratch. Due to all these features, October can minimize the costs of developing and maintaining websites, making it particularly valuable to businesses and digital agencies.

Yet, in spite of its power, October CMS is very easy to use. Since its inception, October has strived to be “as simple as possible, but not simpler”. For this reason, it is based on one of the simplest stacks for the web: PHP to render HTML, plus CSS and JS assets. In the words of its creators, October’s mission is to prove that “web development is not rocket science”.

In this article, we will do a tour around October CMS: We will first see how to install it, then check some of its coding and usability features in a bit more detail, and finally get our hands dirty implementing an e-commerce website through one of its most popular plugins, Shopaholic.

Recommended YouTube Channel

Are you looking to learn more about e-commerce development? You can do so with the help of live streams that explain the main aspects of the development process based on the Shopaholic platform for October CMS. Watch →

Installing October CMS

Since October CMS runs on PHP, it requires to have a web server running on the computer (if we don’t have one yet, MAMP can provide one for free, allowing to choose between Apache and Nginx, and it works for both Windows and macOS) and a MySQL server to store the database (which can also be provided by MAMP).

The installation through October’s wizard doesn’t take more than a few minutes: We create a new MySQL database, download and unpack the installer files to our target directory for the website (which must be granted writing permission, and which must be set as document root in the web server for the chosen domain, such as localhost), and then invoke the script file from the web browser. From that moment on the wizard takes over, guiding us through the installation process. The wizard will:

  1. Validate if the web server satisfies all the requirements (at least PHP 7.0, and others):

    October CMS installation 1st step: System check
    System check (Large preview)
  2. Ask for database and site configuration values, and user credentials:

    October CMS installation 2nd step: Configuration
    Configuration (Large preview)
  3. Ask how to set-up the site: From scratch, already installing a specific theme, or using our own existing project (from which our chosen theme and plugins can be automatically installed):

    October CMS installation 3rd step: Initial set-up
    Initial setup (Large preview)
  4. Next, we click on "Install!", and in a few seconds (depending on our Internet connection speed) the website will be installed and ready to use:

    October CMS installation is installed
    Site installed (Large preview)

    In this case, I chose to install it from scratch, under http://localhost. Browsing to this URL on the browser, we can encounter the October starter demo theme:


    Starter demo theme
    Browsing the starter demo theme (Large preview)
  5. Navigating to http://localhost/backend (unless we changed this URL during the installation process) we can log into the administration panel:

    Admin panel
    Browsing the admin panel (Large preview)
  6. Finally, we delete the installer files from the folder. And voilà, in just a few minutes we have a fully functioning site (well, we still need to enhance it with plugins… we will do that in a while).

    Alternatively, we can also install October from the command-line interface, by executing:

    $ curl -s https://octobercms.com/api/installer | php
    

    This method is faster (it can take as little as 10 seconds to install) because it doesn’t require to input the database configuration. Hence, it is particularly useful for setting-up October CMS as a flat-file system, i.e. a CMS fully set-up through files stored in the local disk, and without a database.


Installation through the Command-Line Interface
Installing October CMS through the CLI takes no time. (Large preview)

Templating System

October CMS has a robust templating system to implement layouts, re-use chunks of code and enable dynamic functionality. Its most important elements are the following ones:

Pages are the most basic structure for storing content. These are readily available, since they are shipped as part of the core (blog posts, on the other hand, must be installed through a plugin). Pages are based on Twig, which is a modern template engine for PHP (devised by the creators of Symfony), and compiled to plain optimized PHP code, so they execute very fast.

Partials contain reusable chunks of code that can be used all throughout the website, as to avoid duplicating code on the different pages or layouts. They are particularly useful for navigation menus, testimonials, calls to action, and other common elements.

Layouts define the scaffolding, or structure, of the page. They define the <html> and <body> HTML elements, and are useful for creating the frame of the site, including the header, footer and sidebars. The actual content in the body is injected by the page.

Components are the mechanism to extend functionality in October CMS. Any page, partial or layout can have attached any number of components, which are most commonly provided through plugins, and which are fully configurable. In addition to rendering HTML code on the page, components can also provide services, such as form validation, security check-up, control of user permissions, or others.


Component configuration
Configuring a component attached to a page. (Large preview)

These elements are all implemented through files living in the website’s folder in the local hard drive. As such, it is possible to edit them not only through October CMS’ built-in editor, but also from the developer’s preferred text editor (Sublime, VS Code, PHPStorm, etc).


Editing an element through October CMS' built-in editor and in an external text editor
We can edit elements either through the October CMS’ built-in editor or in an external text editor. (Large preview)

Similarly, the October CMS project can be perfectly managed through any version control system, and it can be easily adapted to any existing workflows. For instance, a project can be set-up through continuous integration, deploying it automatically to the server after new code is pushed to the Git repo.


Git workflow
October can be easily managed with Git. (Large preview)

October CMS Marketplace

October CMS has a marketplace for themes (which allow to change the site’s look and feel) and plugins (which allow to extend the site’s functionalities), providing both free and paid offerings. By providing themes which can be used to quickly establish and then configure the design of the site, and plugins each of which implements some required functionality for the site, the marketplace ultimately leads to lower costs for creating our projects and reduced time to launch them.

The marketplace has been getting bigger! Following October’s growing popularity, its marketplace has received a constant stream of new offerings: It currently boasts 915 plugins, comprising most of the functionalities required for our websites (blogging, SEO, e-commerce, analytics, email, galleries, maps, security, social, user management, and others), and 150+ themes. Both themes and plugins can be submitted to the marketplace by any independent 3rd party developer, company or agency, and they must adhere to quality guidelines, which ensures that they are performant and secure.

Creating An E-Commerce Site Through Shopaholic

Let’s get our hands dirty and implement a real-life use case: An e-commerce website! For this, we will install Shopaholic, the most popular plugin to add e-commerce functionality to October CMS, and the free theme Bootstrap theme for Shopaholic to quickly bootstrap the site (which will be made to look like this demo site). Shopaholic is ideal for our needs because it provides a comprehensive e-commerce solution, which includes an ecosystem of extensions (both free and paid ones) to further enhance it. In addition, we can install the core experience for free and only make a one-time payment for the extensions that we need, which will be cheaper than using cloud solutions which have a recurring fee to use. And finally, because we are the full owners of our own on-premise e-commerce website, we can customize it as much as we need to and we own all the data, which is not possible with cloud solutions.

Because of the October marketplace dependency management system, we need only install the theme (the Shopaholic plugin is added as a dependency). Let’s proceed to install the theme then: Inside the October CMS admin, we click in the "Front-end theme" section in the Settings, and then click on "Find more themes":


Front-end theme manager
Front-end theme manager. (Large preview)

Then, we search for theme "Bootstrap theme for Shopaholic" and, upon clicking on the result in the dropdown, it will install the theme and all its dependencies. Once installed, we go back to the Front-end theme manager page and click on the Activate button on the new theme:


Activating the new theme
Activating the new theme. (Large preview)

After installing the theme and plugins, we will notice a new element "Catalog" on the top menu bar. Clicking on it, we can manage the items in our e-commerce catalog, namely products, categories and brands (these are the core elements; other elements, such as coupons, can be added through extensions). Initially, our catalog will be empty:


Catalog
Catalog comprising products, categories and brands. (Large preview)

Let’s fill it up with some data. We can either create the items one by one or, quite conveniently, import data through CSV and XML files (which allows us to manage a large set of records with Excel or other tools). In our case, since we are creating a demo site for testing purposes, let’s install plugin Fake Data for Shopaholic which provides large sets of mock data and an easy way to import these records to the system. To do this, follow these steps:

  1. Head to Settings => Updates & Plugins in October CMS backend, and install plugin "Fake Data for Shopaholic".
  2. Head to Dashboard, and click on Manage widgets and then Add widget.
  3. Select widget "Fake data for Shopaholic", and click on Add.
  4. In the newly added widget, clicking on Generate under section "Generate fake data " will run the process to import the fake data.

The last step will ask how many times should the insertion be repeated (as to create bulk and be able to test the performance of the site when loading many records) and which data set (clothes or sneakers):


Generating fake data through Laravel's artisan command
Generating fake data through Laravel’s artisan command. (Large preview)

After running this process, our catalog will look better stocked:


Catalog with some mock data
Catalog with some mock data. (Large preview)

The next step is to create some promotions. To do this, we click on Promotions on the top menu, then on the Create button, and fill the required information. Once each promotion is created, we must edit it again to add products to it. After creating a few of them, our promotion list will look like this:


Promotion list
Creating some promotions. (Large preview)

Now that we have some data, we can finish customizing how our front page will look like. For that, we go to section Settings => Front-end theme => Customize and we complete the information for all tabs (Header, Footer, Social, Main slider, Index page). Once this is ready, our e-commerce site will now be ready:


Demo e-commerce site
Our e-commerce site is ready! (Large preview)

Clicking on a product, we can see how its page looks like:


Product page
Product page. (Large preview)

Auditing The Speed And Reliability Of The E-Commerce Solution

Because we want to sell our products, speed and a good SEO are mandatory, so let’s make an audit using Google Chrome’s Lighthouse on the product page to make sure it runs fast and that it will score high with search engines. Running the audit against the live demo site, it returns the following report:


Lighthouse report of the product page
Lighthouse report of the product page. (Large preview)

Equally important is that the site can withstand heavy load, so that if our product becomes successful and attracts plenty of traffic the server doesn’t crash. For this, we can use the Load Impact tool to run a load test. Running the test using 50 virtual users for 12 minutes against the live demo site (which is hosted on DigitalOcean with a droplet configuration of Standard 2CPU/4 GB RAM) produced the following results:


LoadImpact report
LoadImpact report of a test load using 50 virtual users during 12 minutes. (Large preview)

As can be seen, the website was able to sustain an acceptable response time throughout the load test, giving us the confidence that we can trust the e-commerce plugin when we need it the most: When it’s time to sell the product.

Finally, we can also feel confident of the reliability of the software, since it is covered by unit tests.

Adding Extensions To Shopaholic

So far so good. However, as it can be seen on the screenshots from our website, there is still no way for the visitor to buy a product. Let’s add this functionality by installing the following free extensions for Shopaholic: Orders, to allow to add products to a cart and make orders, and Omnipay, to process the payment. (For the other Shopaholic extensions, if they are not free and authored by LOVATA, you can use coupon "WELCOME" to get a 50% discount the first time you buy them.) To install these extensions, we head to Settings => Updates & Plugins, search for the plugin names, and click on the results to have them installed.


Plugin installation
Searching for ‘Shopaholic’ displays its plugins. (Large preview)

Once installed, we will see a new item Orders in the top navigation, where all orders will be stored, and items Payment methods and Shipping types in the Settings page, to configure the payment gateways (card, cash, etc) and how to deliver the product (by post, etc). We configure these and load again the product page. Now it shows an "Add to cart" button, allowing the user to place an order:


Product page with cart enabled
Product page with cart enabled. (Large preview)

After adding several items to the cart, we can proceed to the check-out and complete the order:


Cart
Completing the order. (Large preview)

Once the user submits the order, the inventory will be automatically taken care of, updating the number of items for each product in stock, and we will receive an email informing us of the new order (if configured to do so). In section Orders on the admin panel, we can find all the information for the order (products sold, buyer information, method of payment and total, and others), and we can complete the transaction.


Orders page
All the information from the order is here. (Large preview)

The basic work is done: In barely a few hours we managed to have a fully functional e-commerce sith with October CMS and Shopaholic.

Creating Our Own Extension

If none of the several extensions to Shopaholic on the October marketplace provides the functionality needed, we can also create our own extensions.

To do this, if you are comfortable with Object-Oriented Programming and PHP and, more specifically, with Laravel, then you are ready to do it. The documentation explains how to add an extension, step by step. For instance, following this tutorial, with barely a few lines of code we can add a custom field "rating" to our products:


Editing a product
Adding a custom field to the product. (Large preview)

We can then retrieve the new "rating" field from the product and display it in the product template:


Product page
Displaying a custom field in the product page. (Large preview)

Extending Shopaholic is not difficult and enables us to fully implement our own e-commerce requirements, and personalize the site to suit our brand.

Conclusion

October CMS is a great candidate for building powerful sites in a very simple manner (showing that “web development is not rocket science”). It delivers the great developer experience granted by Laravel, and its marketplace (which is growing daily) provides a large number of ready-to-use themes and plugins, allowing us to build websites very quickly. One such plugin is Shopaholic, which converts the site into a full-fledged e-commerce platform.

Because of these reasons, building a site with October can be very cost-effective. As a result, it has gained some reputation (by winning the popular vote as best flat-file CMS from 2018) and has increasingly become a tool of choice for businesses and digital agencies crafting sites for their clients.

To find out more from the October community, be welcome to join the October CMS Slack workspace, which is where the creators of themes and plugins published in the marketplace hang out, so you can conveniently chat with them to get their help and advice.

Give October a try (it’s free!), and let us know how it goes.

Smashing Editorial
(ra, yk, il)

geeky

via Smashing Magazine https://ift.tt/2ibDzra

March 10, 2020 at 06:21AM

Project Appleseed 2020 Event Schedule

Project Appleseed 2020 Event Schedule

https://ift.tt/2TVchZH

Project Appleseed Riflemen
by Steve Branam

“Appleseed” comes from Johnny Appleseed, the American folk hero who toured the country, planting appleseeds so that future generations would benefit. Project Appleseed is designed to ensure that future generations of Americans will learn and benefit from the lessons of our colonial past.

It’s a nonprofit, non-partisan group of men and women (known as the Revolutionary War Veterans Association) who are committed to upholding the values and principles of America’s founding fathers. We use rifle marksmanship instruction as a gateway to help bring our nation’s history to life and to show that many of the values that our forefathers relied on to win our independence are still very much in demand today.

Through clinics and events, we teach rifle marksmanship and early American heritage to introduce individuals of all skill levels to the knowledge that was so crucial to the success of our nation’s founders. Aside from the fun and camaraderie of these events, the designed takeaway is a renewed sense of civic responsibility that each attendee can then implement in his or her own community. If we can reconnect enough people with the selfless civic virtue of our forefathers, we as a nation will all be better off.

Our goal is to create a nation of Riflemen. We’d love for you to join us.

Below is the Schedule for Project Appleseed in Ohio for 2020. Please visit the Project Appleseed website to sign up for any of these events, learn more about the program, and see events in other states.

April
4/18-19 Liberty Center, Ohio Henry County Sportsman Association
4/18-19 Piqua, Ohio Piqua Fish – Game Protective Association
4/18-19 Wilmington, Ohio Clinton County Farmers – Sportsman Association
4/18-19 Orwell, Ohio Orwell Gun Club
4/25-26 New Philadelphia, Ohio Tusco Rifle Club

May
5/16-17 Gibsonburg, Ohio Sandusky County Sportsman Club
5/16-17 Marion, Ohio Meeker Sportsman Center
5/30-31 Coshocton, Ohio Coshocton Gun Club

June
6/6-7 Newark, Ohio Dillon Sportsman Center
6/6-7 Conneaut, Ohio Monroe Sportsman Center
6/13-14 Wilmington, Ohio Clinton County Farmers and Sportsman Association
6/27-28 Piqua, Ohio Piqua Fish and Game Protective Association
6/27-28 New Philadelphia, Ohio KD Tusco Rifle Club
6/27-28 Orwell, Ohio Orwell Gun Club

July
7/18-19 Carroll, Ohio Central Ohio Coon Hunters Association
7/25-26 Salem, Ohio Salem Hunting Club

August
8/8-9 Vienna, Ohio Vienna Fish and Game Club
8/15-16 Wilmington, Ohio Clinton County Farmers and Sportsman Association
8/15-16 Marion, Ohio Meeker Sportsman Center
8/22-23 Piqua, Ohio Piqua Fish and Game Protective Association
8/22-23 New Philadelphia, Ohio Tusco Rifle Club
8/29-30 Liberty Center, Ohio Henry County Sportsman’s Association
8/29-30 Coshocton, Ohio Coshocton Gun Club

September
9/26-27 Orwell, Ohio Orwell Gun Club

October
10/3-4 Coshocton, Ohio Coshocton Gun Club
10/17-18 Wilmington, Ohio Clinton County Farmers and Sportsman Association
10/17-18 Marion, Ohio KD Meeker Sportsman Center
10/24-25 Gibsonburg, Ohio Sandusky County Sportsman Club
10/24-25 Piqua, Ohio Piqua Fish and Game Protective Association
10/24-25 New Philadelphia, Ohio KD Tusco Rifle Club

guns

via Buckeye Firearms Association https://ift.tt/2h9uK1x

March 9, 2020 at 07:32AM