Monday, 24 October 2022

Product Updates: FTP Users and Files Milestones

At DreamHost, our team members around the world are focused every day on creating, developing, and improving our products, services, and infrastructure with a single goal in mind: your online success.

That includes making improvements to the FTP (file transfer protocol), a standard communication protocol used for the transfer of computer files from a server to a client on a computer network.

In order to resolve your pain points and meet or exceed your needs, we’ve been hearing what you have to say about your user experience. We’ve used your feedback as fuel to completely redesign how you manage your user accounts and interact with the files on your account. It’s now much easier to manage user accounts and SFTP credentials.

The aim of the “FTP Users & Files” improvement project was to implement changes based on direct feedback from our customers so we’re providing a faster and more streamlined panel experience.

Product Updates Based on Your Feedback

User Management

One of the main points of feedback we received was the need to be able to identify and manage username and file information more easily. In response to this feedback, we have redesigned how important user information is presented. Web panel users now have multiple ways to view and manage usernames related to their server management. This includes the ability to view usernames in a single list or group by hosting service. It’s now possible to search by specific username, domain, or server directly from within the web panel. In addition, new tools have been introduced to allow for filtering by selected domains and/or server.

Creating a new username has been streamlined to provide a faster experience with fewer barriers to getting started.

DreamHost FTP user management

Files Access

The “Files Access” area of the page has been redesigned to provide all essential information required to connect to a web server, and is accessible within a single click from the users page. As part of this change, we have included new descriptive tooltips and help resources to better explain the purpose of each field.

Dreamhost FTP files access

Enhanced Security

A stronger emphasis on secure connection types is also promoted, with all usernames by default using a more secure protocol (SFTP). It’s also now faster to enable secure shell access (SSH) when necessary. FTP users manually set to use insecure connections will now be labeled as insecure to better inform the panel user, and can be set to secure (SFTP) with a single click.

DreamHost FTP security improvements

Thank you for being what makes DreamHost so successful. Our entire team is honored to support and serve you in your journey!

Get Content Delivered Straight to Your Inbox

Subscribe to our blog and receive great content just like this delivered straight to your inbox.

The post Product Updates: FTP Users and Files Milestones appeared first on Website Guides, Tips & Knowledge.



source https://www.dreamhost.com/blog/dreamhost-milestones-q4-2022/

Friday, 21 October 2022

The Current State of Website Builders (Overview & Comparisons)

Building a website used to be a challenging, time-consuming endeavor. It typically required experience with different programming languages, and you rarely had a simple preview of how the final result might look. While some still use this manual approach to site building, it’s by no means the only option.

Fortunately, website builders offer a stress-free way to get a professional website up and running in no time. These builders come with a drag-and-drop editor, which removes many complicated steps in the website creation process.

In this post, we’ll take a closer look at website builders and discuss their pros and cons. Then, we’ll look at ten of the best website builders to help you select the right one for your specific needs. Let’s get started!

What Are Website Builders?

A website builder is an online platform or program that enables you to build a website without any coding knowledge. It typically features drag-and-drop software that you can use to customize elements on a page. Plus, many website builders also include a variety of excellent pre-built page templates and sections you can start customizing right away.

How Does a Website Builder Work?

  1. Manage all website settings, content, and design from a single dashboard.
  2. Easily import page templates or build your own global templates using a simple drag-and-drop editor.
  3. Control simple configuration of all page and SEO settings right from the editor.
  4. Before publishing, preview your content on all devices, from desktop to mobile.

Website builders can exist in both online and offline formats, the main difference being an internet connection. An online website builder won’t require any software downloads; it’ll simply work through your internet browser. This enables you to work on your website anytime and anywhere, as long as you have a stable internet connection.

Many online website builders now come with accompanying hosting services, so you don’t have to worry about that extra technical hoop. This is an easy-to-use option for newbies.

On the other hand, offline builders function as downloadable software programs, where your computer hosts your files until you’re ready to upload them to your web host. With this option, you can work on your site offline, but this will require a little more technical know-how. However, you’ll need to buy a separate plan from a web host.

How Websites Were Built Before Website Builders

Recently, website builders have become increasingly popular. During the COVID-19 crisis, many people needed to quickly get their businesses online. With website builders, even beginners could create a well-designed site even without coding experience.

By 2026, the global website builder market is expected to grow to $2.7 billion. Ultimately, this no-code movement has revolutionized the process of site creation. However, you may be wondering, how difficult was it to build sites without website builders?

Coding a Website From Scratch

Ever since WordPress was created in 2003, anyone can use its simple visual interface to build a website. Utilizing easy-to-install themes and plugins, you don’t have to be a coding expert to get online. However, it hasn’t always been this simple.

Before website builders or Content Management Systems (CMS) like WordPress existed, websites had to be built manually. As a result, potential website owners had one of two options: hire a developer or learn how to code.

To build a website from scratch, you must be familiar with HTML, CSS, and JavaScript. The HTML and CSS work together to create a visible web page, while JavaScript adds interactive elements. As a beginner, this skill set can be challenging to develop.

Using a Framework

As you might imagine, coding a website from scratch can be time-consuming. To help speed up this process, designers and developers typically use frameworks.

Otherwise called CSS frameworks, front-end frameworks contain folders and files with pre-written code. They can provide a solid foundation to kickstart the development process. Plus, using a framework means you won’t need to rewrite the same code if you start another project.

