Posts

Paypal's Brand and Material's Styling

Image
   Since google wallet is no longer available I've moved all my purchase features to paypal or other third parties if android pay isn't possible. While working on updates for Aptitude-Words and thinking about MyPatco I thought of what the material design version of paypal would look like . Since Apt-words is getting an update for the design. Font & Styling     From what I can find paypal uses  Verdana Bold Italic  and Google uses Droid Sans for the material design. Since the paypal icon will be either an icon or image I don't  have to much concern for this just wanted to make a note of it.  Speaking of icons font-awesome version 4.7.0 has the latest style of paypal if someone is looking to append this.

MyPatco Roadmap for 2017

   If you have been following updates on mypatco's twitter account then you know that there has been a lot of updates since the initial release of mypatco. Now what I want to do is make plans for whats lays ahead for this project which I've been spot on for getting things do so far.  The highest on my list is finishing the ios app. The second is the app indexing because I think it will greatly help the app's grow faster than it currently is, which isn't bad but just simply improve out of interest. The end goal of this app is to become the number one app for patco and provide a great user experience for patco users even if I no longer use it. Third update is more straight forward and almost done. Just display the messages in the email as alerts on the mobile devices. The feature I would like to add to this requires a little oversight on my part but ultimately become  a tool for me to perform quick group updates for schedules on the fly. This is one way I see it and anot

Loading Spinners inside Modal - Bootstrap

This solution for both static html and can be setup inside directive for angular 1.X. Just like with some of css3 I created awhile back these spinners ready as soon as the client hits the page hence way there's a static version.  A directive could be made to for dynamic situations like http requests.  This implementation goes inside div or inside another component, while the global spinner closes the children and takes over.   <div style="position:relative;height: 95px"  ng-show="data.length == 0">     <div id="my-modal" class="modal fade in show" style="position: absolute">       <div class="modal-dialog" style="width: 100px;margin-top: 2px;">         <div class="modal-content">           <div class="modal-body">             <div class="spinner"></div>           </div>         </div>       </div>     </div&

Why you might want to use Amp

Currently working on a blogger template that is completely stripped down to bare bones to setup a AMP site. This just a list of reasons why you start using AMP at least for maybe for blogs which I'm more interested. I wouldn't recommend for business sites just yet. Unless you're site is very simple and straight forward or mostly middler-tier based anyway. Pro's Everything in a AMP site is styled directly in the beginning of the site, no external stylesheets (a huge performance boost). Global styling forces developer to think globally about their styles. So the styles run more like a style guide. Styles are limited about the total amount for AMP making developers to do more with less. No inline-styles this is a plus because there is no surprises for other developers jumping in or modifying (look at cons). No inline javascript, where this is the same for inline styling. No external javascript, this is really something you will want to know before getting into AM

Material Angular Time Picker

Image
    Continuing off my article on android's material timepickers I wanted to include this feature in the web based version of mypatco. I don't think it will be officially included in the material angular project but just something I could have as my own and if anyone comes across it to use it just as any other component. The key difference with timepickers vs. datepicker just picking time, since time is a more necessary feature for cases like notifications or alerts/alarms. Missing Cancel/Ok Buttons First and foremost I recommend checking out the project which I forked to personalize and strip out any code related to datepicker. Since the datepicker is already implemented in material angular, instead I'm just going to focus on time pickers.   The rest of my notes are in the repo's issue tracking . You may see the results on mypatco.org for an example.

App Indexing & Sitemaps in Single Page Apps (Firebase + Angular)

    I started this article while working on the mypatco app and for the past three years or so I've been talking about developing single page applications. I always talk about the performance and not much on seo. With my other projects which require a more complex middle-ware I've looked at google's notes on how to properly setup for some example but found some of them just don't work or takes a considerable amount of time to appear in the results. Found a npm page that might be helpful grunt-jsondl, haven't tried it but below is how I handled in the website. However note that the station markup isn't working or just not showing up in google's testing tools. HTML <div ng-controller = "TestController" > <jsonld data-json = "jsonId" ></jsonld> </div> Javascript var myApp = angular . module ( 'application' , []); myApp . controller ( 'TestController' , [ '$scope' , functio

D3Js Exploding Pie Chart Part 1

    With one of my current projects, I have been working on creating a way for users to click on individual pieces of a pie chart and slightly pull out that portion. It's a small and pointless feature, something I like to call eye candy in the front-end world.  For people some people it illustrates the content better. I found myself interested in UX. It's fun for me to recreate in d3js since the problem is challenging. Problem    This isn't a math problem but more of svg drawing problem, at the point where d3js draws out the pie chart there is some calculations to the index to see it out of order but if I can understand the method being used then I can modify it to include the exploding property. var explode = function ( x , index ) { var offset = 80 ; var angle = ( x . startAngle + x . endAngle ) / 2 ; var xOff = Math . sin ( angle )* offset ; var yOff = - Math . cos ( angle )* offset ; return "translate(" + xOff + ","

Popular posts from this blog

UI-Bootstrap Collapsible Sticky Footer

Installing Windows on Acer chromebook 15 cb3-532

Aspetcore: NLog with Postgresql