We using Drupal 8 as headless ( Decoupled) core of Zeyton project,we setup Drupal at core.zeyton.com and that provides data for our Front-end Layer, One of our requirements is only admin could access the Drupal pages, I mean anonymous user couldn't surf Drupal pages So I suggest a plan to satisfy this requirement, my scenario is when user try to access Drupals pages we check user if user is not logged on or current path is not our ENDPOINTS paths redirect user to login page, In D
Nowadays I'm very busy and working hard on http://www.zeyton.com, it's a exciting project, later I'll talk to you more about that and about new technologies we are used there.
PHP development is one of my skill and as a developer we have to be update, as you know PHP 7.1.x Related on 01 Dec 2016 and there is several interesting thins there,
When we need to run some script without waiting the fronted user till the process is not completed, For that we need to execute some script in background to hiding the execution time to user.This process is hidden to the end user. It improves your Website efficiency.
Just in case anyone is wondering what's the correct way to configure Nginx for running Drupal 8 installation, or having trouble with Clean URLs or Image styles, I'll post my config as a Gist here.
The Gist will be revised and improved over time, so please come and check for updates! Suggestions or thoughts are welcomed in comments.
Embedded code below:
We're still on our way to better data scraping. We did a great job last time, but it's time for improvements. Now I want to introduce another even higher level tool for data scraping - Goutte. It's originally written by Fabien Potencier, the creator of the Symfony framework and is now maintained by FriendsOfPHP.
Recently I was compiling a list of Linux commands that every sysadmin should know. One of the first commands that came to mind was nmap.
nmap is a powerful network scanner used to identify systems and services. nmap was originally developed with network security in mind, it is a tool that was designed to find vulnerabilities within a network. nmap is more than just a simple port scanner though, you can use nmap to find specific versions of services, certain OS types, or even find that pesky printer someone put on your network without telling you.
There is a lot of literature about entities and their purpose in Drupal 7 context. Most of it has been adopted in Drupal 8 as well. In this post, I'll highlight the differences between D7 and D8 entities and how to use the entity API in 8.
Entities have their own classes in 8. Also, Drupal 8 introduces the concept of config entities. These are used to store user-created configuration if its more than a piece of text, boolean or integer. They differ from the usual entities in the following ways:
Today, eCommerce is a booming field, as an increasing number of businesses move into the online retail space to reach a wider audience and unlock the potential to maximise their profits. This means the tools required to set up and run an online store are in high demand, and storeowners are often spoilt for choice.
Much like previous versions of Drupal, version 8 of the CMS revolves around the concept of Entities. These are objects that have an ID, Language, Type, and Storage. Some optional properties are URLs, Bundles, and labels. They can be viewed, loaded, created, saved, and deleted, as well as have access permissions set for them. Most things in Drupal are entities, such as Users, Nodes, or Blocks.