One popular option is Bootstrap. This front-end CSS framework helps developers build responsive and mobile-friendly websites:

Bootstrap framework

Foundation is another framework with a customizable and responsive grid, a library of Sass mixins, JavaScript plugins, and accessibility support. These features make it easier to rapidly deploy code development:

Foundation framework

TailwindCSS is a new CSS framework that allows for rapid development using utility-classes that make it easily adaptable to your brand’s design system. While not having a predefined grid system it’s utility-classes make it easy to create your own on the fly.

TailwindCSS framework

Although frameworks can offer a starting point for website development, they are not the easiest for beginners to use. You’ll still need a deep understanding of coding languages to use them effectively. By comparison, website builders require no coding at all.

Installing Pre-Made Themes

With a CMS like WordPress, you don’t necessarily need coding experience to build a website. Since this platform is open-source, other developers have designed pre-made themes for you to use.

A website theme includes a group of files with all the graphics, style sheets, and coding for your site. With the right theme, you won’t need to hire a developer or perform complex coding yourself.

You can find free themes in the WordPress Theme Directory. Alternatively, Theme Forest is a marketplace with a wide range of premium website designs:

ThemeForest

Using WordPress, you can easily upload new themes and instantly change your site design whenever you like:

Install WordPress theme

On the other hand, using a theme comes with limitations. Even if developers claim that their pre-made theme is intuitive and customizable, it may not offer the specific features or functionality you want. Therefore, to fully customize your theme, you may need to edit its style sheets or template files.

Using a Visual Editor or Page Builder Plugin

Before website builders, you could use page builders to create your website. These plugins are similar to website builders, with drag-and-drop editors and complete sets of visual design tools.

The main difference is that page builders help you design individual pages of your site. Alternatively, you can use a website builder to create your entire site from scratch.

Although the adoption of website builders is growing, many people still use page builders to design their online content. According to the 2022 Web Almanac report, 34% of WordPress users built their sites with a page builder. Some of the most popular options are Elementor and WPBakery:

Top website builders

Image credit: Web Almanac by HTTP Archive 

As you can see, Elementor is dominating this market. You can use this free WordPress plugin to start customizing every part of your web pages. Elementor includes page templates, content widgets, and other useful features:

Elementor page builder

It’s important to note that Elementor has evolved to become both a website builder and a page builder. When you install it as a plugin in WordPress, it’s only capable of page editing. However, you can now fully build and host your site in Elementor (without WordPress) if you’d like. Therefore, it may become increasingly more attractive to beginners.

Website Builders: The Future of Web Design

For many years, it has been incredibly difficult for beginners to create their first websites. Without any coding knowledge, it can be virtually impossible to build a site from scratch or use a framework. Although pre-made themes and page builder plugins can make this process easier, they come with limitations.

This is why website builders have become so popular. They offer a code-free way to build and customize a website, all in one platform. With an option like Wix, you can even use AI to create a website for you:

Wix AI

As website builders continue to evolve, we expect an increase in the number of advanced site-building “wizards.” By automating the development process, site owners can dedicate themselves to a purely administrative and overseeing role.

Since this technology is so effective, web agencies may start lowering the cost of their design services. By taking advantage of website builders, professional design can become more accessible.

Additionally, agencies will need to remain competitive when it’s so easy for regular users to create their own sites. This is reflected in the decline of the US web design industry, which has decreased by 3.1% between 2017 and 2022.

Furthermore, although the popularity of website builders is growing, CMSs shouldn’t be overlooked. WordPress currently powers 35% of all websites, steadily increasing from 33.6% in 2021.

Considering other platforms, CMS have now created 45% of all mobile web pages:

Increase in CMS adoption

Image credit: Web Almanac by HTTP Archive

In WordPress, the new Full Site Editing (FSE) features are starting to emulate website builders since users can create and customize all parts of their site using WordPress blocks. Furthermore, they can directly edit their theme template files without touching any code:

Editing WordPress templates with Full Site Editing

In theory, WordPress users no longer need page or website builders since everything can be controlled from the familiar WordPress interface. As more website builders develop their own technology outside of the WordPress framework, however, there may be more fragmentation.

Ultimately, using a website builder can simplify every part of owning a website. With a unified platform for domain registration, hosting, email, and Search Engine Optimization (SEO), complete beginners will have everything they need to run and manage a successful website.

What Are the Pros and Cons of Website Builders?

Website builders are excellent tools for small businesses looking to establish a strong online presence quickly and simply. Let’s list some of its main pros and cons to help you decide whether a site builder is right for you.

Pros

Website builders can simplify the site creation process, avoiding extensive development time. In a matter of minutes, you can create your unique website with pre-formatted layouts outfitted with your brand’s content, images, and videos:

Website Builder template

Simple Site Creation

For beginners, it can be confusing to enter the world of website creation. Often, this process involves finding a good web hosting provider, registering a domain name, and choosing a Content Management System. With a website builder, this process becomes much easier.

On a website-building platform, you can get a new site up and running in minutes. Once you sign up, the platform will usually ask you questions about the type of website you want to build:

Website builder beginner questions

Based on your answers, website builders can suggest which theme and page templates to use. Then, you’ll have simple ways to update your site’s global styles, widgets, and even third-party apps:

Website builder global styles

Ultimately, a website builder can provide everything you need to build a new site without difficulty. Without leaving the platform, you can create, edit, and publish your online content without having to edit any code.

Flexible Design

A good website builder can also help your pages stand out from the crowd. With a full library of choices, optimized layouts, attractive and user-friendly design elements, and customization options, you can make your site one of a kind.

Website builders do all the heavy lifting by offering pre-packaged designs. They also allow you the freedom of template creation and customization, so you can give your site its own personal touch.

No Coding Required

You might think you have to be an experienced developer or designer to design a website. Fortunately, website builders enable you to build well-designed pages without writing a single line of code. Plus, you don’t necessarily need to ace color theory, possess photo-editing skills, or be versed in typography to create an appealing website.

Since they don’t require tricky or constant upkeep, website builders are very low-maintenance compared to other tools. Your site will still need to be updated with fresh content regularly, but website builders make that process easy.

Low Cost

Finally, getting a functioning (and gorgeous) site up and running doesn’t have to be expensive. With free trial periods and many affordable options, website builders can allow you to focus on other business expenses.

Cons

Although website builders have many benefits, you may want to find another way to design your site. Drag-and-drop builders can be effective options for beginners, but they may be limiting for more experienced developers.

Limits to Customization

If you have some technical know-how, you’ll likely want more freedom when customizing your site. You may be eager to outfit your site with more features not supported by a website builder.

Plus, with a site builder, you don’t always have control over the code governing your pages. When you’re looking for a top-of-the-line option, hiring a web designer or building a DIY website from the ground up may be worthwhile.

Potential Plan Limitations

Another thing to keep in mind is that budget-friendly web builders may restrict your site in some areas based on which plan you’re on. A specific platform might limit the number of pages a site can have, offer fewer e-commerce options, or restrict how much storage you can use.

If you have plans to expand in the future, you’ll want to research providers carefully to make sure you find the best match for your long-term website goals.

Vendor Lock-In

One drawback to consider is vendor lock-in. It takes a considerable amount of time writing, organizing and laying out content. The optimal website builder will offer some way to export your content/data into another, should you so choose.

What to Look For In a Website Builder (10 Tips)

Not all site builders are created equal. So what sets apart an average builder from a great one? When you’re looking for the best option, consider this list of must-have features!

1. Ease of Use

Website builders are known for being beginner-friendly, but some are easier to use than others. When selecting a site builder as a novice, it’s best to find one that doesn’t require advanced coding skills to operate.

For example, many users prefer a simple drag-and-drop interface. With a website builder, you can select content modules and drop them anywhere on the page.

There are also click-to-edit website builders, which take the shape of visual What-You-See-Is-What-You-Get (WYSIWYG) editors. They enable you to edit the layout and content directly on the page:

Elementor page builder

This intuitive, real-time interface also lets you immediately see what the final result will look like once published. Any changes you make will instantly be visible in the editor, so you can explore how each edit affects the site.

We recommend looking for a simple, user-friendly interface that helps you build a website easily — regardless of your web design experience. This way, you can skip the learning curve and start building a beautiful website immediately.

Get Content Delivered Straight to Your Inbox

Subscribe to our blog and receive great content just like this delivered straight to your inbox.

2. High-Quality Templates

Your audiences can likely spot a cheap-looking site from a mile away. This makes it important to pick a website builder that has high-quality templates.

With clean and attractive layouts, you can make a strong first impression. Many platforms will display templates directly on the website, so you can easily view and avoid any poorly-designed options.

3. Easy to Update

One of the most important tasks in maintaining a website is performing frequent updates. If you run your website on outdated software, you will be more vulnerable to bugs and security threats.

With WordPress, you’ll have to manually update your core software, themes, and plugins. However, website builders often come with built-in updates and around-the-clock monitoring that can protect your site at all times.

Your website also needs top-notch content that is regularly published, updated, and shared to increase traffic. When looking for a website builder, you’ll want to make sure it provides easy ways to manage and update your posts and pages.

4. Plugins, Integrations and Marketplaces

It often takes a handful of SaaS apps to keep an online business humming. You’ll find that the deeper your website is integrated with your business operations the easier it is to scale.

A marketplace allows independent developers and large companies to easily deploy and sell plugins.

Look for a website builder that offers integrations with the services you use and you’ll save time and headaches in the long run.

5. Social Integration

Ideally, your audience should be able to connect with you in more ways than one. If your website has social sharing features, this can help grow both your organic traffic and social media engagement.

Your site builder should allow you to display social media icons to help new visitors engage with you. It’s important to ensure that the builder you choose can integrate with your social platforms.

6. Active Community

Engaged communities offer a trove of knowledge, often quicker than a product’s support team may provide. Look for discord communities or discussion boards around your website builder. Find YouTubers who are creating content and tutorials around your website builder platform. The more active community the more help will be available to you.

7. Domain and Email Options

Along with your web host, you’ll want to own your own piece of internet property — meaning a domain and branded email address. These elements can help you project a more professional image for your business.

If you don’t have these elements, you risk losing credibility and authority. For example, if you register a free domain name with Wix, your URL will look like this: ‘accountname.wixsite.com/siteaddress’. Meanwhile, a Top Level Domain (TLD) like .com will look cleaner, which can lead to more click-throughs.

