web development company singapore,web design services singapore,mobile developer singapore,mobile app development singapore,mobile app developer singapore,website designer singapore,app developer singapore,web development singapore,website developer singapore,singapore mobile app developer,singapore web design services,ruby on rails developer singapore,ios developer singapore,mobile application development singapore,web application singapore,web design singapore,ios app development singapore,graphic designer in singapore,singapore web design,singapore web development,website development singapore,app development singapore,web designer singapore,design firms in singapore,android developer singapore,singapore mobile application developer,singapore website design,design agency singapore,mobile game developer singapore,singapore app developer,developer in singapore,mobile apps singapore,developers in singapore,website design singapore,web design company singapore,mobile application developer singapore,mobile apps development singapore

Link Building Strategies

You may have mixed feelings when it comes to building backlinks for your website. If you look around the internet you will get many different opinions of what is right and what is wrong when it comes to this. All the different opinions can make you feel really confused and you’ll never get your link building campaign started. The best advice I can offer you is that there is no one size fits all technique when it comes to building backlinks to your site. Everyone will have something different they feel works for them. If you take the time and energy to learn how to use link building techniques correctly then you will have no problem realizing the benefits. Here are a few link building techniques to help you get started: Contacting webmasters for links; This is a method that has been ripped to shreds by many people who claim that it doesn’t’ work anymore or that it is a waste of your time. It is never a waste of your time to have a good link pointing back to your site. Contacting webmasters for reciprocal links can still be an excellent way to build credibility within your niche. What people fail to realize is even if the search engines don’t pay that much attention to this technique anymore that the direct traffic you can get from the other persons site is astronomical. You never know just how much direct traffic someone gets, imagine being on their page to take advantage of some of that traffic. Manual link building: There are plenty of sites that will let you leave...

update_attribute vs. update_attributes

Object.update_attribute(:only_one_field, “Some Value”) Object.update_attributes(:field1 => “value”, :field2 => “value2”, :field3 => “value3”) Both of these will update an object without having to explicitly tell AR to update. Rails API says: for update_attribute Updates a single attribute and saves the record without going through the normal validation procedure. This is especially useful for boolean flags on existing records. The regular update_attribute method in Base is replaced with this when the validations module is mixed in, which it is by default. for update_attributes Updates all the attributes from the passed-in Hash and saves the record. If the object is invalid, the saving will fail and false will be returned. So if you don’t want to have the object validated you should use update_attribute. But wait.. there are some more things to note: update_attribute not only bypass the validation but also bypass the before_* callbacks Let check the source code: # File vendor/rails/activerecord/lib/active_record/base.rb, line 2614 2614:       def update_attribute(name, value) 2615:         send(name.to_s + ‘=’, value) 2616:         save(false) 2617:       end # File vendor/rails/activerecord/lib/active_record/base.rb, line 2621 2621:       def update_attributes(attributes) 2622:         self.attributes = attributes 2623:         save 2624:    end the difference between two is update_attribute use save(false) where as update_attributes uses save or you can say save(true) It’s rather long description but it is important to see that save(perform_validation = true)). If perform_validation is false it bypasses all the before_* callbacks associated with save. It doesn’t actually save the record. You can also save a record without triggering validations by using Model.save...

Ruby underscore and classify methods

These are two Rails helpers that could be very useful when injecting new instance methods in a class. underscore Converts from a class name to a underscore attribute. ‘MyClassName’.underscore => my_class_name classify Inverse method from underscore. >> “cool_articles”.classify => “CoolArticles” >> “comment”.classify => “Comment” Both, combined with singularize and pluralize, allows us to handle parent/child methods in a very handy way. For example: elements_in_ = self.send(parent).send(self.class.to_s.pluralize.underscore) or things like Kernel.const_get(table_model.to_s.classify).find(:all) #Kernel.const_get gets an string and retrieves the class. source:...

Link Building for SEO

Most people know that incoming links are an important part of improving your websites ranking, but should you focus your link building SEO efforts on obtaining a large quantity of easily obtainable links from wherever you can get them, or focus on obtaining high quality links that are typically harder to get? Most link building experts would agree that both quantity and quality are important, and in most cases (although there are exceptions), any link to your website helps. However, because of the way Google and other search engines value links, focusing your link building SEO efforts on quality is more often than not the better choice. So what makes a link a “quality link” and why is quality more important than quantity? To best understand why quality is more important than quantity we need to see link building SEO from the perspective of Google. Google places a value on every website and every webpage that it indexes. The most famous measure of a website and webpage’s value is Google’s PageRank. Google assigns each webpage a ranking from 0 to 10 as a measure of its authority. Webpages with a ranking of zero are typically very new and insignificant. Webpages with a ranking of ten carry an unprecedented amount of authority. An example of a webpage or website with a rank or zero might be a new blog or a new small website for a pet store. An example of a PageRank of ten would be the Google.com or USA.gov. Google considers links that come from websites with a higher PageRank to be more important than links that come...

