I found using .filter() .map() and .reduce() Array methods could help to reduce code complexity and simplify many typical array data processing tasks. Looking at http://kangax.github.io/compat-table/es5/#test-Array_methods, you can confirm these methods are compatible with almost any modern desktop/mobile browser.
A good approach to understand how to use .filter() .map() and .reduce() is to compare each one to SQL data operations in SELECT statements.
GitHub is now offering Unlimited private repos for free. From a recent update on January 7th, 2019, Github announced a big change in their main offerings for developer and enterprise accounts.
Continue reading “GitHub is now offering Unlimited private repos for free”
In this post we will learn how to deploy your web applications in Heroku, for free. Heroku is a Cloud Platform-as-a-Service (PAAS). This company provides the base platform server, network resources and endpoints to publish your applications. However, you need to provide the application code and the rest is created automatically for you.
Sometimes, we need to test or showcase a quick prototype of a cloud based web application, REST API backend , or a static web application client. Heroku is a good solution to quickly host application at no cost. For example, they support the most popular languages and frameworks like Node.js, Ruby, Python, Java, PHP, Go, Scala, Clojure.
The general steps to deploy your application are:
- Register in the Heroku platform
- Install the Heroku CLI
- Login locally to Heroku
- Create your application and store it in a Git repository
- Configure your application for Heroku deployment.
- Register your application in Heroku
- Associate your git repository with your Heroku app
- Push your application to the Heroku application master repository
- Access your application from
Continue reading “Deploy your Applications in Heroku”
In this post we implement Push Notifications in iOS with Swift. Actually, this process is easier than before, with only a small set of steps:
- Activate Push notifications in your iOS project
- Request permissions for User notifications
- Register in Apple Push Notifications service
- Sending Test notifications
- Handling Notifications in your app
Continue reading “Implement Push Notifications in iOS with Swift”
The next step after creating your application, is to publish an iOS application in the AppStore. This is a “quick” guide to publish iOS applications, if we want to make them public to the world. The process could be long for the first time.
The main steps involved in this process are:
- Create an Apple ID
- Join the Apple’s Developer program
- Create and build your application in Xcode
- Create an archive of your signed application
- Register your application in App Store Connect
- Upload or export your application
- Submit your application for Review
- Your application will be verified and published in the App Store.
Continue reading “Publish an iOS application in the AppStore”
In this post I will show how to Install Cocoa Pods for Xcode projects. Cocoa Pods is a dependency manager for Swift and Objective-C Cocoa projects.
When you install XCode, you also get the
gem (RubyGems, the Ruby package manager). This command allows you to install Cocoa Pods for Xcode, without any extra configuration. Execute the following command
sudo gem install cocoapods
After fetching a list of dependency packages, you can use cocoa pods calling the command
pod. However, each command must be executed in the root folder of your Xcode project:
pod init: To create an empty initial
PodFile in your Xcode project folder.
pod install: To install packages defined in the
Continue reading “Install Cocoa Pods for XCode projects”
Otherwise, After starting with Git, GitHub, and open source projects, you will find a lot of projects using Node.js and Npm packages. Node.js is not only a tool to create web application backends. Also, is used as a development platform for large scale projects to manage dependencies and perform operations in the project lifecycle. His companion, Npm, is a package manager to make available a large ecosystem of modules and functionalities used in the development stage, in the project itself and in the development pipeline.
Continue reading “Using Node.js and Npm packages”
You need to install Java SDK on MacOS to allow a lot of applications and development tools to run in your machine. This post describes the most important installation steps to get a working Java development environment.
Continue reading “Install Java SDK on MacOS”
This is a very basic guide of Git for beginners. Git is a version-control system for tracking changes in files associated to projects of different types. It is primarily used for source-code management in software development, but it can be used to keep track of changes in any set of files.
Without a version control system, you probably used to frequently save copies your work-in-progress in zip files. But when you feel that your work is a mess and you need to get back to a previous version of some files, how to deal with mixed changes in files? It’s a real pain to do that. Git and other version control systems like SVN are a great solution.
Continue reading “Git for Beginners”