Fortunately, there are site builders that provide options for domains and email registration. Our website builder at DreamHost includes a free domain even with the cheapest subscription. With a higher plan, you can also access email hosting.

8. Powerful Form Builder

Your visitors will likely need easy (and clear) ways to contact you — whether they want to submit a complaint, send questions, or make suggestions. Therefore, you’ll want to ensure that your website builder has the tools to create responsive, secure, user-friendly forms.

9. Deep Customization Options

After you select a pre-designed template or create your own, you will want to style it. A great website builder should provide the freedom to add personal touches and customization options such as fonts, text styles, or color schemes.

10. Affordability

As a beginner, you might feel overwhelmed by the costs of creating a new website. Often, this requires purchasing a web host and domain name. You may even consider hiring a professional developer to handle your website design and functionality.

Many website builders offer a cost-effective solution. Platforms such as Wix and Weebly offer completely free ways to get your website up and running.

However, free website builders don’t usually support custom domains. This leaves you with a branded URL rather than a web space you completely own. Plus, free plans may place ads on your website.

Here at DreamHost, we created the most cost-effective solution. Our website builder is bundled with a WordPress hosting plan, which includes a free domain:

DreamHost Website Builder plans

This is also cheaper than other website builders, starting at only $2.59 per month. If you’re a beginner who’s looking to grow your site, this may be the right option for you.

10 Popular Website Builders for Code-Free Web Design

In the past, website design involved learning coding languages like HTML, CSS, and JavaScript. However, website builders have made it easier than ever to build sites without coding experience. The only challenge is finding the right tool for your needs.

Let’s look at some of the best website builders on the market.

1. Elementor

One of the most popular website builders available is Elementor, with over five million active installations. Using its responsive drag-and-drop editor, you can build any type of website, from online shops to blogs:

Elementor website builder

Key Features:

  • Live drag-and-drop editor
  • 100+ widgets
  • 100+ full website kits
  • 300+ templates
  • Theme Builder

If you’re new to web design, you may prefer Elementor because of its Website Kits Library. Rather than starting with a one-page template, you can create a fully designed website in a single click. This can significantly accelerate the design process.

Pricing: You can download Elementor as a free WordPress plugin. Elementor subscriptions start at $49 per year and include the Website Kits Library. Plus, you can get this website builder bundled with Elementor Cloud hosting for $99 annually.

2. Divi

Divi is a user-friendly website builder with a front-end visual editor. It includes over 2,000 pre-made layouts designed for specific niches like events, services, technology, business, and more:

Divi website builder

Key Features:

  • Drag-and-drop page building
  • 40+ modules
  • 200+ website packs
  • Global elements & styles
  • Custom CSS

As a new website owner, you can benefit from Divi’s visual editor and pre-made website packs. Divi can also be an effective option for agencies. Its affordable plans can support team collaboration across unlimited websites.

Pricing: Divi plans start at $89 for yearly access. These include hundreds of pre-made website packs, unlimited website usage, and premium customer support.

3. DreamHost Website Builder

If you want to create a simple site that’s easy to maintain, DreamHost’s website builder is the ideal choice. It doesn’t require any coding knowledge or additional plugins. The tool even features a site creation wizard to make things that much easier for you:

DreamHost website builder

Key Features:

  • Drag-and-drop editor
  • Quick-start inspirations wizard
  • 200+ starter sites
  • 100+ design blocks
  • On-page SEO suggestions

Our website builder is also included with DreamHost’s shared hosting plan. This can enable beginners to easily bundle website development costs. With this option, you can purchase hosting, a domain name, an SSL certificate, and a website builder all in one place.

Pricing: At DreamHost, we offer combined WordPress + Website Builder plans that start at just $2.59 per month.

4. WordPress Site Editor

With the creation of block themes, you can now use the default WordPress tools to build your website. If you have WordPress 5.9, you can fully customize your site with Gutenberg blocks. This is known as Full Site Editing:

WordPress Site Editor

Key Features:

If you enjoy editing blog posts with the WordPress Block Editor, you can extend this functionality to your whole website. Rather than dragging and dropping elements onto a page, the Site Editor enables you to insert and edit content blocks. You can also create templates for your archive pages, blog posts, and more.

Pricing: After you create a WordPress website, you can simply install a block theme to start using the Site Editor. You can find many free options in the Theme Directory.

5. Shopify

When selling products online, you may want to consider finding a small business website builder. Shopify is a popular option for entrepreneurs as it provides an easy drag-and-drop store builder, payment gateways, and sales-tracking software:

Shopify website builder

Key Features:

  • Drag-and-drop store builder
  • 70+ free store themes
  • 100+ external payment gateways
  • Mobile-responsive
  • Business analytics dashboard

With Shopify, you can successfully create and grow your online business. Using built-in automated marketing and Search Engine Optimization (SEO) features, you can start attracting new customers and building a loyal clientele. Additionally, Shopify supports many design themes and third-party app integrations to customize your store easily.

Pricing: To start using Shopify, you’ll need to purchase a plan. The Basic plan starts at $29 per month and gives you access to basic reports, two staff accounts, and up to four inventory locations.

6. Squarespace

Originally founded in 2003, Squarespace was created as a platform for creative individuals to take their ideas online. This website builder is known for having clean designs and a wide range of features:

Squarespace website builder

