Tuesday, December 31, 2013

Using AngularJS/Backbone in PhoneGap

This article will not teach you how to use AngularJS or Backbone in PhoneGap, but still, I promise, it will be helpful for your PhoneGap development.
Actually, this article will let you know that you don’t need to use angularJS/backbone in your phonegap development.
Firstly, I completely agree AngularJS and Backbone are very cool JS frameworks. But I don’t think they are appropriate for phonegap. Why?

1. The route feature makes page navigation too complex.

The route feature is very important for web applications, but there is a much simpler way to achieve page navigation & parameters in phonegap, because phonegap APP’s don’t need to handle the URL. And it is the URL that makes the route much more complex.
Can you think about what is the simplest way to make a page navigation? Here is our code:
var login = new LoginPage();
login.username = “leo”;
app.gotoPage(login); 
With the above page navigation, you don’t need to configure the so-many routes. The complex routes make your code harder to understand, at least harder than the above code.
As we don’t need to consider URL in phonegap, we can save a lot of code in achieving page navigation, which probably saves performance. And the simpler code is easier to understand.

2. The coding style is so bad.

This is my personal opinion, and you will probably argue with this point. I’m glad to see your comments.
When working with AngularJS/Backbone, you will find there are so much code looking like: sample code
I really hate such a coding style. The above controller is defined(or described) by the code, but you never see where it’s called, and you cannot call this method either. The most fatal issue is There Is No Intelligence when you write the code, which made me crazy.
Below link shows what I think is an example of better coding style: http://cordova.codeplex.com/SourceControl/latest#demos/AnnualTargets/www/scripts/at/05.pages/Menu.js
I believe this code is much more readable than the angularJS one.
So, if we don’t use AngularJS or Backbone, what shall we use?

Here I recommend Nova PhoneGap Framework

Nova PhoneGap Framework was born in November 2012, from the first release till this moment, this framework has been tested/experienced by multiple projects, and it is stable now. We are also continue to update this framework to make it perfect. For small and medium projects, you can directly use the framework. For very large projects, you can easily customize the architecture to what you want to perfectly support your projects.
Core features:
  1. Help you organize your files in a reasonable structure;
  2. Complete solution for page navigation, page parameters, and page events (load, navigate, away, etc.);
  3. Complete solution for device events (android backbutton, menu button), easier to use;
  4. Complete solution for local database access (SQLite);
  5. Optimized scroll bar;
  6. Other plug-ins & best practices, such as mock, log, carousel, busy indicator.
In short, Nova PhoneGap Framework makes your code more readable, while reducing demands on the ability of the programmer, even junior programmers can quickly get started and complete the development with high quality.

Are you looking for PhoneGap programmers or PhoneGap developers?

Feel free to contact us . Free quote is available.
Looking forward to your comments.

