Showing posts with label Coders. Show all posts
Showing posts with label Coders. Show all posts

Monday, 20 November 2017

React Native

Build native iOS, Android and Windows apps with JavaScript.
http://www.reactnative.com/
One tool, one language and three platforms handled.
Still this is a mobile only solutions so Windows means Windows Phone platform.

Sunday, 22 May 2016

Android Architecture

New Year and new tech's from Google.
We are happy to be a part of that.
My journey with Android started 9 months ago and it's still continuing.

Looking into architecture patterns and best practises from Google I have a chance to see Google I/O 2016.

The first place on my list takes:

Android application architecture: Get ready for the next billion! - Google I/O 2016 

Really interesting lecture with core information on really important things like 'Write your Android App with professional methodics'.

Additionally some github piece of code was attached to the comment block as an answer on my question. 
Architecture demo
MVP Android Architecture

It could be very helpful on your way to write better Android code.

Monday, 17 November 2014

Tools meet the business expectations

Business solutions need good tools to provide stable and flexible communication between existing software and newly created.

Trying to find new overtime job I found out that exists need in business area on such tools as:
  • Xamarin
  • Salesforce.

Xamarin

Manufacturer said, "Create native iOS, Android, Mac, Windows using C#". This short sentence is very handy it says, if you know C# you can create 'native' application for all of them. Lol.
That's great I think. That gives me a very big opportunity to be fourth steps before my competition.

Salesforce

 One more CRM with hosting a website on their own Cloud Computing host. That's probably all about that.

What's a conclusion?
Some companies is going into the new tools. Developers will need to know something about to meet the expectations.

Monday, 7 July 2014

Android camera over RTSP

Hi,
today's I've started to use RTSP as a protocol to transmit video stream from camera on the phone to everyone.
I've found a software that use RTSP and camera on Android OS.
It's from spex66 under the link https://github.com/spex66/RTSP-Camera-for-Android.

What is it?

It is RTSP protocol use on Android phone.


What does it do?

It uses camera from my phone. Application get the data from camera and host server on protocol RTSP and listen to clients to connect on specified port. Every client gets a video stream with data from camera.

What is the advantage of spex66 software is, that it uses a jni support and it's probably more efficient than code written directly in java.

The application has also server and client support. So easily you get the video stream and transfer it over network. The next step is yours. You do not have to worry about compressing because it's encode with h264 or h263 codec.

That is all about RTSP software from spex66. Thank's.


Sunday, 23 March 2014

Gradle automated build system

I was looking for automatated build system and finally found the Gradle solution which is a younger product than Apache Maven build tool.

Thursday, 6 March 2014

Czysta architektura aplikacji


Kolejny ciekawy anglojęzyczny artykuł na temat architektury aplikacji.
Jak dobrze zaprojektować swoją aplikację, polecam bardzo.

"Raz na jakiś, podczas różnych dyskusji pojawia się pytanie czym jest lub też czym powinna się cechować dobra architektura. Ciężko udzielić na to jednoznacznej
odpowiedzi, niemniej jednak przez te kilkadziesiąt lat specjaliści doszli do kilku ustaleń. Polecam lekturę dość lekkiego (i krótkiego!) wpisu jednego z bardziej znanych speców od architektury - niech on będzie początkiem do dalszej eksploracji tematu 


http://blog.8thlight.com/uncle-bob/2012/08/13/the-clean-architecture.html"
autor: M.W.

Monday, 23 April 2012

Octupus Automated depoloyment solution

Octopus is a automated deployment solution for .NET applications, powered by NuGet and designed for convention over configuration.

http://www.paulstovell.com/octopus/intro

Monday, 12 March 2012

Sharepoint

Install sharepoint on windows 7
http://msdn.microsoft.com/en-us/library/ee554869.aspx

Tutorials

Main
http://msdn.microsoft.com/en-us/library/ff955607.aspx
http://msdn.microsoft.com/en-us/library/ms415817.aspx

Webparts
http://mysharepointwork.blogspot.com/2010/05/sharepoint-2010-webpart-tutorial.html
http://blog.concurrency.com/sharepoint/create-a-custom-web-part-for-sharepoint-2010/

Turn on encryption and much more
http://www.liquidmercurysolutions.com/whatwedo/knowhow/blog/Lists/Posts/Post.aspx?ID=5