Key Features:

  • Customizable website templates
  • Blogging tools
  • SEO-optimized
  • Traffic analytics
  • Integrates with apps such as Instagram, Twitter, and Google Maps

You can use Squarespace to build your online portfolio, blog, or online store. Its flexible templates serve as an effective starting point. Then, you can use the website builder to customize each page with custom fonts, images, and more.

Pricing: Squarespace subscriptions start at $16 for a personal plan. This comes with a custom domain, unlimited bandwidth, templates, and basic website metrics. You can also start a 14-day free trial to try out this website builder before you buy it.

7. Wix

Wix has over 200 million users, making it one of the most popular website builders available. With this platform, you can create your first website, customize its design, and add advanced features, all without touching a line of code. Using its ADI (Artificial Design Intelligence), you can even allow Wix to design a website for you:

Wix website builder

Key Features:

  • Drag-and-drop editor
  • 500+ website templates
  • Wix ADI
  • SEO tools
  • Tracking analytics

If you’re looking for a free website builder, Wix can be a great choice. However, keep in mind that a free plan does not come with a custom domain. Plus, your website will have Wix ads and limited storage and bandwidth.

Pricing: You can build a Wix website for free. If you want advanced features, you can purchase a premium plan starting at $16 per month. For online businesses, you can also consider Wix ecommerce plans which are slightly more expensive, at $27 per month.

8. Weebly

When you need a fast, easy way to create an online presence, consider using Weebly. This affordable website builder provides many simple templates for online stores, portfolios, or personal blogs. Plus, these designs are ready to launch even before you make any edits:

Weebly website builder

Key Features:

  • Drag-and-drop editor
  • Free website templates
  • Advanced Theme Editor with HTML and CSS control
  • SEO-optimized with HTML formatting, responsive design, and meta descriptions
  • Form Builder

Weebly can be another effective option for beginners. It provides free plans with built-in hosting, SSL security, and SEO tools. As a business owner, you can even access inventory management, gift cards, shopping carts, and coupons at no additional cost.

Pricing: Weebly provides a free plan, but this won’t connect to a custom domain. However, Weebly subscriptions are affordable, starting at only $6 per month.

9. Webflow

Unlike the other website builders on this list, Webflow is used by designers and agencies. This tool enables you to host, design, and launch a website on one platform, which makes it a powerful Content Management System (CMS):

Webflow website builder

Key Features:

  • Drag-and-drop visual editor
  • 1,000+ website templates
  • Supports collaboration
  • SEO settings for adding schema markup, indexing rules, and more
  • Integrates with a variety of tools for analytics, marketing, and task automation

In Webflow, you can create teams for your design projects. Using the Webflow Designer, you can work alongside other collaborators to edit the same page. This can be a helpful feature for managing your team’s progress in one place.

Pricing: You can start using Webflow for free. If you need a custom domain, you’ll need to purchase a Site plan, which starts at $12 per month.

10. Jimdo

Jimdo is a platform that was specifically designed for self-employed creators. This makes sense when you consider how easy Jimdo is to use. All you need to do to get started is answer some basic questions in the AI set-up wizard:

Jimdo website builder

Key Features:

  • AI set-up wizard
  • Click-to-edit website builder
  • Automatic SEO
  • Free logo creator
  • Supports social selling

If you need to create a well-designed website quickly, you can use the Jimdo website builder. Its AI web design called ‘Dophin’ can use information about your goals and instantly generate a website that works for you. This is a quick way to get a personalized site that is instantly ready to use.

Pricing: You can create a Jimdo website for free, but you’ll have a .jimdosite.com subdomain. To access a custom domain and remove ads, you can purchase a plan starting at $9 per month.

The Future of Web Design

In the past, it was necessary to hire professional developers and designers to create a functioning, user-friendly site. However, website builders have changed the future of web design, enabling anyone to have an online presence without much/any coding experience.

This new age of code-free web design makes website-building incredibly accessible. You can now create stunning pages with pre-designed templates and drag-and-drop editors. Ultimately, website builders are bridging the gap between beginners and developers!

Looking to the future, we will see the advent of cross platform blocks and components, new content management systems intuitively separating content from layout, themes that act as a layer over designs instead of “being the design.”

Easily Build Your Dream Website

Don't know code? No problem. Our DIY Website Builder makes building a website as easy as sending an email.

custom website design

The post The Current State of Website Builders (Overview & Comparisons) appeared first on Website Guides, Tips & Knowledge.



source https://www.dreamhost.com/blog/state-of-website-builders/

Thursday, 20 October 2022

An Introduction to the WordPress REST API

When the REST API was finally added to WordPress core, it was the end of a long journey. Many had anticipated this change as the biggest step forward for WordPress in the platform’s history. However, if you’re not familiar with the REST API, you may be confused by what it all means.

In short, the addition of the WordPress REST API turned WordPress into a fully-featured application framework. This significantly increased its ‘extensibility,’ or its ability to be extended with new features and capabilities. Plus, it expanded the platform’s potential for communicating with other sites and applications.

An Introduction to REST APIs

Before we dig deeper into the WordPress REST API, it’s important to get our terminology straight. This is a subject where we’ll need to use a lot of acronyms, so let’s clear those up first.

First and foremost, you’ll need to know what Application Programming Interfaces (APIs) are. In the simplest terms, an API is a means by which one system enables other systems to connect to its data.

