Posts

Showing posts with the label technical

How to implement Cross-Site In-Session Sitecore Analytics

Image
I came across this weird scenario wherein we were migrating old legacy project coded in Vb.net into Sitecore. So during this process, we had to migrate in a prioritized manner which made difficult to share analytics across two different projects. So I have just noted down what I did in order to accomplish the same. Assume we have a scenario with two different projects which are utilized for same Website (Some pages in Sitecore and Some pages in any other framework ). Let's Assume Sitecore Project named as " CodeYourWaySitecore " and other project named as  " CodeYourWayLegacy " For  CodeYourWaySitecore  and  CodeYourWayLegacy  (“ CodeYourWayLegacy.demo.com ” and “ CodeYourWayLegacy.demo.com ”)  are hosted on different websites.   By default in session, analytics work for each individual site.  Identifying and merging contacts at the end of the session allows for post-session interactions(assuming the contacts have been identified) but does nothing to add

Some of the time-saving tips every AngularJS user should know !! - Part 2

Image
Must Read  before Reading this Post : Some of the time-saving tips every AngularJS user should know !! - Part 1  . As Discussed in Earlier post  ,It was all about High/Architecture level Tips . Let's go through some Low-Level thoughts. At a Low-Level Thoughts/Tips/Gotchas: 1) Learn and love your console logs - Sometimes, especially with the digest cycles and angular lifecycle, it's sometimes easier to print your debugs to a console.logs instead of adding breakpoints. It's faster! 2) Get Batarang  , the chrome extension -   That is by far the best way to get into the bowels of AngularJS, and some of the details it provides (performance, dependencies) will make your life super simple and easy 3) Start running your unit tests on every save -   It will do the work of the compiler, and next time you break any functionality, you can fix it with a simple Undo in your IDE 4) Use the [] notation for listing your dependencies -  That is angularA

Some of the time-saving tips every AngularJS user should know !! - Part 1

Image
Having worked on and with AngularJS for short period thou , here are some of the time-saving tips at the top of my mind , Just go ahead and comment out if you find it wrong or if you have any : At a high / architecture level: 1)   Write your tests ! - Stop, right now.I mean it !!!. ;)  Don't Ever go by this Saying !!! You can never be 100% right Always write your unit tests. In Javascript, you don't have the compiler to hand hold you and tell  you did something wrong.  And you will want to pull your hair out the next time your app is broken because of a missing letter.And the larger your application gets, having the comfort of making large scale changes and refactorings without worrying about broken functionality is amazing! And writing your unit tests is the only way to get there! 2)   Don't put too many things on the scope .  The scope is expensive, as it is the one that undergoes dirty checks. Just put exactly what will be displayed on the UI

The 9 Most In-Demand Programming Languages of 2016

Image
Glassdoor published a report on the  top 25 lucrative, in-demand jobs . More than half of the jobs listed are in tech and require programming skills. If you’re interested in a fast-growing and lucrative career, you might want to make  learning code  next on your checklist! Next, comes the hard part – deciding on the best programming language to learn. To help narrow things down, below are compiled data from Indeed.com .While this isn’t an extensive list, it does provide insight into the most in-demand programming languages sought after by employers. Credits: Indeed.com Breakdown of the 9 Most In-Demand Programming Languages 1.    SQL It’s no surprise SQL (pronounced ‘sequel’) tops the job list since it can be found far and wide in various flavors. Database technologies such as MySQL, PostgreSQL and Microsoft SQL Server power big businesses, small businesses, hospitals, banks, universities. Indeed, just about every computer and a person with access to technology eventually touch somethi

Getting Started with Umbraco: Part 4

Image
In this part, we'll start off by adding another XSLT file (for the news item pages), and then move on to look at how we can integrate standard .Net User Controls to Umbraco. Also available in this series: Getting Started with Umbraco: Part 1 Getting Started with Umbraco: Part 2 Getting Started with Umbraco: Part 3 Getting Started with Umbraco: Part 4 Adding the newsList Macro Create a new XSLT file (and macro) in the back-end and call it newsList . In this XSLT file we'll be using a non-standard entity, which is the HTML entity &\mdash; . In order to use this entity we need to define it in the entity list in the XSLT doctype declaration at the top of the file. To add the mdash entity add the following code within the square brackets directly after the defined non-breaking space entity: < ! ENTITY mdash " &#x2014; " > We'll save a variable so that we can easily access the newsList node in order to get its child nodes. Directly after the currentPage p