If you prepare to create some web application in Sharepoint you should consider to use Sharepoint Site Collections or Visual Studio Sharepoint Project.
The first option is to create Web Application which has simple web sites without any back codes (i.e. C# code).
The second one give you more flexibility and functionality because you can create Aspx sites with code in background.
So this is a common difference. Of course, you have features in Sharepoint project which you can also use.

Thursday, 8 March 2012

Visual Studio free plugins

Hello,
Some quick introduction.
In this post I will show some features in Visual Studio that I use to coding.
Of course ReSharper (paid plugin) is the best compact suite of plugins and cool stuffs without it is hard to live in work ;)

But it isn't free and trial quickly comes to end. So at home I haven't it. I look for free solutions and below is the list of plugins and some tips.
Heh, a lot of introduction and short list of functionalities, big apologize for that, I hope that it'll increase in the future.

Plugins that I use:

  • NuGet - packaged manager
  • Productivity Power Tools
  • VSCommands 2010
Some cool stuff which I've found in net:

  • Go to implementation:  in Call Hierarchy to open use ctrl+k clrl+t
  • Calls to [method]: also in Call Hierarchy   

Friday, 2 March 2012

Web controls


Comparison webtoolkit
https://wiki.jasig.org/display/UP3/Javascript+Toolkit+Comparison
43 Essential Toolkit for Javascript
http://www.uxbooth.com/blog/essential-controls-for-web-applications/

JQuery

Ext.Net Framework
   Description = Huge set of components written in javascript use jquery.
   Url = http://ext.net

Infragistics
   Url = http://samples.infragistics.com/jquery/grid/batching-updates
Prototype
   Url = http://prototype.conio.net/
Component One
   Url = http://www.componentone.com/SuperProducts/StudioASPNET/Demos/
Writing own JQuery plugin
   Url = http://docs.jquery.com/Plugins/Authoring

Other
Some project on codeproject.com
http://www.codeproject.com/Articles/237411/Html-5-Controls-for-ASP-Net-MVC

Samples
Silk -  HTML5, CSS3 and ECMAScript 5, jQuery, Internet Explorer 9 and ASP.NET MVC3
   Url = http://silk.codeplex.com/

Articles on blogs
About Ext.Net Framework, JQuery and Asp.Net
   Url = http://www.simple-talk.com/dotnet/asp.net/ext-framework,-jquery-and-asp.net/

Sunday, 19 February 2012

SampleDotNetApplication


Introduction

This project contains my good practices and solutions use in software production. Through a few years of work as software developer I get experience how to create business software which is flexible to grow up, stable and takes very little time to make changes and create other functionalities.

 

Content

This projects contains applications:
  • Desktop client application,
  • Server application,
  • STS application as authorization and authentication service,
  • Web client application.

Desktop client application

Desktop application use this modules:
  • Wpf
  • Prism
  • Unity
  • Entity Framework

Architecture


architecture
Thin clients hasn't implementation of logic and business functions. It contains only user interface and communication to the server.
Server contains business logic. Communicate to the databases and interact with another services.
STS services contains authentication and autorization services where user is sign in and the service recognize and return his roles (as a claims). More about STS on pages:

Source

Source code is here http://sampledotnetapp.codeplex.com/

WIF and claims base application

Everything about that is here:

Tuesday, 14 February 2012

Certificates tools



Links
Open Ssl binaries
http://code.google.com/p/openssl-for-windows/downloads/list

Pvk Tool
http://www.drh-consultancy.demon.co.uk/pvk.html


Exporting the files

Having downloaded and installed the conversion tools, you are ready to export your code signing certificate and private key file from the .pfx file. The commands given below assume that the location of the conversion tools has been added to the PATH environment variable. Otherwise you should type the full path to each program.
In the examples we will also assume that the .pfx file name is mycert.pfx and that the desired output filenames are mykey.pvk and mycert.spc. You may, of course, substitute other names if you so wish, and specify a full path if the files are located in a different folder. Remember to quote the paths to the files if they contain spaces.

Exporting the private key

First export the private key to an OpenSSL .pem format file.
openssl.exe pkcs12 -in mycert.pfx -nocerts -nodes -out mykey.pem
You will be asked for the password of the private key file, if you specified one.
Now you use Dr. Henson's conversion utility to convert the .pem file into the proprietary Microsoft .pvk format.
pvk.exe -in mykey.pem -topvk -strong -out mykey.pvk
That takes care of the private key file.