For example, when a website adds a Facebook ‘like’ button to a page, it does this by hooking into Facebook’s API. This lets the web page use the API to receive data (the code for the like button) and send data (the like request).

So, what is a REST API specifically? Representational State Transfer (REST) is a type of API specific to web services. It contains a standardized set of instructions and rules, making it easier for all ‘RESTful’ services to connect with each other.

In short, REST APIs enable you to make requests to an external system. One example of this is Twitter. You can use its API to request a certain number of tweets from a specific user. The API will then return the tweets based on your request, which you can embed on your site using HTML and CSS.

These requests are carried out using JavaScript Object Notation (JSON). This is a language specifically designed for sending, receiving, and storing data.

We’re going to cover JSON later in this article, but we recommend taking the time to familiarize yourself with this language upfront. This will help prime you for using the WordPress REST API and understanding some of the concepts we’ll be talking about.

What the WordPress REST API Is (And Why It’s Important)

WordPress Rest API

The WordPress REST API functions in largely the same way as the examples we’ve touched on already. Basically, the WordPress REST API gives you full access to WordPress features from any JSON-compatible framework.

Similarly to how Twitter’s API enables you to retrieve and send tweets, the WordPress REST API can be used to manage posts, users, categories, and much more from external platforms. It lets you use WordPress in a number of previously unprecedented ways.

The REST API was announced all the way back in 2013. It started life as a plugin, meant to be incorporated into the WordPress core by Version 4.1. As so often happens, delays pushed the release back until it was finally implemented into the core with the release of WordPress 4.7 three years later.

This was a long but worthwhile wait for many people who saw the WordPress REST API as an important step forward for the platform. You might be wondering why this addition was such a big deal, especially since a lot of users probably didn’t notice much difference. As it turns out, the inclusion of the REST API was a fundamental change to WordPress for many reasons.

By implementing a REST API, WordPress took a step away from simply being a platform for creating websites. Instead, it’s now become a full-fledged application framework. This means developers can use a WordPress site to create applications for mobile devices and the web or as an information repository.

This shift also enabled WordPress to take a step away from its reliance on PHP. By making WordPress compatible with any JSON-compatible language, the REST API greatly expanded the possibilities for developers, enabling them to use WordPress functionality with practically any framework.

Finally, the REST API provides increased flexibility with the interfaces you can use to work with the platform. It made the admin interface completely optional since you can now interact with your WordPress site entirely through JSON commands.

Now, let’s look at how JSON and the REST API come together to make this possible.

How the REST API and JSON Work Together

By now, you should have a handle on the theoretical aspects of the WordPress REST API. So, let’s look at the more practical side of the technology. The official handbook describes using the REST API as follows:

“The WordPress REST API provides API endpoints for WordPress data types that allow developers to interact with sites remotely, by sending and receiving JSON (JavaScript Object Notation) objects.”

The first word we need to focus on here is “endpoints”. The easiest way to think of an endpoint is as a piece of data or a function that can be called using a JSON request. By default, WordPress provides a huge number of standard endpoints to use, but developers can also create custom endpoints.

To reach an endpoint, you must use a ‘route,’ which takes the form of a normal URL. You can even try this yourself right now.

Go to your own WordPress site, and add /wp-json/wp/v2 to the end of its URL. If your site is http://example.com, you would enter http://example.com/wp-json/wp/v2.

When you load this route, you will reach the endpoint, which in this case, returns all content and meta-data for your site in a (messy) JSON format. By using different routes, you can access different endpoints to get specific types of information and perform various tasks.

There are three primary JSON requests you will use with the REST API, so let’s also take a quick look at them now. They are:

  • GET. This type of request is used for retrieving and listing data from the API. For example, you would use a GET request to return a list of users on your site or compile blog posts from a certain timeframe.
  • POST. This request is used for sending data to the API. It enables you to push new information to WordPress, such as adding new users and posts or updating existing data.
  • DELETE. As the name suggests, this request is used to delete data. This enables you to remove posts, pages, users, and more.

GET and POST can sometimes be used with the same endpoint to achieve different results.

For example, let’s look at the endpoint /me/settings/. If you were to perform a GET request on this endpoint, you would receive a list of the current user’s settings. However, by using a POST request on the same endpoint, you would be able to update the settings instead.

Get Content Delivered Straight to Your Inbox

Subscribe to our blog and receive great content just like this delivered straight to your inbox.

Getting Started with the WordPress REST API

We’re now going to put all of this theory into practice and show you some very basic examples of what you can do with the REST API. This is only a taste to help you become comfortable using the REST API to process requests to WordPress.

For more examples, we recommend checking out the official reference library and the REST API Resources.

The following techniques will require you to use the command line to process JSON requests. This enables you to interact with your WordPress site by using a text-based interface and sending simple commands.

If you don’t have any experience using the command line, we recommend taking some time to learn the basics first. You may also want to use SSH to create the connection with your site.

Finally, when you’re ready, let’s look at some examples of how you can use the WordPress REST API!

1. Return Posts from a Site

While you will obviously need the proper authorization to edit a website, it’s possible to retrieve some information from almost any WordPress site. This is because the REST API is consistent across all WordPress installations.

