Is .Net any Better than PHP for Web and Cloud Based Applications? #Web Development #By Sayed Ahmed

What advantages does PHP have over ASP.NET?
https://stackoverflow.com/questions/3989352/what-advantages-does-php-have-over-asp-net

 

Debate – .NET V. PHP: Top 10 .NET Myths Exposed

http://www.sitepoint.com/php-top-10-net-myths-exposed/

 

When to use PHP or ASP.NET?

https://programmers.stackexchange.com/…/when-to-use-php…

From: http://sitestree.com/?p=1219
Categories:Web Development, By Sayed Ahmed
Tags:
Post Data:2014-07-15 03:33:08

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

Some C# Stuff #Web Development #By Sayed Ahmed

Object-Oriented Programming (C# and Visual Basic)

http://msdn.microsoft.com/en-CA/library/dd460654.aspx

 

LINQ (Language-Integrated Query)

http://msdn.microsoft.com/en-ca/library/bb397926.aspx

101 LINQ Sample Application

http://code.msdn.microsoft.com/101-LINQ-Samples-3fb9811b

 

Parallel LINQ (PLINQ)

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

 

Entity Framework

http://msdn.microsoft.com/en-ca/data/ef.aspx

 

Working with DBContext

http://msdn.microsoft.com/en-ca/data/jj729737.aspx

 

SOAP vs Rest

https://stackoverflow.com/questions/209905/representational-state-transfer-rest-and-simple-object-access-protocol-soap

http://msdn.microsoft.com/en-us/library/vstudio/hh323724%28v=vs.100%29.aspx

 

 

 

Security in SOAP and REST

http://msdn.microsoft.com/en-us/library/vstudio/hh323714%28v=vs.100%29.aspx

 

WS-Security

https://en.wikipedia.org/wiki/WS-Security

 

SSO (Single Sign on) in .Net

https://stackoverflow.com/questions/14309090/c-sharp-asp-net-single-sign-on-implementation

SAML SSO : http://www.componentspace.com/

 

Design Patterns in C# with Code Examples (These also apply for Java EE, (i.e the concepts) , also to other OOP languages)

http://www.dofactory.com/Patterns/Patterns.aspx

 

 

 

  From: http://sitestree.com/?p=1182
Categories:Web Development, By Sayed Ahmed
Tags:
Post Data:2014-07-12 22:33:47

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses:http://Training.SitesTree.com
Blog: 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

Strategy Pattern: Interface vs Abstract Classes #Web Development #By Sayed Ahmed

Strategy Pattern: https://en.wikipedia.org/wiki/Strategy_pattern

“In computer programming, the strategy pattern (also known as the policy pattern) is a software design pattern that enables an algorithm‘s behavior to be selected at runtime. ”

“The validation strategies, encapsulated separately from the validating object, may be used by other validating objects in different areas of the system (or even different systems) without code duplication.”

 

Abstract Classes vs Interfaces

http://www.javaworld.com/article/2077421/learn-java/abstract-classes-vs-interfaces.html

 

  From: http://sitestree.com/?p=1146
Categories:Web Development, By Sayed Ahmed
Tags:
Post Data:2014-07-01 18:29:56

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses:http://Training.SitesTree.com
Blog: 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

Adopting GIT – One Repo for One Project #Web Development #By Sayed Ahmed

Just trying to plan on how to adopt the model of Git based development for all of different Justetc projects.

Still, testing, though found this resource to be useful : http://nvie.com/posts/a-successful-git-branching-model/

Rather than creating a central repository with all projects, so far, planning to create separate repository for each project (did not put any thought on it yet, good or bad). As for test, I am using Bitbucket. It can end up being something not in the internet.

 

So how did I do it

Sure, created a folder in my workstation/pc

used ‘git init’ command on it

then created a repo in Bitbucket using create repo

At PC used a command similar to :

git remote add origin https://sayedjustetc@bitbucket.org/sayedjustetc/test.git

Added a readme.txt file and pushed that to Bitbucket

git add readme.txt
git commit -m 'Initial commit'
git push -u origin master

This will create the master branch (in Bitbucket as well).
Then in Bitbucket from my account created another branch called develop (from master)
Then at pc executed: 
git fetch && git checkout develop


Followed the instructions from  http://nvie.com/posts/a-successful-git-branching-model/
and then created a feature branch under develop. In this feature branch, added all initial code.
committed all these files. Went to the develop branch (checkout). Then merged the feature branch 
to the develop branch. And then deleted the feature branch. Then 
pushed to Bitbucket (develop) branch. So, develop branch will be ahead of master branch. I did not 
but if I wanted to carry these changes to  master, I could just push to master.

git checkout -b initial-file-addition develop
git add * (before this, copied all files to be added to the repo)
git commit -m "added all files"
git checkout develop git merge --no-ff initial-file-addition
git branch -d initial-file-addition
git push origin develop
--

You can do similar experiments with release and hotfix branch concepts as mentioned in the referred 
article.

From: http://sitestree.com/?p=1111
Categories:Web Development, By Sayed Ahmed
Tags:
Post Data:2014-06-27 02:00:15

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses:http://Training.SitesTree.com
Blog: 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

Ruby, Resqueue, RabbitMQ, PHP, NodeJS, Java, MySQL, and MongoDB #Web Development #By Sayed Ahmed

Resqueue:

A rock-solid job queue, written in Ruby, backed by Redis.

http://resquework.org/

Guide: http://resquework.org/guides/queues.html

Related Read:

Resqueue vs. Sidekik:https://stackoverflow.com/questions/11580954/resque-vs-sidekiq

 

RabbitMQ

Robust messaging for applications

Tutorial: http://www.rabbitmq.com/getstarted.html

 

MongoDB

MongoDB (from “humongous”) is an open-source document database

http://www.mongodb.org/

 

OutSystem

“OutSystems provides the only open, high-productivity application platform (PaaS) that makes it easy to create, deploy and manage enterprise mobile and web applications – helping IT deliver innovative business solutions fast.”

Reference: http://www.outsystems.com/company/about/ From: http://sitestree.com/?p=1105
Categories:Web Development, By Sayed Ahmed
Tags:
Post Data:2014-06-26 20:03:24

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses:http://Training.SitesTree.com
Blog: 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

Installing PHPUnit (and Pear package Manager) for Windows #Web Development #By Sayed Ahmed

Pre-requisite:

1. You need to install pear package manager first before installing PHPUnit

I installed PHPUnit as well as Pear using Wamp. It should be the same with vanilla (i.e. plain) PHP

The instructions at: http://nishutayaltech.blogspot.in/2011/04/installing-phpunit-on-windows.html

Worked well for me.

One thing: remember to run command prompt as an administrator

 

—-

Details:

 

First, install pear package

Then install phpunit : http://nishutayaltech.blogspot.in/2011/04/installing-phpunit-on-windows.html

Details

To install PHP pear, one approach,

Go to http://pear.php.net/go-pear.phar, and save this file in your PHP directory (where php.exe or similar exists).

(this file means : go-pear.phar in the following two sections)

# Webbased installation:
# 1) Download this file and save it as go-pear.php
# 2) Put go-pear.php on your webserver, where you would put your website
# 3) Open http://yourdomain.example.org/go-pear.php in your browser
# 4) Follow the instructions, done!
#
# Command-line installation (for advanced users):
# 1) Download this file and save it as go-pear.php
# 2) Open a terminal/command prompt and type: php -q go-pear.php
# 3) Follow the instructions, done!

Reference:

Getting and installing the PEAR package manager

http://pear.php.net/manual/en/installation.getting.php


Seems to be a good resource
http://www.viper007bond.com/2012/08/21/installing-phpunit-on-windows/

Note:
Composer (not PEAR) is the preferred way of installing PHPUnit.
Check details at: http://phpunit.de/manual/current/en/installation.html#installation.composer



  From: http://sitestree.com/?p=1097
Categories:Web Development, By Sayed Ahmed
Tags:
Post Data:2014-06-24 03:12:37

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses:http://Training.SitesTree.com
Blog: 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

Optimize your MySQL tables in PhpMyAdmin #Web Development #By Sayed Ahmed

Enter your phpMyAdmin/MySQL control panel. Click on the database (not the table, the database name), and on the right hand column your tables should be listed. Scroll down till you see the .Check all. link. Click on that link, make sure all database tables are checked and then from the drop-down next to it, and carefully select .Optimize table..

 

Additionally, adding indexes to your table(s) may improve performance.

 

You can also try the repair tables, analyze tables. From: http://sitestree.com/?p=817
Categories:Web Development, By Sayed Ahmed
Tags:
Post Data:2014-02-08 22:35:50

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses:http://Training.SitesTree.com
Blog: 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

Output : When you create a Sass Based Compass Project #Web Development #CSS #Root #By Sayed Ahmed

What are Compass and Sass: http://compass-style.org/

Output : When you create a Sass Based Compass Project
From: http://sitestree.com/?p=938
Categories:Web Development, CSS, Root, By Sayed Ahmed
Tags:
Post Data:2014-03-20 02:09:20

Internet Browsers, HTML, and CSS #Web Development #CSS #Root #By Sayed Ahmed

The article is here:-

The purpose of a web browser is to read HTML documents and compose them into visible or audible web pages. The browser does not display the HTML tags, but uses the tags to interpret the content of the page.
HTML elements form the building blocks of all websites. HTML allows images and objects to be embedded and can be used to create interactive forms. It provides a means to create structured documents by denoting structural semantics for text such as headings, paragraphs, lists, links, quotes and other items. It can embed scripts written in languages such as JavaScript which affect the behavior of HTML web pages.
Web browsers can also refer to Cascading Style Sheets (CSS) to define the look and layout of text and other material. The W3C, maintainer of both the HTML and the CSS standards, encourages the use of CSS over explicit presentational HTML. From: http://sitestree.com/?p=874
Categories:Web Development, CSS, Root, By Sayed Ahmed
Tags:
Post Data:2014-03-03 07:33:26

Css selectors by Example #Web Development #CSS #Root #By Sayed Ahmed

/* the style will be applied to all elements using intro for class attribute*/
.intro
{
background-color:yellow;
}

/* the style will be applied to the element with id attribute set to firstname*/

#firstname
{
background-color:yellow;
}

/* the style will be applied to all elements*/
*
{
background-color:yellow;
}

/* the style will be applied to all p elements*/
p
{
background-color:yellow;
}

/* the style will be applied to all h1 and p elements*/
h1,p
{
background-color:yellow;
}

/* the style will be applied to p elements that are children of div elements*/
div p
{
background-color:yellow;
}

/* the style will be applied to the p elements that are placed at the same level of a div element. p elements immediately after div elements for example*/
div+p
{
background-color:yellow;
}

/* the style will be applied to anchor elements with target attributes*/
a[target]
{
background-color:yellow;
}

/* the style will be applied to all anchor elements with _blank as the target*/
a[target=_blank]
{
background-color:yellow;
}

/* the style will be applied to all elements with title attribute has the word flower*/
[title~=flower]
{
background-color:yellow;
}

/* the style will be applied to all elements where language attribute starts with en*/
[lang|=en]
{
background-color:yellow;
}

/* the style will be applied to all unvisited links*/
a:link
{
background-color:yellow;
}

/* the style will be applied to all visited links*/
a:visited
{
background-color:yellow;
}

/* the style will be applied to all active links*/
a:active
{
background-color:yellow;
}

/* the style will be applied on anchor links when mouse over on it */
a:hover
{
background-color:yellow;
}

/* the style will be applied to input elements with focus*/
input:focus
{
background-color:yellow;
}

/* the style will be applied to the first letter of all paragraphs*/
p:first-letter
{
font-size:200%;
color:#8A2BE2;
}

/* the style will be applied to the first line of each p element*/
p:first-line
{
background-color:yellow;
}

/* the style will be applied to the first child of each p element*/
p:first-child
{
background-color:yellow;
}

/* the style will be applied to all p elements. the text will be added before each p element*/
p:before
{
content:”Add this word before each p element: “;
}

/* the style will be applied to all p elements. the text will be added after each p element*/
p:after
{
content:”- after p element “;
}

/* the style will be applied to all p elements with language attribute where lang attribute starts with it*/
p:lang(it)
{
background:yellow;
}

/* the style will be applied to all ul elements preceeded by p elements*/
p~ul
{
background:#ff0000;
}

/* the style will be applied to div elements with class attribute starts with the word test*/
div[class^=”test”]
{
background:#ffff00;
}

/* the style will be applied to all div elements whose class attribute ends with test*/
div[class$=”test”]
{
background:#ffff00;
}

/* the style will be applied to all div elements where the class attribute contains the term test anywhere*/
div[class*=”test”]
{
background:#ffff00;
}

/* the style will be applied to the document root*/
:root
{
background:#ff0000;
}

/* the style will be applied to all empty p elements with no child and no text element*/
p:empty
{
background:#ff0000;
}

/* add this image before the current active link */
:target:before
{
content: url(/images/lamp.gif);
}

/* the style will be applied to all enabled input text element*/
input[type=”text”]:enabled
{
background:#ffff00;
}

/* the style will be applied to all disabled input text element*/
input[type=”text”]:disabled
{
background:#dddddd;
}

/* the style will be applied to all checked input elements*/
input:checked
{
background:#ff0000;
}

/* the style will be applied to all elements other than p*/
:not(p)
{
background:#ff0000;
}

/* the style will be applied to the selected text*/
::selection
{
color:#ff0000;
}

::-moz-selection
{
color:#ff0000;
}

p:first-of-type
{
background:#ff0000;
}

p:last-of-type
{
background:#ff0000;
}

p:only-of-type
{
background:#ff0000;
}

p:only-child
{
background:#ff0000;
}

p:nth-child(2)
{
background:#ff0000;
}

p:nth-last-child(2)
{
background:#ff0000;
}

p:nth-of-type(2)
{
background:#ff0000;
}

p:nth-last-of-type(2)
{
background:#ff0000;
}

p:last-child
{
background:#ff0000;
} From: http://sitestree.com/?p=113
Categories:Web Development, CSS, Root, By Sayed Ahmed
Tags:Css selector, Css
Post Data:2012-11-30 04:10:30