SharePoint and AngularJS Lessons Learned from the Trenches

  • Thanks to SharePoint 2013 it is a lot easier to be able to create client based solutions.
  • AngularJS is one of the solutions out there that allows developers to create applications very quickly through an MVC implementation.
  • In this session we will go over the basics of AngularJS in regards to apps, controllers, services and views.
  • The principles learned here can be used anywhere in SharePoint whether it is a Farm Solution in an on-premises environment or in an app on Office 365.
  • Come learn a lot of the pitfalls to avoid and some best practices that will help you love AngularJS as another tool in a developers tool belt.

Thanks to SharePoint 2013 it is a lot easier to be able to create client based solutions. AngularJS is one of the solutions out there that allows developers to create applications very quickly through an MVC implementation. In this session we will go over the basics of AngularJS in regards to apps, controllers, services and views. We will create a simple application built entirely through client technologies and in SharePoint. The principles learned here can be used anywhere in SharePoint whether it is a Farm Solution in an on-premises environment or in an app on Office 365. We will also explore some of the issues that you are likely to experience with the release of AngularJS 2.
Continue reading “SharePoint and AngularJS Lessons Learned from the Trenches”

internet explorer

  • Hi I have created a portfolio website using HTML and CSS and I have noticed something very wierd.I have tested the website on all the latest browsers Internet explorer 9 , Google Chrome , FireFox.And the website looks good on every one of them when I load this link from my personal computer:

    Now in order to be sure that everything is working ok I tested the site on adobe browser labs and I saw there that there is a problem.Normaly there should be 4 images on each line but in the browser labs it seems in all that browsers the 4th image is being pushed down.

  • I checked this on another computer that also has the latest Chrome , FIrefox , Internet Explorer 9.
  • And it seems the adobe browser labs was right the 4th image is being pushed down.
  • The resolution of both browsers and computers are the same and I am using on both Windows 7 Home Premium?
  • Why does the same website look different on the same browser version but on different computers?

Hi I have created a portfolio website using HTML and CSS and I have noticed something very wierd.I have tested the website on all the latest browsers Internet explorer 9 , Google Chrome , FireFox.And the website looks good on every one of them when I load this link from my personal computer:
Continue reading “internet explorer”

javascript

How to keep `textarea` expanded when focused on parent element?  #angularjs #reactjs

  • I created a textarea box that expands when clicked, and retracts when it’s not focused.
  • However, if the textbox is already in expanded form, I want it to remain in expanded form if the user clicks anywhere in the container area (The blue area in the snippet).
  • Here is my CSS for animating the textarea

    How can I keep the textbox in expanded form if the user clicks anywhere in the container div?

  • And have it behave as it does now if the user clicks anywhere outside of the container?

However, if the textbox is already in expanded form, I want it to remain in expanded form if the user clicks anywhere in the container area (The blue area in the snippet).
Continue reading “javascript”

Comparing AngularJS and ReactJS for Development

Comparing #AngularJS and #ReactJS for Development   via @cackerman1

  • In the last couple years DashBouquet team had a great number of various projects, among which were the ones on Angular, Angular2 and React.
  • Here is a table, in which we give pros and cons for AngularJS and ReactJS:

    Developers tend to choose Angular over React, which is an advantage because in this scenario, it is more convenient to work with the framework.

  • On the contrary, no such problems appeared while working with Angular2 and React, due to predictable state containers and immutables.
  • As for React and Angular2 cons, one of the biggest issues is lack of good developers.
  • Despite the fact that React is quite small framework, there are still a lot of things for developers to consider: state management, interaction with sever, testing and so on.

Developers tend to choose AngularJS over ReactJS, which is an advantage because in this scenario, it is more convenient to work with the framework.
Continue reading “Comparing AngularJS and ReactJS for Development”

How to show private video using angularjs and spring rest service?

  • I’m trying to implement auth protected audio/video stream in angular app via spring rest api.
  • The goal is to secure audio/video to not to be shared with other not logged users.

I’m trying to implement auth protected audio/video stream in angular app via spring rest api. The goal is to secure audio/video to not to be shared with other not logged users. The video size is about 250 mb.
Continue reading “How to show private video using angularjs and spring rest service?”