Website re-design for the United States Institute of Peace by WDG
by csreladm via CSSREEL | CSS Website Awards | World best websites | website design awards | CSS Gallery
"Mr Branding" is a blog based on RSS for everything related to website branding and website design, it collects its posts from many sites in order to facilitate the updating to the latest technology.
To suggest any source, please contact me: Taha.baba@consultant.com
Website re-design for the United States Institute of Peace by WDG
fuzzyset.js is a data structure that performs something akin to fulltext search against data to determine likely mispellings and approximate string matching.
This article was created in partnership with Mekanism. Thank you for supporting the partners who make SitePoint possible.
We're always on the lookout for the best web tools and services available for designers and developers. Which resources should we be using? Most customers don't need a website built from scratch — only customizations are necessary for many to find a perfect fit for their projects. That's why you can easily use the ListingPro WordPress directory theme to build business directory websites or Brizy, or other website builders we have included in the showcase. Using these resources will help you stay competitive in terms of pricing and project delivery dates.
Web designers and developers told us what they are using in their projects to get things done faster and better. Here are 29 solutions that work.
ListingPro is the world's #1 best-selling end-to-end WordPress directory solution. It's the only theme that includes all the core directory features, and no paid plugins are required. This makes it super easy to build an online directory and start monetizing from day one. All for a fraction of the cost, with no coding knowledge required.
Whether you want to build a directory like Yelp, the Yellow Pages, Zomato, Foursquare or even Justdial, ListingPro is the best directory listing software for all kinds of business directory use-cases, including:
The core value proposition for ListingPro is simple: no paid plugins needed for all the core directory features. For more info on all the features, visit ListingPro's official website.
Userfeel is the usability testing tool that gives you videos of real users speaking their thoughts as they use your website or app. It is designed and developed by usability researchers, for usability researchers, but also for newcomers to UX research and anyone who wants to optimize their website or app.
Something that traditionally was difficult, costly and time-consuming, now is put at your disposal for an affordable cost. Every web designer, after they build their website with WordPress, should run a usability test to see whether the website is sending the right message and whether it's easy to use.
Userfeel is offering the option to become a tester for the service, and earn $10 per test. Each test lasts 10-20 minutes, and you can do it from your home computer or smartphone.
Start testing your website for yourself or for your customers.
Dealjumbo brings you exclusive deals from the best web and graphic designers, writers, and artists from all over the world. The website was launched in 2013 and it was one of the first graphic design deal websites on the market, with excellent reviews in the industry.
You can download 1580+ free fonts and graphics. All come with a standard commercial license.
Check the website — it is packed with tons of items and design bundles with huge discounts.
Brizy is the friendliest and most complete WordPress page builder on the market, allowing users to build pages visually. Designers will find a huge collection of more than 4,000 icons at their disposal. There's no need to have any coding skills.
As for developers, it comes with 150 pre-made design blocks. You can start from scratch and build anything you want, but if that is a little intimidating you can use the pre-made blocks to start your design. Developers can create a page on Brizy's website and save the HTML for free, and use it anywhere they like in personal or commercial projects.
Brizy is a WordPress plugin and free to use. A Pro version is in the works with a presale lifetime deal available on its website.
Deeezy is a brand new website offering awesome free and premium fonts and graphic design items. You will find 237 exclusive freebies and premium items offered with an extended license - for an unlimited number of commercial projects, or for your digital or physical items for sale.
You can subscribe for free and the premium plans start from $9 per month.
actiTIME is a powerful and popular time tracking app used by thousands of companies around the world. With its flexible configuration, actiTIME fits companies from many industries: IT, design, architecture, engineering and others.
Using actiTIME, you can easily manage project scope, assign tasks, track time and analyze your project performance based on the collected data. Everybody can benefit from using it day-to-day: employees, team managers and business owners.
Notism is an excellent design and video collaboration tool for creative teams making creative content review more effective. Yes, Notism also supports video collaboration. Finally, you can review and collaborate on your motion design work by adding notes, sketches or selections to the video timeline.
Sometimes it makes more sense to sketch directly on the work rather than adding notes. Notism offers several tools to draw on your uploaded content: a pencil, rectangle, and circle. You can also choose a line type, width or add a splashing color.
Goodie is a powerful web development service that allows you to have your website designed and coded by professionals from only $999. Everybody is looking to receive top quality for a reasonable price and this is what you will receive from this team of professionals. Goodie's approach to help you is different: it hires only experienced web developers and lets them cooperate directly with you.
The post 29 Awesome Tools for Web Designers & Developers appeared first on SitePoint.
In this article, you'll learn how to set up passwordless authentication using the Auth0 service. Auth0 allows you to outsource authentication features for your app.
Auth0 is an authentication-as-a-service tool that makes implementation of authentication-related features for your app or site a breeze. If you've built an app and you want to just outsource the authentication and authorization features, a service like Auth0 is something you should consider.
Let me quickly summarize what Auth0 has to offer:
In this section, we'll go through the initial setup in preparation for setting up the passwordless authentication.
Before moving ahead, make sure to install Composer as that will be used to install actual Auth0 SDKs using the composer.json file. Also, if you want to follow along with the examples in this article, go ahead and get yourself a free account with Auth0.
Let's start by grabbing a clone of the sample project.
git clone https://github.com/auth0-samples/auth0-php-web-app.git .
Go ahead the run the composer install
command to install the dependencies.
cd 00-Starter-Seed composer install
According to the composer.json file, you should have installed the vlucas/phpdotenv and auth0/auth0-php packages.
{ "name": "auth0/basic-webapp-sample", "description": "Basic sample for securing a WebApp with Auth0", "require": { "vlucas/phpdotenv": "2.4.0", "auth0/auth0-php": "~5.0" }, "license": "MIT", "authors": [ { "name": "Martin Gontovnikas", "email": "martin@gon.to" }, { "name": "Germán Lena", "email": "german.lena@gmail.com" } ] }
The vlucas/phpdotenv library is used to initialize environment variables from the .env file. Thus, it allows you to separate configuration from the code that changes between environments.
On the other hand, the auth0/auth0-php package is the one which will help us set up authorization in our app.
Next, let's set up the configuration for our app in the .env file. Go ahead and create the .env file by copying it from the .env.example file.
cp .env.example .env
It contains configuration values which will be used by the Auth0 library.
AUTH0_CLIENT_ID={CLIENT_ID} AUTH0_DOMAIN={DOMAIN_NAME} AUTH0_CLIENT_SECRET={CLIENT_SECRET} AUTH0_CALLBACK_URL={CALLBACK_URL} AUTH0_AUDIENCE=
You should be able to find most of the settings under Applications > Default App > Settings on the Auth0 dashboard. Please note that I'm using the default application created by the system. Of course, you could go ahead and create a new application if you want to do so.
The AUTH0_CALLBACK_URL
is the URL of your app where Auth0 will redirect users after login and logout. The value that you set in this field must be configured under Allowed Callback URLs in the application settings on the Auth0 dashboard.
To enable passwordless login using email, go to Connections > Passwordless on the Auth0 dashboard and enable the Email option.
In most cases, the default configuration settings under Email just work out of the box. Of course, if you want to change any settings, go ahead and do that. Don't forget to enable the apps for which you want passwordless authentication at Connections > Passwordless > Email > Applications.
With the initial setup in place, we can go ahead and create a file which implements the passwordless login using email.
Go ahead and create the email_auth_example.php file with the following contents.
<?php // Require composer autoloader require __DIR__ . '/vendor/autoload.php'; require __DIR__ . '/dotenv-loader.php'; use Auth0\SDK\Auth0; $domain = getenv('AUTH0_DOMAIN'); $client_id = getenv('AUTH0_CLIENT_ID'); $client_secret = getenv('AUTH0_CLIENT_SECRET'); $redirect_uri = getenv('AUTH0_CALLBACK_URL'); $audience = getenv('AUTH0_AUDIENCE'); if($audience == ''){ $audience = 'https://' . $domain . '/userinfo'; } $auth0 = new Auth0([ 'domain' => $domain, 'client_id' => $client_id, 'client_secret' => $client_secret, 'redirect_uri' => $redirect_uri, 'audience' => $audience, 'scope' => 'openid profile', 'persist_id_token' => true, 'persist_access_token' => true, 'persist_refresh_token' => true, ]); $userInfo = $auth0->getUser(); ?> <html> <head> <script src="http://code.jquery.com/jquery-3.1.0.min.js" type="text/javascript"></script> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- font awesome from BootstrapCDN --> <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet"> <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" rel="stylesheet"> <link href="public/app.css" rel="stylesheet"> </head> <body class="home"> <div class="container"> <div class="login-page clearfix"> <?php if(!$userInfo): ?> <script src="https://cdn.auth0.com/js/lock/11.6.1/lock.min.js"></script> <script type="text/javascript"> function login() { var lock = new Auth0LockPasswordless('<?php echo $client_id; ?>', '<?php echo $domain; ?>', { allowedConnections: ['email'], // Should match the Email connection name, it defaults to 'email' passwordlessMethod: 'code', // If not specified, defaults to 'code' auth: { redirectUrl: '<?php echo $redirect_uri; ?>', responseType: 'code' } }); lock.show(); } </script> <a href="javascript:login()">Passwordless Login Using Email</a> <?php else: ?> <div class="logged-in-box auth0-box logged-in"> <h1 id="logo"><img src="//cdn.auth0.com/samples/auth0_logo_final_blue_RGB.png" /></h1> <img class="avatar" src="<?php echo $userInfo['picture'] ?>"/> <h2>Welcome <span class="nickname"><?php echo $userInfo['nickname'] ?></span></h2> <a class="btn btn-warning btn-logout" href="/logout.php">Logout</a> </div> <?php endif ?> </div> </div> </body> </html>
At the beginning, we have included auto loaders which are responsible for loading the Auth0 and environment variable related classes.
Following that, we initialize configuration variables from the .env file using the getenv
function.
Next, we have called the getUser
method on the Auth0 object to check if any active session is present. Based on that, we display the SignIn
link if there's no active session. Otherwise, the username of the logged-in user with the Logout
link is displayed.
Go ahead and run the email_auth_example.php file to test your app!
To enable passwordless login using SMS, go to Connections > Passwordless on the Auth0 dashboard and enable the SMS option. By default, Auth0 uses the Twilio service to send messages. So go ahead and get yourself a Twilio account.
From the Twilio dashboard, get your ACCOUNT SID and AUTH TOKEN and enter those values in the Twilio SID and Twilio AuthToken fields at Connections > Passwordless > SMS > Settings on the Auth0 dashboard.
Also, you need to create a new messaging service at SMS > Messaging Services on your Twilio dashboard. After successful creation of the service, you'll get the Service ID, and that's what you will need to enter in the Copilot SID field at Connections > Passwordless > SMS > Settings.
Finally, let's take a peek at how passwordless login using SMS works. Create the sms_auth_example.php file. The contents are the same as email_auth_example.php, except the login()
function, which is as follows.
function login() { var lock = new Auth0LockPasswordless('<?php echo $client_id; ?>', '<?php echo $domain; ?>', { allowedConnections: ['sms'], // Should match the SMS connection name auth: { redirectUrl: '<?php echo $redirect_uri; ?>', responseType: 'code' } }); lock.show(); };
Everything is pretty much the same, except that we have provided sms
instead of email
in the allowedConnections
property.
Go ahead and run the sms_auth_example.php file to test your app!
Today, we looked at passwordless login with the Auth0 service. Among the possible methods available, we implemented the email and SMS methods with code examples.
Feel free to leave any thoughts or questions using the feed below!
Long-scrolling, image rich One Pager promoting Pittori di cinema – a 400+ page book celebrating the work of 29 Italian films artists.