-
Notifications
You must be signed in to change notification settings - Fork 0
/
index5.html
454 lines (435 loc) · 28.6 KB
/
index5.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
<!DOCTYPE html>
<html lang="en">
<head>
<link href='//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,400italic' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="http://www.emadmokhtar.com/theme/stylesheet/style.min.css">
<link rel="stylesheet" type="text/css" href="http://www.emadmokhtar.com/theme/stylesheet/pygments.min.css">
<link rel="stylesheet" type="text/css" href="http://www.emadmokhtar.com/theme/stylesheet/font-awesome.min.css">
<link href="http://www.emadmokhtar.com/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Emad Mokhtar's Framework Atom">
<link href="http://www.emadmokhtar.com/feeds/all.rss.xml" type="application/rss+xml" rel="alternate" title="Emad Mokhtar's Framework RSS">
<link rel="shortcut icon" href="http://www.emadmokhtar.com/images/favicon.ico" type="image/x-icon">
<link rel="icon" href="http://www.emadmokhtar.com/images/favicon.ico" type="image/x-icon">
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="robots" content="" />
<meta name="author" content="Emad Mokhtar" />
<meta name="description" content="My thoughts and experince on software development and life." />
<meta property="og:site_name" content="Emad Mokhtar's Framework"/>
<meta property="og:type" content="blog"/>
<meta property="og:title" content="Emad Mokhtar's Framework"/>
<meta property="og:description" content="My thoughts and experince on software development and life."/>
<meta property="og:locale" content="en_US"/>
<meta property="og:url" content="http://www.emadmokhtar.com"/>
<meta property="og:image" content="http://www.emadmokhtar.com/images/profile.jpg">
<title>Emad Mokhtar's Framework</title>
</head>
<body>
<aside>
<div>
<a href="http://www.emadmokhtar.com">
<img src="http://www.emadmokhtar.com/images/profile.jpg" alt="" title="">
</a>
<h1><a href="http://www.emadmokhtar.com"></a></h1>
<p>Geek developer who's in search of code perfection.</p>
<nav>
<ul class="list">
<li><a href="http://www.emadmokhtar.com">Blog</a></li>
<li><a href="http://www.emadmokhtar.com/pages/podcasts.html#podcasts">Podcasts</a></li>
<li><a href="http://www.emadmokhtar.com/pages/projects.html#projects">Projects</a></li>
<li><a href="https://emadmokhtar.github.io/resume" target="_blank">Resume</a></li>
</ul>
</nav>
<ul class="social">
<li><a class="sc-envelope-o" href="mailto:emad@emadmokhtar.com" target="_blank"><i class="fa fa-envelope-o"></i></a></li>
<li><a class="sc-github" href="https://www.github.com/EmadMokhtar" target="_blank"><i class="fa fa-github"></i></a></li>
<li><a class="sc-linkedin" href="https://www.linkedin.com/in/emadmokhtar/" target="_blank"><i class="fa fa-linkedin"></i></a></li>
<li><a class="sc-stack-overflow" href="http://stackoverflow.com/users/373051/emad-mokhtar" target="_blank"><i class="fa fa-stack-overflow"></i></a></li>
<li><a class="sc-facebook" href="https://www.facebook.com/emadmokhtarframework/" target="_blank"><i class="fa fa-facebook"></i></a></li>
<li><a class="sc-twitter" href="https://twitter.com/emadmokhtar" target="_blank"><i class="fa fa-twitter"></i></a></li>
</ul>
</div>
</aside>
<main>
<nav>
<a href="http://www.emadmokhtar.com">Home</a>
<a href="https://emadmokhtar.github.io/resume">Resume</a>
<a href="http://www.emadmokhtar.com/feeds/all.atom.xml">Atom</a>
<a href="http://www.emadmokhtar.com/feeds/all.rss.xml">RSS</a>
</nav>
<article>
<header>
<h2><a href="http://www.emadmokhtar.com/the-fast-way-to-change-font-to-bold-in-visual-studio.html#the-fast-way-to-change-font-to-bold-in-visual-studio">The fast way to change font to Bold in Visual Studio</a></h2>
<p>
Posted on Tue 08 October 2013 in <a href="http://www.emadmokhtar.com/category/tools.html">Tools</a>
• Tagged with
<a href="http://www.emadmokhtar.com/tag/visualstudio.html">VisualStudio</a>, <a href="http://www.emadmokhtar.com/tag/vs2010.html">VS2010</a>, <a href="http://www.emadmokhtar.com/tag/vs2012.html">VS2012</a> • <a href="http://www.emadmokhtar.com/the-fast-way-to-change-font-to-bold-in-visual-studio.html#disqus_thread">Leave a comment</a>
</p>
</header>
<div>
<p>Did you even download Visual Studio color schemes from <a href="http://studiostyl.es/">studiostyl.es</a> and you want to change its style to <strong>Bold</strong>? I’ve did this hundred of times and
it’s boring to do it manually by going throw even Display Item and set its style to <strong>Bold</strong>.</p>
<p><img alt="Visual Studio Font Settings" src="http://www.emadmokhtar.com/images/SNAG0017.png"></p>
<p>I found a way to do this rapidly in less than a minute. The idea comes when I opened the Visual Studio Settings file in notepad and found it’s XML file with all Visual Studio settings and there is a part for font settings with <code>BoldFont="Yes"</code> attribute for each item.</p>
<p><img alt="Settings file in notepad" src="http://www.emadmokhtar.com/images/SNAG0018.png"></p>
<h1>Let’s see How to do it:</h1>
<ol>
<li>Open Visual Studio Setting file <code>.vssettings</code> with Notepad.</li>
<li>Press on <code>Ctrl + H</code>.</li>
<li>Replace <code>BoldFont="No"</code> to <code>BoldFont=”Yes</code>.</li>
<li>Save file.</li>
<li>Import Settings to Visual Studio.</li>
</ol>
<p>Note: if you want to set style for your existing settings please export your settings first and apply the steps mentioned above.</p>
<p>*I’m using <a href="http://www.flos-freeware.ch/notepad2.html">Notepad2</a></p>
<a class="btn" href="http://www.emadmokhtar.com/the-fast-way-to-change-font-to-bold-in-visual-studio.html#the-fast-way-to-change-font-to-bold-in-visual-studio">Continue reading</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="http://www.emadmokhtar.com/to-google-or-not-to-google.html#to-google-or-not-to-google">To Google Or Not To Google?</a></h2>
<p>
Posted on Tue 27 August 2013 in <a href="http://www.emadmokhtar.com/category/developer.html">Developer</a>
• Tagged with
<a href="http://www.emadmokhtar.com/tag/developer.html">developer</a>, <a href="http://www.emadmokhtar.com/tag/development.html">development</a>, <a href="http://www.emadmokhtar.com/tag/programmer.html">programmer</a>, <a href="http://www.emadmokhtar.com/tag/programming.html">programming</a> • <a href="http://www.emadmokhtar.com/to-google-or-not-to-google.html#disqus_thread">Leave a comment</a>
</p>
</header>
<div>
<p><img alt="image" src="http://www.emadmokhtar.com/images/image.png"></p>
<p>To Google or not to Google? this is not even a question, <a href="http://www.hanselman.com/about/">Scott
Hanselman</a> wrote an article about
<a href="http://www.hanselman.com/blog/AmIReallyADeveloperOrJustAGoodGoogler.aspx">Googler Developers or search engine
developer</a>
I found it very interesting because he’s talking about developers whom
using Google to search for a solution and copy and paste it. Irony some
developers aren’t able to Google the solution as well, I always believe
that understand what is the problem is its half solution.</p>
<blockquote>
<p>“The formulation of the problem is often more essential than its
solution, which may be merely a matter of mathematical or experimental
skill.”</p>
<p>― Albert Einstein</p>
</blockquote>
<p>Then understand what is the problem is a skill that some developers
missing it, even <a href="http://ayende.com/blog/162849/stories-from-the-interview-room">Oren
Eini</a>
wrote about some developers in interview have full internet access and
can’t even solve their problems.</p>
<h2>AM I Googler Developer or not?</h2>
<p>Sure I am, I Google about the solution online, actually most if not all
of my technical resources are online <a href="http://www.google.com/">Google</a>,
<a href="http://www.stackoverflow.com">Stack Overflow</a>,
<a href="http://www.GitHub.com">GitHub</a>, <a href="http://msdn.microsoft.com/">MSDN</a>,
online documentations, <a href="http://www.emadmokhtar.com/">my blog</a>, other
developers blogs, etc.., but what I’m doing is not just search for a
code to copy and paste it in order get things done, absolutely not I’m
search for a …</p>
<a class="btn" href="http://www.emadmokhtar.com/to-google-or-not-to-google.html#to-google-or-not-to-google">Continue reading</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="http://www.emadmokhtar.com/add-image-zoom-to-aspnet-webform-gridview.html#add-image-zoom-to-aspnet-webform-gridview">Add Image Zoom to ASP.NET WebForm GridView</a></h2>
<p>
Posted on Mon 27 May 2013 in <a href="http://www.emadmokhtar.com/category/aspnet.html">ASP.NET</a>
• Tagged with
<a href="http://www.emadmokhtar.com/tag/aspnet.html">aspnet</a>, <a href="http://www.emadmokhtar.com/tag/gridview.html">gridview</a> • <a href="http://www.emadmokhtar.com/add-image-zoom-to-aspnet-webform-gridview.html#disqus_thread">Leave a comment</a>
</p>
</header>
<div>
<p>The main reason I’m writing this article is to let you know there is
always some way better and simpler to don something, one day I want to
add image zoom feature to ASP.NET WebForms GridView that shows list of
products with thumbnail, and instead of user click on row to get the
product information and see a full picture of the product, I want user
to just when hovering on the image a big preview of it appears, I found
this jQuery plug-in called
<a href="http://www.elevateweb.co.uk/image-zoom">elevateZoom</a> I love it because
it’s simple, have a lot of feature, and easy to configure.</p>
<p>Now the change is how to add this plug-in to every single image in every
row in GridView, I googled but unfortunately I found many of complex
solution and I thought these developers intend to make this complex, but
no this isn’t that complex, I denied all of them even they are working
and I’ll tell you what If done in the end of this article, so let us how
to get this done.</p>
<p>First <a href="http://www.elevateweb.co.uk/image-zoom/download">download</a> the
plug-in, reference jQuery to your ASP.NET application, second add the
GridView control to your form and …</p>
<a class="btn" href="http://www.emadmokhtar.com/add-image-zoom-to-aspnet-webform-gridview.html#add-image-zoom-to-aspnet-webform-gridview">Continue reading</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="http://www.emadmokhtar.com/how-do-i-learn.html#how-do-i-learn">How do I learn?</a></h2>
<p>
Posted on Sat 20 April 2013 in <a href="http://www.emadmokhtar.com/category/developer.html">Developer</a>
• Tagged with
<a href="http://www.emadmokhtar.com/tag/carftsmanship.html">carftsmanship</a>, <a href="http://www.emadmokhtar.com/tag/coder.html">coder</a>, <a href="http://www.emadmokhtar.com/tag/developer.html">developer</a>, <a href="http://www.emadmokhtar.com/tag/learn.html">learn</a>, <a href="http://www.emadmokhtar.com/tag/programmer.html">programmer</a> • <a href="http://www.emadmokhtar.com/how-do-i-learn.html#disqus_thread">Leave a comment</a>
</p>
</header>
<div>
<p><img alt="abraham lincoln qoute" src="http://www.emadmokhtar.com/images/abrahamlincoln109275.jpg"></p>
<p>I’ve got many questions from young developers who want to learn programming and be professionals, I thought of writing this article to give them a glance about how I learn software stuff. I want to tell you I’m still learning and I’ll always pursuit knowledge and being professional software craftsman, and you should consider the same, believe me if you stop learning, you’ll become outdated in this field, and you’ll suck, I met developers with big fat years of experience but they are outdated since 5 years and they can’t go with new technologies anymore, ask any doctor or lawyer and he’ll tell you this craft is about leaning and learning and gaining knowledge.</p>
<p>Learning development is separated into two parts:</p>
<ol>
<li>Dealing with human.</li>
<li>Dealing with computer.</li>
</ol>
<h1>Dealing with human</h1>
<p>Dealing with human like dealing with client, don’t tell me I just want to code dude, no sometime if not all of the time you have to deal with the clients, think of it as you have your own company you’re entrepreneur now, Do you want to write code only? or you want to create success product by gathering the right …</p>
<a class="btn" href="http://www.emadmokhtar.com/how-do-i-learn.html#how-do-i-learn">Continue reading</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="http://www.emadmokhtar.com/storing-password-in-plain-text-youre-doing-it-wrong.html#storing-password-in-plain-text-youre-doing-it-wrong">Storing password in plain text, you’re doing it wrong</a></h2>
<p>
Posted on Wed 06 March 2013 in <a href="http://www.emadmokhtar.com/category/aspnet.html">ASP.NET</a>
• Tagged with
<a href="http://www.emadmokhtar.com/tag/security.html">security</a>, <a href="http://www.emadmokhtar.com/tag/dotnet.html">dotNet</a>, <a href="http://www.emadmokhtar.com/tag/csharp.html">Csharp</a> • <a href="http://www.emadmokhtar.com/storing-password-in-plain-text-youre-doing-it-wrong.html#disqus_thread">Leave a comment</a>
</p>
</header>
<div>
<p><img alt="Hacking for password" src="http://www.emadmokhtar.com/images/114166encryption.jpg"></p>
<p>If you’re software developer then there is big chance you’ll implement user login feature, and you must store the username and password in your system. Most of developers stored these precious information in database as plain text, yes we did include myself I was doing it wrong, and if you’re doing it please stop and read this article to know how to do it right and being awesome.</p>
<p>Username, Password, or Pin codes these are precious information, and if hacker or even internal employee stole the database he can do whatever he wants with your users information. So How to keep these information safe? The answer is hashing it.</p>
<p>Why I was not doing that? I was lazy and every time I googled/binged/searched about this, I found many complex How-To articles, but last week I finally found something simple and it’s the reason I’m writing this article.</p>
<h1>What is hashing?</h1>
<p>Hashing is encoding string "message” to hash value and you can’t reproduce the original string “message” from hash value, so it’s one way cryptographic algorithm, <a href="http://stackoverflow.com/questions/326699/difference-between-hashing-a-password-and-encrypting-it">it’s different than encryption</a> that it’s two way cryptographic algorithm.</p>
<h1>How to Hash password …</h1>
<a class="btn" href="http://www.emadmokhtar.com/storing-password-in-plain-text-youre-doing-it-wrong.html#storing-password-in-plain-text-youre-doing-it-wrong">Continue reading</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="http://www.emadmokhtar.com/add-elegant-style-to-aspnet-webforms-gridview-control.html#add-elegant-style-to-aspnet-webforms-gridview-control">Add elegant style to ASP.NET WebForms GridView control</a></h2>
<p>
Posted on Wed 11 July 2012 in <a href="http://www.emadmokhtar.com/category/aspnet.html">ASP.NET</a>
• Tagged with
<a href="http://www.emadmokhtar.com/tag/aspnet.html">aspnet</a>, <a href="http://www.emadmokhtar.com/tag/gridview.html">gridview</a> • <a href="http://www.emadmokhtar.com/add-elegant-style-to-aspnet-webforms-gridview-control.html#disqus_thread">Leave a comment</a>
</p>
</header>
<div>
<p><img alt="5628591299_8d5839c072" src="http://www.emadmokhtar.com/images/5628591299_8d5839c072.jpg"></p>
<p>We are developers whom use the left side of our brains that why we suck in
designing; we’ll use the already exist styles while developing ASP.NET
web application, that what we’ll do if we don’t have a designer in our
team, but thanks for the CSS framework over the internet which make our
like more easier.</p>
<p>Nowadays I’m playing with <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap</a> CSS framework and I find myself create very neat and awesome looking ASP.NET applications by just using the already defined CSS classes in the framework, it’s so easy and the documentation is easy to understand and readable, you can find the documentation right
<a href="http://twitter.github.com/bootstrap/base-css.html">here</a>.</p>
<p>So let’s get into the business, the most commonly used ASP.NET Control
<strong>GridView</strong> is very ugly if you don’t apply a style to it, it’ll look
like an awful HTML table with bunch of rows and columns, sure you can
use the ready made styles “Auto Format” created by Microsoft team, but
also you can apply much better style to it, let’s find
how.<img alt="SNAG-0089" src="http://www.emadmokhtar.com/images/SNAG-0089.png"></p>
<p>I’ll show you how to apply 2 styles to GridView:</p>
<ol>
<li>Twitter Bootstrap.</li>
<li>ASP.NET Dynamic Data.</li>
</ol>
<h3>Twitter …</h3>
<a class="btn" href="http://www.emadmokhtar.com/add-elegant-style-to-aspnet-webforms-gridview-control.html#add-elegant-style-to-aspnet-webforms-gridview-control">Continue reading</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="http://www.emadmokhtar.com/aspnet-expressions.html#aspnet-expressions">ASP.NET Expressions</a></h2>
<p>
Posted on Thu 10 May 2012 in <a href="http://www.emadmokhtar.com/category/aspnet.html">ASP.NET</a>
• Tagged with
<a href="http://www.emadmokhtar.com/tag/aspnet.html">aspnet</a>, <a href="http://www.emadmokhtar.com/tag/webforms.html">webforms</a> • <a href="http://www.emadmokhtar.com/aspnet-expressions.html#disqus_thread">Leave a comment</a>
</p>
</header>
<div>
<p>ASP.NET Expression is written inline surrounded with <% %> in other words you will write them with your markup in .ASPX files for specific task, for example if want to access a connection string there an expression for that</p>
<div class="highlight"><pre><span></span><span class="cp"><%</span><span class="err">$</span> <span class="ss">ConnectionStrings</span><span class="p">:</span><span class="no">DefaultConnection</span> <span class="cp">%></span><span class="x"></span>
</pre></div>
<p>Let’s lists all ASP.NET Expression and it’s task:</p>
<ol>
<li>
<p><strong>Directive Expression</strong> <%@ .. %> </p>
<ul>
<li>It’s used in Web Forms .ASPX files or User Control .ASCX files
to set settings, for example the Page directive where you can
declare Title, Master Page, Language, etc.
<code>aspx
<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.Master"
AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="ASPNETExpressions._Default" %></code></li>
</ul>
</li>
<li>
<p><strong>Data-Binding Expression</strong> <%# .. %></p>
<ul>
<li>
<p>Create binding between server control with data source when calling DataBind() method, most of the time you’ll see this expression inside Data Bound Controls like GridView and DetailView.</p>
<p><code>aspx
<asp:TextBox runat="server" ID="txtFirstName" Text="<%# Eval("FirstName") %>"/></code></p>
</li>
</ul>
</li>
<li>
<p><strong>Expression Builder</strong> <%\$ .. %></p>
<ul>
<li>This expression is used to set controls properties that located in configuration files <code>Web.Config</code> such as <code>AppSettings</code>, <code>ConnectionStrings</code>, or <code>Resources</code></li>
<li>Its syntax is <code><$ Expression Prefix: Expression Value %></code>
<code>aspx
<%$ ConnectionStrings:DefaultConnection %></code></li>
</ul>
</li>
<li>
<p><strong>Server-side Comment Expression</strong> <%-- .. --%></p>
<ul>
<li>It’s to comment a block of code so that it’ll not rendered or executed inside the page.
<code>aspx
<%— This …</code></li></ul></li></ol>
<a class="btn" href="http://www.emadmokhtar.com/aspnet-expressions.html#aspnet-expressions">Continue reading</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="http://www.emadmokhtar.com/aspnet-page-lifecycle-in-plain-english.html#aspnet-page-lifecycle-in-plain-english">ASP.NET Page Lifecycle in Plain English</a></h2>
<p>
Posted on Thu 03 May 2012 in <a href="http://www.emadmokhtar.com/category/aspnet.html">ASP.NET</a>
• Tagged with
<a href="http://www.emadmokhtar.com/tag/aspnet.html">aspnet</a> • <a href="http://www.emadmokhtar.com/aspnet-page-lifecycle-in-plain-english.html#disqus_thread">Leave a comment</a>
</p>
</header>
<div>
<p><img alt="asp.net" src="http://www.emadmokhtar.com/wp-content/uploads/2012/05/asp.net_.jpg"></p>
<p>ASP.NET Page Lifecycle is very important piece of knowledge every ASP.NET developer must know, and unfortunately some of ASP.NET developer out there don’t know and they think it’s not important to know.</p>
<p>Let’s dig in and let’s examine ASP.NET Lifecycle but in short list and description:</p>
<ol>
<li>
<p><strong>PreInit():</strong></p>
<ul>
<li>In this event all Controls created and Initialized with their default values. You can create dynamic Controls here. You can set theme programmatically here</li>
</ul>
</li>
<li>
<p><strong>OnInit():</strong></p>
<ul>
<li>In this event you can read the Controls properties the were set in Design Mode and can not read values changed by user.</li>
</ul>
</li>
<li>
<p><strong>LoadViewState():</strong></p>
<ul>
<li>This event fires only if the page is posted back <code>IsPostback == true</code> and here View State data where are stored in hidden form fields get de-serialized and loads all controls View State data.</li>
</ul>
</li>
<li>
<p><strong>LoadPostBackData():</strong></p>
<ul>
<li>This event only fires when Page is posted back and Controls which implement <code>IPostBackDataHandler</code> interface get loaded with values from <code>HTTP POST</code> data.</li>
</ul>
</li>
<li>
<p><strong>Page_Load():</strong></p>
<ul>
<li>This event is well known among ASP.NET developers and here Page gets loaded and after it all <code>Load()</code> events of Page Controls fired.</li>
</ul>
</li>
<li>
<p><strong>Control Event Handlers:</strong></p>
<ul>
<li>These are basically event handlers like Button click event handler <code>Button_Click …</code></li></ul></li></ol>
<a class="btn" href="http://www.emadmokhtar.com/aspnet-page-lifecycle-in-plain-english.html#aspnet-page-lifecycle-in-plain-english">Continue reading</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="http://www.emadmokhtar.com/technology-u-turn.html#technology-u-turn">Technology U-Turn</a></h2>
<p>
Posted on Thu 26 April 2012 in <a href="http://www.emadmokhtar.com/category/developer.html">Developer</a>
• Tagged with
<a href="http://www.emadmokhtar.com/tag/aspnet.html">aspnet</a>, <a href="http://www.emadmokhtar.com/tag/aspnetmvc.html">aspnetmvc</a>, <a href="http://www.emadmokhtar.com/tag/nosql.html">nosql</a>, <a href="http://www.emadmokhtar.com/tag/technology.html">technology</a> • <a href="http://www.emadmokhtar.com/technology-u-turn.html#disqus_thread">Leave a comment</a>
</p>
</header>
<div>
<p><img alt="U-Turn" src="http://www.emadmokhtar.com/images/U-Turn.png"></p>
<p>Technology U-Turn is a terminology I invented that means when a technology leave the direction and take a new one then get back to the old one, actually I invented this term when I realized till now there are two technologies did this, I don’t know if there are more or not but nowadays these two technologies are in the top of tech news.</p>
<h1>ASP.NET:</h1>
<p>In the past web developers were using <a href="http://en.wikipedia.org/wiki/Active_Server_Pages">ClassicASP</a> till Microsoft released <a href="http://www.asp.net/">ASP.NET</a> to help Windows Forms developers to develop Web Application with the same look and feel, then create the code behind approach where you will write the server-side code instead on inline script like in <a href="http://en.wikipedia.org/wiki/Active_Server_Pages">Classic ASP</a>, but <a href="http://www.php.net/">PHP</a> still using the same approach by using inline scripting. Microsoft make the U-Turn and back to inline scripting in ASP.NET MVC especially in <a href="http://en.wikipedia.org/wiki/Microsoft_ASP.NET_Razor_view_engine">Razor view engine</a>. in <a href="http://www.php.net/">PHP</a> you have the full control over HTML like in <a href="http://www.asp.net/mvc">ASP.NET MVC</a>.</p>
<p><a href="http://www.php.net/">PHP</a> stuck with the same direction of inline scripting and keep enhance its technology, but Microsoft change the direction to ASP.NET and guess what back again after enhance the inline scripting from ASPX view engine then <a href="http://en.wikipedia.org/wiki/Microsoft_ASP.NET_Razor_view_engine">Razor view engine</a>.</p>
<h1>NoSQL …</h1>
<a class="btn" href="http://www.emadmokhtar.com/technology-u-turn.html#technology-u-turn">Continue reading</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="http://www.emadmokhtar.com/the-good-the-bad-and-the-ugly-developers.html#the-good-the-bad-and-the-ugly-developers">The good, the bad, and the ugly developers</a></h2>
<p>
Posted on Thu 15 March 2012 in <a href="http://www.emadmokhtar.com/category/developer.html">Developer</a>
• Tagged with
<a href="http://www.emadmokhtar.com/tag/coder.html">coder</a>, <a href="http://www.emadmokhtar.com/tag/developer.html">developer</a> • <a href="http://www.emadmokhtar.com/the-good-the-bad-and-the-ugly-developers.html#disqus_thread">Leave a comment</a>
</p>
</header>
<div>
<p><img alt="Intresting tweet" src="http://www.emadmokhtar.com/images/Intresting-tweet.png"></p>
<p>I saw very interesting tweet from <a href="https://twitter.com/#%21/gblock"><strong>Glenn
Block</strong></a> <a href="https://twitter.com/#!/gblock">@gblock</a>
and this remind me with something I read in <a href="http://www.amazon.com/Clean-Coder-Conduct-Professional-Programmers/dp/0137081073">The Clean
Coder</a>
book from Uncle Bob Martin, which talks about professional developer and
what to do to be a professional. Uncle Bob describe the professional
developer takes the responsibility of his mistakes, it’s true because if
he take this responsibility, he’ll learn from his mistakes and learn how
he made it in first place, so he can avoid it next time, even if he make
this mistake again he knows how to solve it quick and clean.</p>
<p>Personally I learn like this and it’s teach you the lesson very well.</p>
<p>Dear readers please give me your feedback/opinion about this subject.</p>
<a class="btn" href="http://www.emadmokhtar.com/the-good-the-bad-and-the-ugly-developers.html#the-good-the-bad-and-the-ugly-developers">Continue reading</a>
</div>
</article>
<div class="pagination">
<a class="btn" href="http://www.emadmokhtar.com/index6.html">
<i class="fa fa-angle-left"></i> Older Posts
</a>
<a class="btn float-right" href="http://www.emadmokhtar.com/index4.html">
Newer Posts <i class="fa fa-angle-right"></i>
</a>
</div>
<footer>
<p>© Emad Mokhtar </p>
<p>Built using <a href="http://getpelican.com" target="_blank">Pelican</a> - <a href="https://github.com/alexandrevicenzi/flex" target="_blank">Flex</a> theme by <a href="http://alexandrevicenzi.com" target="_blank">Alexandre Vicenzi</a></p> </footer>
</main>
<!-- Google Analytics -->
<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-11401860-2', 'auto');
ga('send', 'pageview');
</script>
<!-- End Google Analytics -->
<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "Blog",
"name": " Emad Mokhtar's Framework ",
"url" : "http://www.emadmokhtar.com",
"image": "http://www.emadmokhtar.com/images/profile.jpg",
"description": "My thoughts and experince on software development and life."
}
</script><script type="text/javascript">
var disqus_shortname = 'emadmokhtarsframework';
(function () {
var s = document.createElement('script'); s.async = true;
s.type = 'text/javascript';
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>
</body>
</html>