As we discussed, the main reason that APIs exist is to enable external applications to access some of your data. In this example, we can retrieve a single post from the official WordPress news blog:

curl https://wordpress.org/news/wp-json/wp/v2/posts/1

The ID has been set to 1, meaning that this request will retrieve the very first post on the blog. It might be hard to see since the JSON is not very readable, but among the code, you can spot all the content and meta-data for the post:

retrieve a post from the WordPress blog using the WordPress Rest API

You could then use this information in an application, for example, to display it using your own customized styling.

If you want to return every post from the blog instead, all you have to do is remove the ID at the end. However, it’s more likely that you’ll want to return a select number of posts. The following request will return the latest three posts:

curl https://wordpress.org/news/wp-json/wp/v2/posts/?per_page=3

You can try this out for yourself with other sites, and even your own blog.

2. Update a Post

Now, let’s try to make some changes to WordPress using the REST API. To do this, you will need to be logged in to the site you want to manage. For example, if you’re using SSH, you will need to log in to your server.

In this example, we’ll update an existing post. First, let’s use a request to update the title of the post with the ID of 1:

curl -X POST http://example.com/wp-json/wp/v2/posts/1 -d '{"title":"A Brand New Title"}'

This is pretty self-explanatory. The title argument shows that you’re updating the post’s title, which is followed by the text string containing the replacement.

There are plenty of other arguments you can use to make changes to a post. For instance, you can use a list to assign categories to the post, publish it, or change its contents entirely.

3. Delete a User

Finally, let’s look at how you can remove data using the REST API. In this example, we’ll remove a user from the site. Naturally, you’ll need to be logged in and authorized to manage users before you can use this function.

Then, you can use the following request to delete the user with an ID of 101:

curl -X DELETE http://example.com/wp-json/wp/v2/users/101

This will remove the specified user from the site. You can use the additional parameters to reassign the user’s posts to another user based on their ID. Alternatively, you can force a permanent deletion instead of adding the user to the trash.

Through these examples, you can start to see how the REST API enables you to manage the content on your site and connect to others. If you want to learn more, we recommend digging deeper into the REST API Handbook.

Explore WordPress Development

The WordPress REST API was a huge step forward for the platform, away from its roots and into the future. Developers were excited from day one, but if you weren’t familiar with REST APIs to begin with, you might have been confused about why.

Although the REST API might seem overwhelming for beginners, you don’t need to be an experienced developer to use some basic requests. For example, the API enables you to perform diverse tasks on your own site (or others), such as returning posts, updating posts, and deleting users.

Are you looking for high-performance hosting for your WordPress site? At Dreamhost, our DreamPress managed plans offer professional staging environments, automatic backups, in-built caching, and more. Check out our plans today!

Do More with DreamPress

DreamPress' automatic updates, caching, and strong security defenses take WordPress management off your hands so you can focus on your website.

Managed WordPress Hosting - DreamPress

The post An Introduction to the WordPress REST API appeared first on Website Guides, Tips & Knowledge.



source https://www.dreamhost.com/blog/tutorial-wp-rest-api/

Wednesday, 19 October 2022

Ready, Set, Sell! A Comprehensive Introduction to WooCommerce

WordPress has come a long way from the humble blogging platform it used to be. These days, you can use it to create any type of site you need, including e-commerce. However, selling products and services online hasn’t always been easy, even with a user-friendly platform like WordPress.

That all changed when WooCommerce was launched and became the de facto e-commerce solution for WordPress users. WooCommerce is the standout choice for anybody who wants to build an online store. This popular plugin offers a wide variety of features and makes selling goods and services through your site simple — even for beginners.

An Introduction to WooCommerce

The WooCommerce plugin was first launched in 2011 and quickly became a popular method for creating an online store:

The WooCommerce website

It was later acquired by Automattic in 2015, making it more or less the officially supported WordPress e-commerce plugin. WooCommerce’s growth since then has been continuous and staggering.

According to statistics collected by Barn2, WooCommerce powers almost 41% of all e-commerce websites. This makes it the most popular e-commerce solution by far, almost double its closest competitor (Shopify).

So what is all the hubbub about? The main reason for WooCommerce’s incredible growth and continuing success is how easy it is to use. Before it came along, selling products and services online was not always a picnic. You usually had to purchase several pieces of software, construct the site yourself, and keep track of every moving part.

WooCommerce streamlines this process, helping you turn your existing WordPress site into an online store in minutes. It also makes configuring and running your store much easier. Now, let’s take a closer look at why WooCommerce is such a valuable tool.

Why WooCommerce Is the Best Choice for Your Online Store

We’ve already mentioned that WooCommerce is easy to install and configure, even for total beginners. Just by using the basic free plugin and its default settings, you can set up a store in less than an hour:

 

This ease of installation significantly lowers the threshold for e-commerce beginners while still giving you control over nearly every facet of your store.

Once WooCommerce is installed, you can easily configure and manage everything from a user-friendly interface. This includes product costs, item details, shipping fees, taxes, stock levels, images, and much more. You can also tailor the checkout process to suit your needs, thanks to customizable carts, geolocation features, and several different payment options.

Perhaps the best feature of WooCommerce is its flexibility. It truly is a one-size-fits-all solution that works equally well for small independent stores and large, ambitious e-commerce businesses. As your company grows over time, WooCommerce’s scalability makes it easy to expand your store.

