Introduction to Programming ( C ) #Root #By Sayed Ahmed

[youtube http://www.youtube.com/watch?v=9VM8RiXTvfw?feature=player_detailpage&w=640&h=360] From: http://sitestree.com/?p=1320
Categories:Root, By Sayed Ahmed
Tags:
Post Data:2014-08-07 14:41:30

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada

C# Localization Application Example #Root #By Sayed Ahmed

The Resource File

# GreetingResources.txt 
# A resource file in text format for a "Hello World" application.
#
# Initial prompt to the user.
prompt=Enter your name: 
# Format string to display the result.
greeting=Hello, {0}!

--

Code to use the resource file

using System;
using System.Reflection;
using System.Resources;

public class Example
{
   public static void Main()
   {
      ResourceManager rm = new ResourceManager("GreetingResources", typeof(Example).Assembly);
      Console.Write(rm.GetString("prompt"));
      string name = Console.ReadLine();
      Console.WriteLine(rm.GetString("greeting"), name);                                                                          
   }
}
// The example displays output like the following:
// Enter your name: Wilberforce
// Hello, Wilberforce!

From: http://sitestree.com/?p=1317
Categories:Root, By Sayed Ahmed
Tags:
Post Data:2014-08-06 22:20:54

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada

Windows Workflow Foundation Overview and Code #Root #By Sayed Ahmed

What is Windows Workflow Foundation

http://www.dispatchertimer.com/workflow-foundation/wf-tutorial-part-1-an-introduction-to-windows-workflow-foundation/

 

Overview on Workflow Application

https://en.wikipedia.org/wiki/Workflow_application

 

Example Application States/Flows

http://msdn.microsoft.com/en-ca/library/vstudio/ms741709%28v=vs.90%29.aspx

WaitingForOrderState, OrderOpenState, OrderProcessedState, OrderCompletedState

 

Check this to understand what a workflow application is

http://msdn.microsoft.com/en-us/library/vstudio/ms741721%28v=vs.90%29.aspx From: http://sitestree.com/?p=1309
Categories:Root, By Sayed Ahmed
Tags:
Post Data:2014-08-06 21:22:22

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada

Basic WCF Example #Root #By Sayed Ahmed

Defining and Implementing a Contract

using System.ServiceModel;

//a WCF contract defined using an interface
[ServiceContract]
public interface IMath
{
    [OperationContract]
    int Add(int x, int y);
}


//the service class implements the interface
public class MathService : IMath
{
    public int Add(int x, int y)
    { return x + y; }
}


Defining Endpoints and Starting the Service

public class WCFServiceApp
{
    public void DefineEndpointImperatively()
    {
        //create a service host for MathService
        ServiceHost sh = new ServiceHost(typeof(MathService));

        //use the AddEndpoint helper method to
        //create the ServiceEndpoint and add it 
        //to the ServiceDescription
        sh.AddServiceEndpoint(
          typeof(IMath), //contract type
          new WSHttpBinding(), //one of the built-in bindings
          "http://localhost/MathService/Ep1"); //the endpoint's address

        //create and open the service runtime
        sh.Open();

    }

    public void DefineEndpointInConfig()
    {
        //create a service host for MathService
        ServiceHost sh = new ServiceHost (typeof(MathService));

        //create and open the service runtime
        sh.Open();

    }
}
<!-- configuration file used by above code -->
<configuration 
   xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
   <system.serviceModel>
      <services>
         <!-- service element references the service type -->
         <service type="MathService">
            <!-- endpoint element defines the ABC's of the endpoint -->
              <endpoint 
                 address="http://localhost/MathService/Ep1"
                 binding="wsHttpBinding"
                 contract="IMath"/>
         </service>
      </services>
   </system.serviceModel>
</configuration>



Sending Messages to an Endpoint

using System.ServiceModel;
//this contract is generated by svcutil.exe
//from the service's metadata
public interface IMath
{
    [OperationContract]
    public int Add(int x, int y)
    { return x + y; }
}


//this class is generated by svcutil.exe
//from the service's metadata
//generated config is not shown here
public class MathProxy : IMath
{
    ...
}

public class WCFClientApp
{
    public void SendMessageToEndpoint()
    {
        //this uses a proxy class that was
        //created by svcutil.exe from the service's metadata
        MathProxy proxy = new MathProxy();

        int result = proxy.Add(35, 7);
    }
    public void SendMessageToEndpointUsingChannel()
    {
        //this uses ChannelFactory to create the channel
        //you must specify the address, the binding and 
        //the contract type (IMath)
        ChannelFactory<IMath> factory=new ChannelFactory<IMath>(
            new WSHttpBinding(),
            new EndpointAddress("http://localhost/MathService/Ep1"));
        IMath channel=factory.CreateChannel();
        int result=channel.Add(35,7);
        factory.Close();

    }
}

Reference:
http://msdn.microsoft.com/en-us/library/aa480210.aspx
http://msdn.microsoft.com/en-us/library/ms731082%28v=vs.110%29.aspx

From: http://sitestree.com/?p=1305
Categories:Root, By Sayed Ahmed
Tags:
Post Data:2014-08-06 21:04:33

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada

Mobile Development Stuff #Root #By Sayed Ahmed

Understanding Mobile: Native Apps, Web Apps, and Hybrid Apps

http://www.nngroup.com/articles/mobile-native-apps/

 

How To Create Your First iPhone App (2012 Edition) (for business purpose)

http://www.smashingmagazine.com/2009/08/11/how-to-create-your-first-iphone-application/

 

Android Native Application Development Course in Bengali Language (Not By Me)

http://bangla.salearningschool.com/category/root/professional/complete-courses/android-application-development-in-java/

 

iPhone Application Development Steps (No comment on whether this is a good or bad resource)

http://www.wikihow.com/Make-an-iPhone-App

 

Training videos on iPhone Application Development in Bengali (No comment on the quality)

http://www.shikkhok.com/%E0%A6%95%E0%A7%8B%E0%A6%B0%E0%A7%8D%E0%A6%B8-%E0%A6%A4%E0%A6%BE%E0%A6%B2%E0%A6%BF%E0%A6%95%E0%A6%BE/iphone-app-development/

 

Step by Step Creating a Windows 8 app from Windows Phone App Studio

http://blogs.msdn.com/b/cdnstudents/archive/2014/04/22/step-by-step-creating-a-windows-8-app-from-windows-phone-app-studio.aspx From: http://sitestree.com/?p=1282
Categories:Root, By Sayed Ahmed
Tags:
Post Data:2014-07-30 20:47:50

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada

How I changed the Favicon of ShopForSoul.com (Justetc Properties) #Root #By Sayed Ahmed

Favicon: It is the icon displayed in the browser tab (top-left) when you go to a site.

Steps to Change:
Took the logo from the site http://www.justetc.net/

Used a paint software to cut the text and kept only the pictorial part (logo symbol) of the logo image.

Then used the Favicon generator http://www.favicon.co.uk/index.php to create the Favicon for ShopForSoul.com

The Favicon for Magento based site are located usually under the theme directories i.e /skin/frontend/default/default/favicon.ico or in the base theme directory /skin/frontend/base/default/favicon.ico. If you are not sure, then go to your site and check the source of the home page, you will notice the location of the Favicon.

You will see as follows

<link rel=”iconhref=”http://shopforsoul.com/skin/frontend/default/default/favicon.icotype=”image/x-icon” />

<link rel=”shortcut iconhref=”http://shopforsoul.com/skin/frontend/default/default/favicon.icotype=”image/x-icon” />

You can also search your source code usually in the skin folder. You also need to know which theme/skin is your
store using currently.

Replaced the default Magento icon with my favicon icon. I replaced both base and default themes. Magento may be using the base favicon if it does not find the favicon for your theme.

Then, flushed the cache, and also refreshed the cache from Magento admin section.

Cleared all browser history. The new favicon icon appeared.

If it does not come for you, close the browser, clear all cache, and clear all downloaded objects (IE); then double check that the favicon images are at the right folders in your store. Try to browse to the exact favicon from browser (by typing or copying the full url, or using directory browsing if enabled). Also, check that
your page HTML source refers to the right favicon. If everything is right, you should see the new favicon. Else, try another browser as well.

Favicon: https://en.wikipedia.org/wiki/Favicon From: http://sitestree.com/?p=1264
Categories:Root, By Sayed Ahmed
Tags:
Post Data:2014-07-25 11:02:06

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada

Ajax and Software/Web Development #Root #By Sayed Ahmed

Making AJAX Application Crawlable for Search Engine Optimization

http://www.seoinc.com/seo-blog/making-ajax-application-crawlable-for-search-engine-optimization/

 

Making AJAX Applications Crawlable
https://developers.google.com/webmasters/ajax-crawling/

 

AJAX Application Architecture, Part 1 (.Net)

http://msdn.microsoft.com/en-us/magazine/cc163363.aspx

 

Characteristics of Ajax Applications: May be an old document. You can check on the discussion/arguments on Placing logic on client or server-side and how much. Also, you can get a sense of some large applications that are based on Ajax

http://www.openajax.org/member/wiki/images/8/89/NexawebAjaxCharacteristics.pdf

 

Ajax web application architecture – Roadmap to mobile web development

https://www.youtube.com/watch?v=LpPIZZCGFXg

 

Architecture guidelines for ASP.NET AJAX applications. Kinda Old, before using the concepts, check for are these still relevant considering recent changes/updates in .Net platform

http://www.developerfusion.com/article/84895/architecture-guidelines-for-aspnet-ajax-applications/

 

SlideShow on Architecture of Ajax Applications

http://www.slideshare.net/AloisReitbauer/architecture-of-ajax-applications

 

Pretty Old Research Paper on Ajax Architecture

http://arxiv.org/ftp/cs/papers/0608/0608111.pdf

 

  From: http://sitestree.com/?p=1245
Categories:Root, By Sayed Ahmed
Tags:
Post Data:2014-07-19 23:47:49

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada

laracast beginner: Route Helpers, New Blade Directives, Higher Order Tap, Basic Routing and Views

Filter By: Difficulty

laracast beginner : Basic Data Binding, Dynamic Inserts With PDO, Media Objects with Flexbox

Filter By: Difficulty, Page

laracast beginner : Lists, Setup Vue Devtools, Basic Data Binding, How Do I Dry Up My Forms

Filter By: Difficulty, Page