Lanka Developers Community

    Lanka Developers

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Shop
    1. Home
    2. fern
    F
    • Profile
    • Following 2
    • Followers 4
    • Topics 9
    • Posts 75
    • Best 31
    • Controversial 0
    • Groups 1

    fern

    @fern

    Node.js

    47
    Reputation
    420
    Profile views
    75
    Posts
    4
    Followers
    2
    Following
    Joined Last Online

    fern Unfollow Follow
    Node.js

    Best posts made by fern

    • How to become a Full stack Developer

      First,

      You need to know that this walk is hard and it will require self-discipline😣.

      There's 6 steps to follow,

      1. Learn HTML and CSS
        ​ Well take a step into HTML and CSS.

        ​ This is the first thing you should learn.

      2. Learn the basics of JavaScript
        Just stick to basics of JavaScript for now.

        ​ One more thing every good programmer will tell you to learn is JSON – JavaScript Object Notation.

      3. Learn Basic Web Deployment.

        ​ This is very important because it has a lot to do with API, this is also great when building Bots,

        ​ and it’s really easy. One last one is jQuery, but you have to master all the loops and data types first.

      4. Learn web frameworks
        ​ You can start learning any front-end HTML and CSS frameworks like bootstrap or foundation

        ​ or any other one out there.

        ​ You should also start learning server side languages such as PHP, Python or Ruby on rails.

        ​ You can start on the road of JavaScript frameworks like React, Angular or any other.

        ​ You also have to option of learning databases like MySQL, POSTGRESQL or any equivalent.

      5. Learn Database Management System and Version Control

      6. Learn how to Deploy Apps.

        ​ Next you want to look into services like Heroku, AWS (Amazon Web Services), Digital Ocean (more of Linux)

        ​ and the others when you want to host your app.

      For a complete guide visit :

      https://coolpythoncodes.com/full-stack-developer-guide/

      posted in Back-End Development
      F
      fern
    • How to become a MEAN stack developer

      MEAN is a complete range of software for web development, consisting of MongoDB, Express.js, Angular.js, and Node.js (all the letters of the abbreviation are taken from the names of the technologies). The best advantage of this is using same programming language for front-end and back-end development. In this case we use Javascript.

      Key Technologies

      As we have stated, a MEAN stack includes a list of technologies a developer should be familiar with.

      • MongoDB
        is a database management system adapted for Javascript. It is quite popular in terms of NoSQL solutions.

      • Express.js
        is an extensible framework for describing web servers.

      • Angular.js
        is a framework that provides the foundation for web development. It was created to develop single-page applications and continues to be popular and necessary for developers.

      • Node.js.
        This is a server platform for working with JavaScript via the V8 engine. JavaScript executes the action on the client side and the Node on the server. This tool is indispensable for creating full-fledged applications. Node.js can work with external libraries, invoke commands from JavaScript code, and act as a web server.

      MEAN stack developer should have,

      • understanding of the front-end and back-end processes
      • ability to work with HTML / CSS
      • ability to work with databases
      • understanding of programming templates and architecture design guidelines
      • profiling and optimizing applications

      Reference - https://medium.com/@mobilunity/skill-set-of-good-mean-stack-developer-298f2aed7b28

      posted in Back-End Development
      F
      fern
    • Cryptocurrency for Lanka Developers

      0_1546758152969_cryptocurrencies-top-performers.jpeg

      Lately cryptocurrencies have become a worldwide phenomenon that almost everyone has heard about. As their prices keep rising up, more and more people are willing to invest in cryptocurrencies. While being so famous and knowing about their existance, most people don't know much about them.

      I'll explain some of the basics of cryptocurrencies and share with you some useful resources and libraries that can be really helpful.


      Cryptocurrency

      • Cryptocurrency is a digital or virtual currency that is designed to be secure and, in many cases, anonymous. The transactions are transferred between peers and are recorded on a public ledger called blockchain. It uses cryptography, the process of converting legible information into an almost uncrackable code, to provide security to purchases and transfers. One of the reasons some cryptocurrencies hold high value is because of their limited supply. Once a they reach a certain number of coins, they are done.

      Blockchain

      • Blockchain is a decentralized ledger, which consists of a continuously growing list of records, called blocks. These blocks are linked and secured using cryptography, and are recorded and added to the blockchain in a chronological order, which makes it easy to keep track of all the transactions. Blockchains are inherently resistant to modification of the data.

      Wallet

      • A cryptocurrency wallet is a software program that is used to store the private and public keys needed to send and receive digital currencies.

      Mining

      • Mining is a process that includes 2 functions: adding transaction records to the Bitcoin's blockchain and creating new bitcoins in each block. Mining requires a computer and a special program, that helps miners in solving complex cryptographic problems, in order to add a new block to the ledger. Whoever solves it first, gets a rewards- a few coins.

      Initial Coin Offering(ICO)

      • This is a process of fundraising for a new cryptocurrency. The creators of the new cryptocurrency offer the investors a certain amount tokens of the new currency in exchange for other cryptocurrencies like Bitcoin or Ethereum.

      0_1546758544334_BiteMyCoin-Cryptocurrency-1024x536.png

      Popular Cryptocurrencies

      1. Bitcoin

        • Bitcoin is the most famous cryptocurrency at the moment. It is completely virtual, created by computer algorithms, and can be used to purchase services and goods. One of it's greatest advantages is that it is decentralized, which means that it isn't controlled by any institution, e.g government or banks. What is more, Bitcoins are completely transparent, information about every single transaction is stored in the blockchain, the transactions are really fast and there are almost no transfer fees. Bitcoin has a supply cap of 21 million coins.
      2. Bitcoin Cash

        • Bitcoin Cash is an upgraded version of the Bitcoin cryptocurrency, that is created in August 2017. Since it's release, Bitcoin has been critisized about it's scalability. The Bitcoin's block size is set at 1 MB, which would slow down transaction prossesing time and limit it's potential. Bitcoin Cash's main goal is to increase the number of transactions that can be processed by increasing the block size from 1MB to 8MB and also decreasing the transaction cost.
      3. Ethereum

        • Ethereum is a blockchain-based platform that features a cryptocurrency called ether. Launched in 2015, it has quickly become one of the most used cryptocurrencies right now. It uses a blockchain, but exceeds bitcoin's technology, as it allows to store and execute future smart contracts (computer code that can facilitate the exchange of money, content, property, shares, or anything of value). Smart contract runs like a self-operating computer program that automatically executes when certain conditions are met.
      4. Litecoin

        • An alternative to Bitcoin released in 2011. It is based on bitcoin's source code and also works with blockchain. Although Litecoin is similar to Bitcoin in many ways, it has faster network and block generation rate and offers a faster transaction confirmation. Also Litecoin has lower transaction feed, sometimes close to zero, and has higher supply limit of 84 million coins.

      0_1546758754905_bitcoin.jpg

      Libraries and Tools

      1. CCXT(CryptoCurrency eXchange Trading)

        • CCTX is a JavaScript/PHP/Python library for cryptocurrency trading and e-commerce. It's main purpose is to connect and trade with cryptocurrency exchanges and payment processing. It can be used for bitcoin/ether/altcoin exchange markets, has fully implemented public and private APIs for all exchanges and quick access to market data for storage, analysis and visualization.
      2. Bitcore

        • Bitcore is a free open-source Javascript Bitcoin library. It offers a powerful blockchain API and a modular, service-based architecture that you can use to implement bitcoin apps and services. It has a really detailed documentation where you can find everything you need.
      3. BitcoinJS

        • A pure JavaScript Bitcoin library that is widely used for Bitcoin web wallets. It has short, optimized and easy to read code, standardized node community coding style and strong random number generation . It offers support for advanced features like HD Wallets, is compatible with all modern browsers and is altcoin-ready.
      4. Truffle

        • Truffle is a popular development framework for Ethereum. It has a build-in smart contract compilation, linking, deployment and binary management. It allows you to automatically test your contracts, network management for deploying to public and private networks. It also gives you access to hundreds of packages and smart contract dependencies from NPM and EthPM.
      5. Zenbot

        • Zenbot is a command-line cryptocurrency trading bot. It offers a fully-automated technical-analysis-based trading approach, full support for GDAX, Kraken, Poloniex and other asset exchange companies. It also has a simulator for Backtesting strategies against historical data and configurable sell, buy and profit stops.
      6. CoinMarketCap

        • CoinMarketCap is the most used site where you can find information about more than 1000 cryptocurrencies, check their current prices and follow their change over the last 24 hours or 7 days. It also has an API that you can use in your cryptocurrency applications.
      7. Gekko

        • Gekko is an open source bitcoin trading bot for automating trading strategies over bitcoin markets. It supports 23 different exchanges like Bitfinex, Bitstamp, Poloniex and more. Gekko allows you to create your own trading strategies and takes care of aggregating live market data, calculating indicators, calculating proft and risk metrics and more.
      posted in Blockchain Development
      F
      fern
    • Laravel 5.7 Artisan Commands

      1. General Commands

      #Remove the compiled class file
      clear-compiled
      
      #Put the application into maintenance mode
      down
      
      #Display the current framework environment
      env
      
      #Displays help for a command	
      help
      
      #Display an inspiring quote
      inspire
      
      #Lists commands
      list
      
      #Run the database migrations
      migrate
      
      #Swap the front-end scaffolding for the application
      preset
      
      //Serve the application on the PHP development server
      serve
      
      #Interact with your application
      tinker
      
      #Bring the application out of maintenance mode
      up
      
      #Set the application namespace
      app:name
      
      #Flush expired password reset tokens
      auth-clear-resets
      

      2. Cache Commands

      #Flush the application cache
      cache:clear
      
      #Remove an item from the cache
      cache:forget
      
      #Create a migration for the cache database table
      cache:table
      

      3. Config Commands

      #Create a cache file for faster configuration loading
      config:cache
      
      #Remove the configuration cache file
      config:clear
      

      4. DB Commands

      #Seed the database with records
      db:seed
      

      5. Event Commands

      #Generate the missing events and listeners based on registration
      event:generate
      

      6. Key Commands

      #Set the application key
      key:generate
      

      7. Make Commands

      #Scaffold basic login and registration views and routes
      make:auth
      
      #Create a new channel class
      make:channel
      
      #Create a new Artisan command
      make:command
      
      #Create a new controller class
      make:controller
      
      #Create a new event class
      make:event
      
      #Create a new custom exception class
      make:exception
      
      #Create a new model factory
      make:factory
      
      #Create a new job class
      make:job
      
      #Create a new event listener class
      make:listener
      
      #Create a new email class
      make:email
      
      #Create a new middleware class
      make:middleware
      
      #Create a new migration file
      make:migration
      
      #Create a new Eloquent model class
      make:model
      
      #Create a new notification class
      make:notification
      
      #Create a new observer class
      make:observer
      
      #Create a new policy class
      make:policy
      
      #Create a new service provider class
      make:provider
      
      #Create a new form request class
      make:request
      
      #Create a new resource
      make:resource
      
      #Create a new validation rule
      make:rule
      
      #Create a new seeder class
      make:seeder
      
      #Create a new test class
      make:test
      
      

      8. Migrate Commands

      #Drop all tables and re-run all migrations
      migrate:fresh
      
      #Create the migration repository
      migrate:install
      
      #Reset and re-run all migrations
      migrate:refresh
      
      #Rollback all database migrations
      migrate:reset
      
      #Rollback the last database migration
      migrate:rollback
      
      #Show the status of each migration
      migrate:status
      

      9. Notification Commands

      #Create a migration for the notifications table
      notifications:table
      

      9. Package Commands

      #Rebuild the cached package manifest
      package:discover
      

      10. Queue Commands

      #List all of the failed queue jobs
      queue:failed
      
      #Create a migration for the failed queue jobs database table
      queue:failed-table
      
      #Flush all of the failed queue jobs
      queue:flush 
      
      #Delete a failed queue job
      queue:forget
      
      #Listen to a given queue
      queue:listen
      
      #Restart queue worker daemons after their current job
      queue:restart 
      
      #Retry a failed queue job
      queue:retry
      
      #Create a migration for the queue jobs database table
      queue:table
      
      #Start processing jobs on the queue as a daemon
      queue:work
      

      11. Route Commands

      #Create a route cache file for faster route registration
      route:cache 
      
      #Remove the route cache file
      route:clear
      
      #List all registered routes
      route:list
      

      12. Schedule Commands

      #Run the scheduled commands
      schedule:run
      

      13. Session Commands

      #Create a migration for the session database table
      session:table
      

      14. Storage Commands

      #Create a symbolic link from "public/storage" to "storage/app/public"
      storage:link
      

      15. Vendor Commands

      #Publish any publishable assets from vendor packages
      vendor:publish
      

      16. View Commands

      #Compile all of the application's Blade templates
      view:cache
      
      #Clear all compiled view files
      view:clear
      
      posted in Back-End Development
      F
      fern
    • RE: How to buy domain and published a website

      You can buy a domain from https://namecheap.com, it provides lowest prices, if you want to buy a .lk domain you have to use https://nic.lk, after you buying domain you need hosting space to publish your website, when talking about hosting, there's two hosting types,

      1. Cloud Hosting
        Cloud hosting services provide hosting on virtual servers which pull their computing resource from extensive underlying networks of physical web servers.

      2. Shared Hosting
        Shared hosting allows multiple websites to utilize a single server. Usually, you’ll have no idea who or what websites you’re sharing the resources of a server with. Each customer will usually have a limit on the total amount of server resources they can use, but this will be defined by your hosting package.

        Shared hosting is easily the cheapest and most economical option for your needs. However, the cheap price comes with limitations, which we’ll get to below. Since most hosting companies will offer the same amount of space and storage it’s important to choose a company you can trust.
        

      Recommended Hosting Service Providers

      Linux based Hosting

      1. Hostgator - https://www.hostgator.com/
      2. 1&1 - https://www.ionos.com
      3. Namecheape - https://namecheap.com
      4. Siteground - https://www.siteground.com/

      Below are cloud vps,

      1. https://digitalocean.com
      2. https://www.linode.com

      Note - You need some network administration knowledge to handle cloud vps.

      Windows Based Hosting

      1. 1&1 - https://www.ionos.com
      2. Siteground - https://www.siteground.com/
      posted in General Discussion
      F
      fern
    • How to emit custom event in Framework7?

      Hello, I want to emit a custom event on user login, how can I achieve this in framework7?

      posted in Hybrid App Development
      F
      fern
    • RE: CSS Grid

      matanm Bootstrap Grid system eka thama lesima, custom css gahanna ona wenne nahane ethakota... custom css gahagena amaruwen karana wade bootstrap walin lesiyenma kara ganna pluwnne...

      posted in Front-End Development
      F
      fern
    • RE: How to emit custom event in Framework7?

      @dev_lak thanks, it worked well :honey_pot:

      posted in Hybrid App Development
      F
      fern
    • RE: [Guide] Online Passive Income By Blogging

      Superb bro.. thanks 😍

      posted in Blogs
      F
      fern
    • Need performance tips

      I have web application running on dedicated windows server 2012 r2, application written in asp.net c#, server has very good performance, but application performance is very poor, it was a very crappy code :cry: , at this moment I can't replace this system or refactor the code.

      When application runs long running process, server gets down :cry:

      So I need to improve performance of web app without touching the code.
      Is it possible to improve performance with IIS configuration or some other way.

      posted in Windows
      F
      fern

    Latest posts made by fern

    • RE: html, css, js

      ehm wishesha namaknm nha

      posted in Web Development
      F
      fern
    • RE: html, css, js

      inn Bro mn oyt template ekak hoyla dennam

      posted in Web Development
      F
      fern
    • RE: html, css, js

      ah e kyanne are side eke tyena menu eka udt gyama anith side eke content penwana ekad?

      posted in Web Development
      F
      fern
    • RE: html, css, js

      e wage design elk hdnnda one natnm e site eka wage site ekak hdnnda one oyata?

      posted in Web Development
      F
      fern
    • RE: How to work with - Android API Work Manager

      thanks @Malith

      posted in Events ( Free & Paid )
      F
      fern
    • RE: html, css, js

      mokakda prashne,,, ona deyak me forum eke post krnna, help krnna goda aya innwa

      posted in Web Development
      F
      fern
    • RE: anybody who has done aliexpress affliate marketing ?

      it's not useless, u need to have more sales to get a profitable revenue, no one will give you money for nothing,

      posted in General Discussion
      F
      fern
    • RE: How to emit custom event in Framework7?

      @dev_lak thanks, it worked well :honey_pot:

      posted in Hybrid App Development
      F
      fern
    • How to emit custom event in Framework7?

      Hello, I want to emit a custom event on user login, how can I achieve this in framework7?

      posted in Hybrid App Development
      F
      fern
    • RE: What is the powerful Back-End Language

      Node js is very easy to use, are .net core is simple too

      posted in Back-End Development
      F
      fern