Wednesday, May 28, 2014

Building a Group-Office client with AngularJS and Bootstrap

To demonstrate how easy it is to build a client for Group-Office, I've created an AngularJS app. It demonstrates that the server side PHP code of Group-Office is in fact one big JSON API that can be talked to with a completely decoupled client.

It's a very simple interface that was just for a "Proof of concept" but here's a screenshot:

E-mail App in Angularjs Group-Office client

When we'll replace the current ExtJS 3 based user interface we'll use the same approach.

I've created a GitHub repository for the Group-Office client here:

https://github.com/mschering/angular-groupoffice

Note that this client will only work with Group-Office 6.0.3 which you can get here:

http://sourceforge.net/projects/group-office/files/6.0/


I hope you like this example! You can also integrate these kind of API calls into your website or another application. Let me know what you think about it!

 

Note about CORS

If you run the Group-Office server on a different domain than this client you'll need to enable CORS. Otherwise you'll get errors like:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote
resource at http://localhost/groupoffice. This can be fixed by moving the resource
to the same domain or enabling CORS.

You can read more about enabling CORS on Group-Office here:

https://www.group-office.com/wiki/CORS

26 comments:

  1. I really like following your blog as the articles are so simple to read and follow. Excellent. Please keep up the good work. Thanks. Also read this article M Sand Bangalore

    ReplyDelete
  2. For home printing purposes, Epson is the most believed brand name now. Epson error code 0X9A problem They have the scope of the laser, inkjet, remote, compact, name and All-in-one printers. Each device experiences various kinds of error while working. What's more, Epson printer isn't an exemption. The blunder code 0X9a is additionally a typical issue in the Epson printer. The primary explanation for this error is some unacceptable setup of the network record in the Windows working framework. At times it occurs because of the trash or impediment in the cartridge. You can fix the Epson printer physically or consequently. Prior to enjoying the best approach to fix it, you should think about the Epson Printer Error code 0X9a. Connect brother DCP-T170w printer

    ReplyDelete
  3. It’s really a great and useful piece of information. I am glad that you shared this useful information with us. Please keep us up to date like this. Thanks for sharing. 일본야동

    ReplyDelete
  4. I was able to think a lot while looking at this post. I will pass this blog to many people. Definitely a good blog is very good. Thank you for sharing. 일본야동

    ReplyDelete
  5. You made some good points there. I did a Google search about the topic and found most people will believe your blog.
    국산야동

    ReplyDelete
  6. Everything is very open with a precise explanation of the issues. It was really informative. Your website is useful. Thank you for sharing! 한국야동

    ReplyDelete
  7. I’ve been following your web site for some time now and finally, I decided to write this post in order to thank you for providing us such a fine content!!! 한국야동

    ReplyDelete
  8. Sweet blog! I found it while browsing on Yahoo News.
    Do you have any tips on how to get listed in Yahoo News?
    I’ve been trying for a while but I never seem to get
    there! Thank you

    Also visit my site:강남오피

    ReplyDelete

  9. Print reliably proficient, two-sided reports with the normal HP quality and 1,000-page toner included. On the off chance that you are searching for a basic printer for intermittent record printing, a modest mono laser is typically adequate. HP laserjet pro m118dw connect to wifi the HP LaserJet Pro M118dw isn't by and large modest, yet it can in part make up for this with a reasonably liberally prepared toner – particularly on the off chance that you just need to print something incidentally at any rate. The printing unit creates your archives rapidly and neatly and can also print on the two sides of the paper if essential. Because of the conservative measurements and the discretionary WLAN association, the establishment of the HP LaserJet Pro M118dw can be taken care of deftly. The little case holds 260 pages (A4 plain paper). That is more than strong. With the right application from HP, you can also print effectively from your cell phone. You can use paper in the configurations B5, A6, A5, and A4 for printing. With regards to paper types, the devices adapts to plain paper and envelopes. By and large, the LED printer offers space for an all around estimated paper supply of 250 sheets. You can save paper with the duplex capacity. This empowers the devices from the HP LaserJet series to print on the front and back of a sheet simultaneously. You can interface this model to your home network and different devices by means of LAN, USB, or WLAN. The upheld WLAN norms are IEEE 802.11b, IEEE 802.11g, and IEEE 802.11n – the last specifically guarantees extremely quick information transmission. Remote printing through cell phone or tablet also works with no issues. This printer upholds advancements like Apple AirPrint or HP ePrint. Generally speaking, The HP Laserjet Pro M118dw is a brilliant decision for text printing. Notwithstanding, on the off chance that you additionally need to print photographs and illustrations, you should look somewhere else. Something else, the printing costs and the speed of work can persuade.

    ReplyDelete
  10. you’re right about the difference between those wanting to add to the conversation and those who are just looking for traffic. Read through any long thread of comments and you’ll generally find a number of people restating what’s already been said. It shows that they had little interest in being part of what’s going on and more interest in just being seen to have their say.Click Me Here온라인슬롯


    4YANGSKIE

    ReplyDelete
  11. I simply stumbled upon your weblog and wished to say that I’ve really loved surfing around your weblog posts. 룰렛

    ReplyDelete
  12. I have been browsing online more than 3 hours today, yet I never found any interesting article like yours.It is pretty worth enough for me. In my opinion,if all site owners and bloggers made good content as you did, the web will be much more useful than ever before.
    오피월드

    oworldsmewep

    ReplyDelete
  13. I’m extremely pleased to unfover this site. I need to to
    thank you for our time just for this wonderful read!!
    I definitely liked every part of it and I have you saved
    as a favorite to see new information on your site.Click Me Here온라인경마


    1YAGKIE

    ReplyDelete
  14. Excellent blog you have here.. It’s hard to find good quality writing like yours these days. I truly appreciate individuals like you! Take care!!
    오피월드

    ReplyDelete
  15. Very nice info and straight to the point. I am not sure if this is actually the best place to ask but do you guys have any thoughts on where to hire some professional writers? Thanks in advance 토토사이트

    ReplyDelete
  16. If you desire to increase your know-how simply keep visiting this site and be updated with the newest news posted here. 사설토토

    ReplyDelete
  17. Greetings! This is my first visit to your blog! We are a group of volunteers and starting a new initiative in a community in the same niche. 파워볼

    ReplyDelete
  18. Your blog provided us beneficial information to work on. You have done a extraordinary job! I seriously love your blog. 온라인카지노

    ReplyDelete
  19. https://gamezoom.xyz Finding a workout spouse can considerably boost your muscle tissue-building final results. Your lover might be a valuable method to obtain determination for adhering to your training session session, and forcing you to definitely optimize your attempts while you exercise. Developing a reputable companion to work through with can also help help keep you risk-free because you will have got a spotter.

    ReplyDelete

  20. Our Body Massage centre in Noida, blends excellence, well being, peace of mind and many more. Best Body Massage Offers in Noida, Get 20-50% OFF on the finest range of Body Massage treatments near you by trained masseurs.best massage spa noida We provide all kinds of body massage and spa services at our body massage parlour in Noida,

    ReplyDelete
  21. I have been looking for articles on these topics for a long time. 바카라사이트 I don't know how grateful you are for posting on this topic. Thank you for the numerous articles on this site, I will subscribe to those links in my bookmarks and visit them often. Have a nice day

    ReplyDelete
  22. I have been looking for articles on these topics for a long timeWatch The War with Grandpa on Netflix

    ReplyDelete