…vanced templating topics while learning how to lay out templates in a Flask-based application in a modular and extensible design.I assume that you have a basic understanding of Flask and environment setup best practices using virtualenv to be followed while developing a Python application.Installing PackagesFlask comes packaged with Jinja2, and…
…vantage of Mailgun's powerful email APIs, developers can spend more time building awesome websites and less time fighting with email servers.It offers a variety of features for managing email quickly and efficiently for your application: Sending Email (via API or SMTP) Inbound Routing Tracking and Analytics Spam Filtering Mailing Lists…
…vant slider.Order Posts in the SliderYou can manually edit the order in which posts will be shown by the slider. Go to Smooth Slider > Sliders and select the slider you want to work with. Here's my 'Heide' slider:Scroll down to drag the posts into the correct order:Once you've done…
…vanced and have multiple copies of the project installed, then you can run:$ which phpAnd you should see something like this:/Applications/MAMP/bin/php/php5.6.10/bin/phpThough your output will vary based on where your copy of PHP is installed.But If You Don't, That's Okay!Though this series is geared primarily towards beginners, there may be some…
…vant person. Let's fix that.Position the Sliders Next to the SpeakersThe Smooth Slider plugin gives each slider a unique ID in the markup. So the 'Heide' slider has an ID of #smooth_slider_3 and the 'Iain' slider has an ID of #smooth_slider_4. We can target those to position each slider correctly.Add…
…You'll need to create custom APIs for unique requirements in your project development at some point in time, and that's what we'll cover throughout the course of this tutorial. In our custom API module, we'll fetch the list of all products available in the store, and it'll be a JSON…
…vans in 2003. It is a combination of widely accepted best practices along with Evans’s own insights and experiences. If you are new to the idea of Domain-Driven Design, there is a lot to learn in this book. It will teach you how to effectively model the real world in…
…vanced knowledge. Now that babel has generated the build/helloworld.js, which contains just straight-up JavaScript, update the HTML without any babel-enabled script tags. <!DOCTYPE html> <html> <head> <meta charset="UTF-8" /> <title>Hello React!</title> <script src="build/react.js"></script> <script src="build/react-dom.js"></script> <!-- No need for Babel! --> </head> <body> <div id="example"></div> <script src="build/helloworld.js"></script> </body> </html> So…
…vantage of the add_submenu_page hook offered by WordPress.Note that we're using the __() function that we discussed in the first post in this tutorial to make sure the menu item's text is properly internationalized for translation. Also, note that the second parameter passed into the function is the same as…
…vanced date and time formatting at template level in Jinja2 using moment.js.Getting StartedDate and time formatting is a painful thing to handle in web applications. Handling them at the level of Python, using the datetime library, increases the overhead and is pretty complex when it comes to handling time zones…