Exporting the software publishing certificate

Converting your code signing certificate into a software publishing certificate .spc file is also a two stage process. First, the certificate is exported to an OpenSSL .pem format file, and then this is converted to the final .spc format.
openssl.exe pkcs12 -in mycert.pfx -nokeys -out mycert.pem
openssl.exe crl2pkcs7 -nocrl -certfile mycert.pem  -outform DER -out mycert.spc
Again, you will be asked for the password of the private key file if you specified one.
You now have a .pvk and .spc pair which you can use to digitally sign executables using signcode.exe. The intermediate .pem files created during the conversion are no longer needed, and may be deleted.

Monday, 30 January 2012

Application components


Writing application is not so easy.
If you want to write good extensible application, you should use good tools and solution in Your application.
After writing some applications, I found some tools that may help in software production.

Logs
- log4net

Database - conversion to objects (DAL, data access layer)
- TT generating classes from relational database tables, (own Kiro Database mechanizm)
- NHibernate
- Cassandra
- MongoDb
- Memcache
Links:
- Compare document database http://kkovacs.eu/cassandra-vs-mongodb-vs-couchdb-vs-redis

Application Frameworks
- MVVM pattern with WPF
- Prism - modules, bootstraper
- Enterprise Library
- Unity (Container)

GUI
- Windows Ribbon Library for WPF (http://www.microsoft.com/download/en/details.aspx?id=11877)

Server/Client
- WCF communication through net-pipe, net-tcp, webservices
- WIF - Windows Identity Foundation

Builds
- Apache Archiva - repository of builds and versions
- Apache Maven - versioning server
- Cruise Control - build server
- Nuget - but it hasn't sth like pom, You can't choose which library version you want to use in your software

Web
- Parametrized Web.config during Deploy (http://vishaljoshi.blogspot.com/2010/07/web-deploy-parameterization-in-action.html)
- JQuery Mobile (http://jquerymobile.com)
- Kontrolki do HTML5 i javascript (płatne) http://dhtmlx.com/touch/samples/

Friday, 20 January 2012

Ogólna architektura aplikacji


Wstęp

Witam.
Tym artykułem rozpoczynam serię postów na temat architektury, wzorców projektowych i dobrych praktyk stosowanych przy tworzeniu aplikacji w .Net Framework.
Oczywiście, zawarte tu informacje są bardzo subiektywne, a "dobre praktyki" podlegają konfrontacji.
Jednakże, gdzieś chciałbym zawrzeć swoje spostrzeżenia i przemyślenia oraz znalezione informacje o pisaniu aplikacji w .Net Framework.

Wszystkie rozwiązania będą zawarte w przykładowym projekcie http://sampledotnetapp.codeplex.com.

Aplikacja

Elementy funkcjonalne aplikacji

Z czego składa się standardowa aplikacja:
  • Zbieranie logów
  • Komunikacja z serwerem
  • Komunikacja z bazą danych
  • Komunikacja z webservicami
  • Graficzny interfejs użytkownika
  • Moduły - pluginy
  • Interakcja pomiędzy modułem a interfejsem
Wydaje mi się, że są to wszystkie elementy, które wykorzystują aplikacje, jeżeli brakuje tu czegoś bardzo proszę o komentarz.

Elementy niefunkcjonalne aplikacji
Oprócz tych funkcjonalnych cech aplikacji, są także niefunkcjonalne, lecz równie istotne.
Aplikacja powinna także:
  • Zawierać jak najmniej zbędnej dokumentacji
    Duże koszty utrzymania zgodnych z prawdą komentarzy i rozbudowanych dokumentacji
  • Być na tyle elastyczna na ile się da
    Użycie interfejsów i ogólnych mechanizmów z możliwością napisania dedykowanych elementów
  • Prosta w konstrukcji
    Niestety elastyczność i prostota trochę się wykluczają
  • Wysoka testowalność poszczególnych elementów aplikacji
    Stworzenie aplikacji, która w łatwy sposób można pokryć testami to grunt do napisania niezawodnej aplikacji
 Narzędzia do projektowania aplikacji
 Z darmowych narzędzi dostępnych na rynku można wyszczególnić:
  • Visual Paradigm Community Edition
  • Pencil Evolus