Testing for javascript alerts with Cucumber & Capybara

Using Cumcumber + Capybara to run automated testing is a TRENDY now. But you might have trouble finding a way to assert a javascript alert, for e.g. a link created by the link_to … :confirm => “Are you sure?” and similar. Don’t worry, here is a work around to confirm Javascript alert and dialog in your Capybara tests, simply override alert and confirm methods: Given /^I will confirm on next step$/ do begin evaluate_script(“window.alert = function(msg) { return true; }”) evaluate_script(“window.confirm = function(msg) { return true; }”) rescue Capybara::NotSupportedByDriverError end end Rescue here is added in case, you run want to run your tests without javascript (e.g. default capybara driver). If you run feature without javascript simply nothing will happen. Moreover, using this technique you can simulate moving mouse over some elements. It is useful, when you have links that appears when certain div is under the mouse cursor. Then /^I move mouse over “([^”]*)”$/ do |label| begin Capybara.current_session.driver.browser.execute_script(“$(‘#{label}’).mouseover();”) rescue Capybara::NotSupportedByDriverError end end That’s it. Happy testing...

Five Steps to Building an Interdependent Team

1. Know what kind of game you are playing and if you’re all playing the SAME game. Get your team on the same page. If the game you were playing was basketball, it wouldn’t work and you wouldn’t win if 3 of your teammates thought the game was tennis, football, and volleyball. Find out where everyone is at and bring everyone up to speed. 2. Move from activity-based thinking to outcome-based thinking. It’s not “do more” equals “achieve more”. The equation is “do less” equals “achieve more” by taking actions that directly correspond with the outcome you are out to produce. My team and I call this the DPO (Daily Primary Outcome) for each position, team member, and the practice as a whole. 3. Shift from “surviving” to “thriving.” In order for your practice, team, and you to thrive, you have to do what I call, Raise Your HDL™. In life you don’t get what you deserve. You get what you THINK you deserve. Nothing more. Nothing less. Consider that we all have an imaginary container that we have built in our minds that limits the capacity of all the things we can have in practice and in life. Imagine how removing that limit on what’s possible for you, your team, and your practice could impact the BIG game you are all playing. 4. Communicate only with facts and outcomes. I like to call this Managing By Agreement, or MBA. What has worked for my clients and for my own team is to only deal in facts and outcomes. This doesn’t mean that all deadlines will be met. What...

Google I/O 2010 Day 1 Keywords

* HTML5 (More powerful Web Apps) * Mobile (Browsers are everywhere) * WebMProject.org (Open Source Media Technology)  VP8 (Video) + Vorbis (Audio) * JavaScript (In every browsers) * Chrome Web App Store (something similar to Apple iTune App Store) * Interactive Magazine * Google Wave Platform / API * Cloud * Google App Engine for Business  SLA, SSL, SQL...

The Rules of Agile Estimation

The Rules of Agile Estimation: http://railsrx.com/2010/05/13/may-13-2010-the-rules-of-agile-estimation/ 1. Estimates are always wrong 2. If you think spending more time on estimates is a good idea, see rule 1. 3. On average, an experienced developer is not going to improve on his or her gut reaction by thinking it over. 4. Team estimates are important, one person may see something that everybody else missed. Just keep it quick. 5. People are much better at estimating size relative to each other than absolute time a task takes. 6. Separate the problem into smaller chunks, the more estimates you make the better the chance that the law of averages will help you. 7. Decomposition into roughly equal sized tasks is pretty much the whole ballgame. Alex...

HBase vs Cassandra

In my opinion, these differing histories have resulted in HBase being more suitable for data warehousing, and large scale data processing and analysis (for example, such as that involved when indexing the Web) and Cassandra being more suitable for real time transaction processing and the serving of interactive data. Writing a proper study of that hypothesis is well beyond this post, but I believe you will be able to detect this theme recurring when considering the databases. via...

Rails / MongoDB / Big Project

Hashrocket developed Mongoid and recently completed a million-dollar project in which they built a pharmaceutical application with Mongo. via blog.10gen.com Who said that Rails can’t do big project? Is $1M still...
Page 10 of 12« First...89101112
Mobile App Developer Singapore
Rated 4.95/5 based on 68 reviews