105 comments:

  1. This is purely an advert by the creators of Nova.
    Angular is as complex as you want it and the examples given above are dire.

    ReplyDelete
  2. Thank you so much for a well written, easy to understand article on this. It can get really confusing when trying to explain it – but you did a great job. Thank you!
    Blueprism training in Chennai

    Blueprism training in Bangalore

    Blueprism training in Pune

    ReplyDelete
  3. This is my 1st visit to your web... But I'm so impressed with your content. Good Job!
    java training in chennai

    java training in marathahalli | java training in btm layout

    ReplyDelete
  4. It is nice blog Thank you porovide important information and i am searching for same information to save my time Angularjs4 Online Training Bangalore

    ReplyDelete
  5. It is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me...

    Article submission sites
    Education

    ReplyDelete
  6. I admire you for making this valuable and important information available here. This might turn out to be gainful for many seekers who are finding AngularJS Web Application Development Company.

    ReplyDelete
  7. This information really amazing thanks for share this article thank you..

    paheliyan

    ReplyDelete
  8. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.
    blue prism Training in Electronic City

    ReplyDelete
  9. Thank You..!
    For latest update contact our agency.We offer reliable AngularJS development services for our esteemed clients.
    AngularJs Development Company in Pune

    ReplyDelete
  10. I learned World's Trending Technology from certified experts for free of cost. I Got a job in decent Top MNC Company with handsome 14 LPA salary, I have learned the World's Trending Technology from Data science training in btm layout experts who know advanced concepts which can help to solve any type of Real-time issues in the field of Python. Really worth trying hkbk group of institutions

    ReplyDelete
  11. Angular is the trending technology in it development. azure also has equal importnance . learn on azure through azure online training hyderabad

    ReplyDelete
  12. Data Science is the future of Artificial Intelligence. Therefore, it is very important to understand what is Data Science and how can it add value to your business.
    Best Institute for Data Science in Mumbai which includes classroom and online training. Along with Classroom training, we also conduct online training using state-of-the-art technologies to ensure the wonderful experience of online interactive learning. Best Institute for Data Science

    ReplyDelete
  13. Thank you so much for a well written, easy to understand article on this. It can get really confusing when trying to explain it – but you did a great job. Thank you!
    Swachata par Nibandh

    ReplyDelete
  14. I admire by seeing your blog a lot..

    https://www.acte.in/angular-js-training-in-chennai
    https://www.acte.in/angular-js-training-in-annanagar
    https://www.acte.in/angular-js-training-in-omr
    https://www.acte.in/angular-js-training-in-porur
    https://www.acte.in/angular-js-training-in-tambaram
    https://www.acte.in/angular-js-training-in-velachery

    ReplyDelete
  15. It is really wonderful and awesome thus it is very much useful for me to understand many concepts and helped me a lot. it is really explainable very well and i got more information from your blog.
    python training in chennai

    python online training in chennai

    python training in bangalore

    python training in hyderabad

    python online training

    python flask training

    python flask online training

    python training in coimbatore


    ReplyDelete
  16. It indeed was a great read of a blog. Thanks for sharing the content. enjoyed reading it throughout and appreciate all your efforts in putting it together. Very informative!!
    Selenium Training in Chennai

    Selenium Training in Velachery

    Selenium Training in Tambaram

    Selenium Training in Porur

    Selenium Training in Omr

    Selenium Training in Annanagar

    ReplyDelete
  17. Ah,so beautiful and wonderful post!An opportunity to read a fantastic and imaginary blogs.It gives me lots of pleasure and interest.Thanks for sharing.Digital Marketing Training in Chennai

    Digital Marketing Course in Chennai


    ReplyDelete
  18. When it comes to providing best assignment service online,
    Unique Submission makes sure to complete assignment antecedently to offer scholars enough time to proof read the given assignment
    before submitting it to their tutors/professors. We never compromise to timely delivery and deadlines given by our customers.


    Assignment Help Services



    ReplyDelete
  19. There are plenty of options when it comes to digital gift-giving. From food delivery vouchers to subscription boxes, we hope you now have a few ideas you can use to wow your conference attendees and partners at your next virtual event. event management and thank you emails

    ReplyDelete
  20. You guys will be greatful to know that our institution is conducting online CS executive classes and a free CSEET classes only for you guys. If anyone is interested then feel free to contact us or visit our website for more details https://uniqueacademyforcommerce.com/

    ReplyDelete
  21. Login Your IC Market Account To Read The Latest News About The Platform.

    ReplyDelete
  22. Amazing opportunities came with amazing time and here is our institution offering you CS executive classes and a free of cost CSEET classes. So what are you waiting for contact us or visit our website
    cs executive
    freecseetvideolectures/

    ReplyDelete
  23. hi thanku so much this information thanku so much
    home1
    visit here

    ReplyDelete
  24. GQFX Review Offers A Safe And Secure Platform To Do Forex Trading And CFDs And Our Customer Support Is Ready To Help You 24/7. You Can Easily Sign Up Your GQFX Login Account Here.

    ReplyDelete
  25. Download Aximtrade Reviews Mt4: A Complete Solution For Your Forex Trading.

    ReplyDelete
  26. Backlink Services are a quick and easy way to increase the visibility of your website on the internet. There are many types of backlinks that you can purchase, including forum posts, blog posts, articles, press releases, social media posts, and more. We have the experience and expertise to create the perfect backlink for your needs.

    ReplyDelete
  27. In Today's World, You Can't Have A Successful Business Without A Strong Online Presence. Your Website Needs To Be Easy To Find On Search Engines, So People Can Find You When They're Looking For A Service Or Product You Offer. If You're Not Ranking Well On Search Engines, It's Time To Call In The Professionals. Forex Seo Reseller Will Help You Rank Higher On Search Engines, Increasing Your Online Visibility And Potential Customer Base. This Analysis Will Identify What Your Website Needs To Rank Higher On Search Engines. From There, Forex Seo Reseller Will Create An Effective Seo Strategy That Will Be Tailored To Your Needs

    ReplyDelete
  28. Forex Seo Reseller You Can Use Link Building Services To Increase The Visibility Of Your Website. The Service Is An Affordable And Long-term Solution To Help Your Site Rank Higher In Search Engine Results. Link Building Services Use A Variety Of Strategies To Help Your Site Rank Higher. One Such Strategy Is To Create Backlinks To Your Site. The Link Building Service Will Create And Place Links On Websites That Are Relevant To Your Business And Industry. This Helps Your Site Rank Higher In Search Engine Results And Increases The Likelihood Of Potential Customers Finding Your Site.

    ReplyDelete
  29. Not sure which online broker is best? Trading Directory company are here to help. Our goal is to provide you with unbiased and detailed information that will help you make the right decision. Whether it's your first time or you're an experienced trader, finding the right Online Service Provider (OSP) for your trading needs is an important decision.

    ReplyDelete
  30. Online Stock Broker is an informational guide to help you find the right online trader in order to maximize your trading experience. Our search results are sorted by price, regulation and client score. We ensure that all services displayed on Online Stock Broker are highly rated and fully regulated.

    ReplyDelete
  31. Broker Forex Net Is Focused On Giving You The Right Details About Online Trading. The Website Was Created By Top-tier Traders With Years Of Experience In The Financial Markets. We're Committed To Providing Objective, Practical Information About Broker Services And Trading Strategies So You Can Make Better Decisions About Your Investments.

    ReplyDelete
  32. Get the latest Phoenix Craigs List real-time quote, historical performance, charts, and other financial information to help you make more informed investment decisions. You'll get an overview of a stock's key fundamentals including revenue and earnings as well as valuation measures such as price/earnings ratio. Beyond fundamentals, you'll find technical analysis from experts, news, historical trends, and predictors - all available in Our Servlogin Webpage.

    ReplyDelete
  33. No One Knows How Many Links Are Required To Rank On The First Page Of Google, But It's Safe To Say That There Are A Lot. We Will Do All The Work For You, Including The Tedious Forex Broker Keyword Analysis Process, For A Reasonable Price. We'll Make Sure That You Have A Complete List Of Links, Both Old And New, To Keep Your Site's Rankings High.

    ReplyDelete
  34. Market Forex Net Is The Best And Most Reliable Forex Company In The Industry.. We Started Our Journey To Educate Traders And Help Them With Their Trading Techniques. We Review The Top Brokers And Share Our Insights With You To Make Informed Decisions Before Investing. We Also Offer Investment Tips, Guides And Much More To Improve Your Success Rate In Trading.

    ReplyDelete
  35. Ess Harristeeter Teeter Loginis a secure resource where you can create a login and password. This will give you secure access to menus, coupons and more online.

    ReplyDelete
  36. You'll understand the market a whole lot better with the data and graphic tools provided by our stock quote system. You'll understand how certain economic events can affect your investments, and be able to answer questions from stock market friends concerning when to buy or sell Acam Stock . You will have access to live charts, and you can receive instant notifications as stocks change in cost.

    ReplyDelete
  37. Check The Acam Stock Overview To Monitor A Stock And View Live Price Changes As They Occur, Including Volume And Share Changes. With Our Live, Real Time Stock Market Overview App, You No Longer Need To Refresh Your Browser Or Watch Multiple Computer Screens To View Real Time Stock Prices.

    ReplyDelete
  38. Check The Mmjff Overview To Monitor A Stock And View Live Price Changes As They Occur, Including Volume And Share Changes. With Our Live, Real Time Stock Market Overview App, You No Longer Need To Refresh Your Browser Or Watch Multiple Computer Screens To View Real Time Stock Prices.

    ReplyDelete
  39. If you're looking to buy Where To Buy Ubx Coin , you have come to the right place. We have a comprehensive review of where to buy ubx coin that will help you get involved in the currency today!

    ReplyDelete
  40. Forex Trading Companies 1k is a comprehensive guide to deciding on the best Forex Brokers, Trading Costs and Fees. Find out which brokers offer the best value for money?

    ReplyDelete
  41. The most comprehensive guide to Forex Brokers and White Label Forex Broker Cost , showing you what you can save or earn by choosing the best broker for your needs – from Highest to Lowest Charges. Useful for both beginner and seasoned trader.

    ReplyDelete
  42. The most comprehensive guide to Forex Brokers and How To Start A Forex Broker , showing you what you can save or earn by choosing the best broker for your needs – from Highest to Lowest Charges. Useful for both beginner and seasoned trader.

    ReplyDelete
  43. The Bfarf stock Overview offers real time stock price updates. All you need to do is open the application and you can view Streaming stock prices of your favorite stocks.

    ReplyDelete
  44. The most comprehensive guide to Forex Brokers and How To Start Forex Broker , showing you what you can save or earn by choosing the best broker for your needs – from Highest to Lowest Charges. Useful for both beginner and seasoned trader.

    ReplyDelete
  45. Are you looking to make money by trading currencies on the forex market? Do you want to find the best forex brokers with the lowest costs and fees? Our free guide provides all the information you need to start trading, selecting a reputable and safe broker, and understanding your How To Start Forex Broker .

    ReplyDelete
  46. Are you looking to make money by trading currencies on the forex market? Do you want to find the best forex brokers with the lowest costs and fees? Our free guide provides all the information you need to start trading, selecting a reputable and safe broker, and understanding your How To Start Forex Brokerage .

    ReplyDelete
  47. Get the latest Mmatf Stock quotes, news and trends at your fingertips across all of your devices, available 247. Our stock quote system helps financial professionals keep up on the latest data and locate charts to help in their own business.

    ReplyDelete
  48. The most comprehensive guide to Forex Brokers and Start Forex Brokerage , showing you what you can save or earn by choosing the best broker for your needs – from Highest to Lowest Charges. Useful for both beginner and seasoned trader.

    ReplyDelete
  49. Are you looking to make money by trading currencies on the forex market? Do you want to find the best forex brokers with the lowest costs and fees? Our free guide provides all the information you need to start trading, selecting a reputable and safe broker, and understanding your Start Forex Brokerage .

    ReplyDelete
  50. Stay on top of the market with our Live, Real-Time Stock Market overview. Get real time Ati testing login quotes and interactive charts.

    ReplyDelete
  51. The most comprehensive guide to Forex Brokers and How To Create Your Own Broker , showing you what you can save or earn by choosing the best broker for your needs – from Highest to Lowest Charges. Useful for both beginner and seasoned trader.

    ReplyDelete
  52. The most comprehensive guide to Forex Brokers and White Label Forex Broker Meaning , showing you what you can save or earn by choosing the best broker for your needs – from Highest to Lowest Charges. Useful for both beginner and seasoned trader.

    ReplyDelete
  53. Free Forex White Label Partnership will enable you to get all the benefits of the MetaTrader 4 automated trading platform and MetaQuotes language with even more exciting functionalities for your own brand

    ReplyDelete
  54. Cheapest White Label Forex Broker is a booming online business that allows you to leverage the skills and knowledge of expert traders to improve your own trading results.

    ReplyDelete
  55. Cheapest White Label Forex Broker is an effective and affordable way to learn from existing expert traders, so you can use their techniques to start trading profitably for yourself.

    ReplyDelete
  56. The Cheapest White Label Forex Broker is a sum of money which forex companies offer their partners for the use of their brand to sell the company's instruments on the partner's platform.

    ReplyDelete
  57. At Tradingzy We can help you learn what is forex seo and how to use it. We are a Digital Marketing agency focusing on Forex Seo. We have been on top of Google search for the phrases you can see on the right and we will be happy to tell you how we did it.

    ReplyDelete
  58. At Tradingzy, we can help you learn What Is Liquidity In Cryptocurrency and how to use it. We're a digital marketing agency focusing on SEO for the Forex Brokerage company. We're familiar with Google's updates and how to work with them effectively.

    ReplyDelete
  59. If you’ve been looking for information on What is Forex SEO , then tradingzy is the best place for you. We’re a digital marketing agency specializing in forex seo strategy.

    ReplyDelete
  60. "Forex Seo Services will help you increase your business by reaching the maximum number of potential customers through social media, Search Engines and direct advertisement.

    ReplyDelete
  61. This was really one of my favorite website. Please keep on posting. data science training in kanpur

    ReplyDelete
  62. Very nice job... Thanks for sharing this amazing and educative blog post! data science course in mysore

    ReplyDelete
  63. Are you looking for the best Azure training in Chennai? Here is the best suggestion for you, Infycle Technologies the best Software training institute in Chennai to study Azure platform with the top demanding courses such as Graphic Design and Animation, Cyber Security, Blockchain, Data Science, Oracle, AWS DevOps, Python, Big data, Python, Selenium Testing, Medical Coding, etc., with best offers. To know more about the offers, approach us on +91-7504633633, +91-750263363

    ReplyDelete
  64. Best MT5 Forex Broker Philippines Best Forex Brokers For Your Forex Trading And Fx.The Profanity Review And Forex Today Reviews The Forex Brokers And Provides The Best Fx Ratings And Reviews.

    ReplyDelete
  65. Fudxcoin is the Us based company.This company deals in sale and purchase of Crypto Currency. By its currency one can purchase different types of goods and pay for food ordered from different restaurants in lieu of cash. So It is offers as one stop delivery service under it. It is basically a hospitality industry. This company issues token ie crypto coins and the customer can then purchase any product or goods in lieu of crypto coin.
    •Accumulated tokens that the company issues can be exchanged for various goods and services from online company and e stores.
    •Customers can buy and sell the cryto currency from various platforms like CEX and DEX.

    contact@fudxcoin.com
    ++1 209-921-6581

    ReplyDelete
  66. TD Ameritrade Review Is A Great Trading Platform, But Is It The Best? Read This Review To See If It Is The Right Option For You.

    ReplyDelete
  67. IG Review Is An Online Investment Platform That Makes It Easy To Trade In Cryptocurrency, Forex And Cfds. Our Platform Is Secure, Reliable, And It Ensures High Quality Of Service. Read More Here.

    ReplyDelete
  68. In search of the Best MT4 Forex Brokers In UAE ? The list we provide here is not exhaustive. We have chosen 5 of the best Forex brokers available in UAE so you can compare them side by side.

    ReplyDelete
  69. In search of the Best MT5 Forex Brokers In Netherland ? The list we provide here is not exhaustive. We have chosen 5 of the best Forex brokers available in Netherland so you can compare them side by side.

    ReplyDelete
  70. Would You Like To Access Your Top Forex Brokers In Malaysia Account And Manage Your Trades? This Is The Place For You. Here You Can Easily Manage Your Investments, Deposit Or Withdraw Funds. Read More Here.

    ReplyDelete
  71. We have developed a ranking of the Forex Brokers in Malaysia. Among all the brokers that provide services in Malaysia we recommend Forex Brokers as the best broker in Malaysia.

    ReplyDelete
  72. Very nice job... Thanks for sharing this amazing and educative blog post! data science training in kanpur

    ReplyDelete
  73. Top Notch article, it is particularly valuable! I unobtrusively began in this, and I'm transforming into more familiar close by inside the focal point of it better! Delights, articulation war more and hauling continuing extraordinary! SD Card Recovery Software Full Version Free Download With Key

    ReplyDelete
  74. On this special day, I would like to wish you the best of luck and a bright future ahead! You have been my source of inspiration and motivation for everything.Birthday Wishes For Long Distance Girlfriend

    ReplyDelete