While the plugin’s default settings work well for a more modest site, the plugin can also be configured and customized to match your precise needs. You can change the look of your store using themes created specifically with WooCommerce sites in mind and add new functionality through dedicated extensions. In the next few sections, we’ll look at both of those options in more depth.

How to Customize Your Online Store With WooCommerce Themes

WooCommerce works well with just about any WordPress theme. However, there are plenty of themes specifically created for sites that use WooCommerce. These themes help you customize your store’s appearance to match the rest of your site. Some even add new functionality related to WooCommerce, such as custom post types.

Most WooCommerce themes are based on the official Storefront theme:

WooCommerce WordPress Storefront theme

This theme is developed by the team behind WooCommerce, so you can be sure that it’s secure and that the integration is bullet-proof. Storefront is also free, which is always a plus.

While this theme works great on its own, it can be further expanded using one of several child themes. If you’re not aware, a child theme builds on an existing theme (its ‘parent’),  enabling you to make changes to the ‘parent theme’ without editing it directly.

In addition to Storefront and its child themes, you can find more than a thousand WooCommerce-ready themes on ThemeForest. Many of these are specialized for different types of stores.

For example, Electro is specifically built for creating electronics shops, while the Motor theme is tailored toward car dealerships. Regardless of your business and tastes, you should be able to find a theme that works perfectly for you.

4 Extensions for Augmenting Your WooCommerce Store

Once you’ve picked out a theme for your store, it’s time to consider adding extra features. WooCommerce extensions enable you to add new functionality to your WordPress store. While they work very much like WordPress plugins, they are specifically created to integrate with WooCommerce.

Some extensions are free to use, while others require a one-time payment or a regular subscription fee. Either way, you can use them to enhance your store with new features.

There are hundreds of extensions available, but we’re going to take a look at a few of the best options for first-time WooCommerce users.

1. WooCommerce Google Analytics

The WooCommerce Google Analytics extension

WooCommerce Google Analytics enables you to use Google Analytics to track your store’s performance. This extension can help you understand your customers’ journey, including how they find your site and which products they’re most interested in. You can then use this data to optimize your sales funnel.

Key Features:

  • Tracks session length, users, and referrers.
  • Highlights which areas of your store perform well and which need improvement.
  • Helps you understand customer behavior and product popularity.

Pricing: WooCommerce Google Analytics is a free extension, but it does offer a premium version as well, starting at $79 for a single site. Both extensions also require a free Google Analytics account to use.

Get Content Delivered Straight to Your Inbox

Subscribe to our blog and receive great content just like this delivered straight to your inbox.

2. WooCommerce Subscriptions

WooCommerce Subscriptions

WooCommerce Subscriptions enables you to create products with recurring payments. It can be used to sell both physical products, such as a monthly subscription box like Loot Crate and virtual products or services.

Key Features:

  • Enables you to choose your payment schedule from several options.
  • Offers more than 25 different payment gateways.
  • Supports automatic subscription renewal emails for both you and your customers.

Pricing: WooCommerce Subscriptions starts at $199 per year for a single site.

3. WooCommerce Zapier

WooCommerce Zapier integration

WooCommerce Zapier is a great solution for integrating your store with third-party services. With this one extension, you can connect WooCommerce with MailChimp, YouTube, Dropbox, Google Drive, and many other platforms.

Key Features:

  • Integrates with over 1000 third-party services.
  • Enables you to configure automation to save time.
  • Provides performance reports through the ‘Digest by Zapier’ feature.

Pricing: WooCommerce Zapier prices start at $59 per year for a single site.

4. Square for WooCommerce

The Square for WooCommerce extension

Square for WooCommerce enhances your store’s payment options, both online and in-person. The extension is very easy to install, and you’ll be able to accept payment within minutes. Square is compatible with all credit and debit cards in the US, UK, Australia, Canada, and Japan.

Key Features:

  • Makes it easier to accept payments from various sources.
  • Deposits your funds quickly, within 1-2 business days.
  • Enables you to quickly sync your Square and WooCommerce accounts.

Pricing: Square for WooCommerce is a free extension that requires a Square account to use.

Start an Online Store Today

If you want to use your WordPress site to sell goods and services, WooCommerce is by far your best option. It’s the most popular e-commerce plugin for a reason and makes it incredibly easy for beginners and experienced users alike to open an online store.

While using the basic WooCommerce plugin will enable you to build a successful store, you can improve it even further using themes and extensions. For instance, you can link your online store with Google Analytics to track customer behavior or set up recurring subscriptions for your customers.

Creating a beautiful e-commerce store is just the first step. You’ll also need to make sure that your WooCommerce-powered shop loads quickly and provides a great user experience. Check out our managed WordPress hosting plans to supercharge your site’s performance!

Power Your Store with Managed WordPress Hosting

Hassle-free, high-performance WordPress hosting can help you grow your business. Plans start at $16.95/mo.

Managed WordPress Hosting - DreamPress

The post Ready, Set, Sell! A Comprehensive Introduction to WooCommerce appeared first on Website Guides, Tips & Knowledge.



source https://www.dreamhost.com/blog/what-is-woocommerce/

Creating and Mastering GA4 Explorations

In the switch from Universal Analytics (UA) to Google Analytics 4 (GA4) — which will go fully into effect July 2023 — a lot of things have...