Posts

Introducing IWASNUTS: It's a Web App Starter for Node Using TypeScript and Sass

I want to introduce you to my new open-source project called IWASNUTS: It's a Web App Starter for Node Using TypeScript and Sass This project is meant for for getting developers off the ground quickly with basic boilerplate code. Currently it is tailored toward a VSCode environment. It is a work in progress, but so far I have TypeScript and Sass compilation using Gulp tasks, along with Express, Express-Session, BodyParser, and EJS templating. I will be adding a login mechanism and a forgot password email function -- hopefully soon. I want to keep it to the basics, so I probably won't be adding sample database connectivity since there are too many different options. As always, I'm open to feedback -- especially if I can make something more efficient or if I have done something the wrong way. If you like where the project is headed, please star it on GitHub. Enjoy! https://github.com/anthony-tietjen/iwasnuts

Comparison of Mobile App Frameworks

I put together this spreadsheet to compare some of the more popular mobile app frameworks.

Converted ReactNativeJobs.io from PHP to NodeJS with EJS Templates

Image
Today I finished converting  ReactNativeJobs.io  from using PHP over to NodeJS with EJS templates. The transition went smoother and faster than I had anticipated. Thanks goes out to the helpful developers on the  NodeJS Facebook group  for pointing me in the right direction, and to Chris Sevelleja for his blog post on  how to use EJS with Node .

Solved: Ionic ENOENT Invalid device state error when using sudo on Mac

I was trying to launch a sample app on the newly released Ionic 2 Release Canditate . When I ran the command sudo ionic run ios --emulator , I encountered an error similar to this one which I shorted for display here: An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=163): Invalid device state Error: ENOENT: no such file or directory, stat '/Users/.../Library/Logs/CoreSimulator/.../system.log' After searching the internet for solutions, I was able to overcome the error by taking the following steps: Install the latest update to Xcode. Run xcode-select --install to make sure that Xcode command line tools is installed (as recommended by Mike Hartington on the Ionic Github page .) Run sudo chown -R username /Users/username to update my permissions which makes it so that I don't have to run sudo when running ionic commands (as recommended by  Zac Vineyard on his blog .) Run ionic run ios --emulator (this time ...

Choosing the Right Mobile Development Framework

When choosing a mobile development you first need to decide what your goals are in the long run. There are two ends of the spectrum. The first being 100% cross-platform code sharing, with the second being native feel and performance. Xcode is Apple's recommended IDE for app iOS development.  It uses Objective C or Swift as the programming language. Using these will get you a fast, native app without any loss of performance. When using Objective-C, your resulting binary will be smaller than if you use Swift . Android Studio is Google's recommended IDE for developing on Android. It is currently a customized build of Intelli-J, but previously it was a customized bundle of Eclipse with extra plugins. These tools use Java as the programming language. Visual Studio is Microsoft's recommended IDE for developing Windows Phone apps. Developers can use C# or Visual Bascis.net to build apps. The three IDE's mentioned above each have their pros and their cons. ...

Compared: Xamarin vs Xcode - iOS App Size and Startup Speed

In  Xamarin  I created a  Single View App  targeted for iOS and Android with a Shared Library. I changed the scheme to Release and removed the button click logic from ViewController.cs since Xcode's doesn't start with any button click logic. I confirmed that debugging was not enabled by putting a breakpoint in the ViewDidLoad() event, and it never hit that breakpoint. The deployment target was set to iOS 9.2. In  Xamarin  I created a  Xamarin.Forms App  targeted for iOS and Android with a Shared Library. I changed the scheme to Release. I confirmed that debugging was not enabled by putting a breakpoint in the App() method, and it never hit that breakpoint. The deployment target was set to iOS 9.2. In Xcode I created a Single View App using Swift targeting Universal devices. I opened the Run scheme, changed it to use the Build Configuration of Release and unchecked Debug Executable. Under Options I unchecked Core Location, XPC Servi...

Solved: Splash Screen for Xamarin.Forms Android Project

When launching a Xamarin.Forms apps for Android it starts out on a regular Activity while it prepares and launches the Forms activity. This delay is not very pretty and displays a regular android activity for maybe 2 seconds (on my Galaxy S6) before launching the intended Xamarin.Forms screen. While it is probably not possible to speed up the load, there is something you can do about the look of the app while the Forms activity is loading: and that is to display a splash screen. First I thought I could just add my own class, call SetContentLayout and be on my way, but even the process of loading a layout has a delay. It isn't two seconds like when loading a Xamarin Forms activity, but there is still a noticeable delay. What you really need, as Thomas Burkhart  and Chris Stewart recommend is a splash screen. Xamarin has sample code for implementing a splash screen in a Xamarin.Android project. This example code takes a graphic and stretches it across the whole splash screen....