Category Archives: Công Nghệ

ngon ngu lap trinh

Nên học ngôn ngữ lập trình nào?

Bạn là một người dân công nghệ phát triển các phần mềm, thiết kế web, game, hay các phần mềm ứng dụng. Thì nên học ngôn ngữ lập trình để tốt cho công việc một nền tảng cho các công nghệ. Hay là một người muốn tìm hiểu và nhiều giá trị cảu việc học lập trình. Hay học để phát triển hay định hướng một nghề nghiệp sau này thì nên lựa chọn ngôn ngữ lập trình nào. Hiện nay trên thế giới có rất nhiều công nghệ lập trình như: PHP, ASP.NET và nhiều ngôn ngữ phổ biến khác. Với nhiều nguồn thông tin cũng ứng dụng của nó được lựa chọn và định hướng đúng các giá trị mà người học bỏ ra thời gian để hôc và đạt được kết quả tốt hãy xem và theo dõi chúng tôi để có cái nhìn tổng quan về các ngôn ngữ lập trình.

Lựa chọn mà cả một vấn đề về nguồn nguồn thông tin, cái nào tốt cái nào ứng dụng rộng và thực tế. Là một cái khó của người học. Bỏ quá nhiều thời gian để học giàn trải thì nên chọn ra một các ngôn ngữ tốt nhất lấy nó tiền đề cũng như thế mạnh cảu mình trong việc học các ngôn ngữ lập trình trong thời gian đã hoạch định trước để đạt được kết quả tốt. Và định hướng tốt cho nghề nghiệp của chúng ta sau này. Để tìm một công việc và ứng dụng các kiến thức mà chúng ta đã học và tìm hiểu trong thời gian dài sắp tới. Hãy trải nghiệm và rút kết các kinh nghiệm. May mắn thay các công nghệ không ngừng phát triển và có tính tương tương đồng cho nhau và dể dàng hiểu biết nắm bắt cơ bản đem lại nhiều cơ hội cũng như dể dàng cho người học và bắt đúng xu hướng của thế giới. Hãy nhìn 2 nến tảng rộng lớn nhất và ứng dụng nhiều nhất của ngôn ngữ lập trình. Đó là PHP và ASP.Net đó cũng là một trong 2 lựa chọn tốt nhất trong rất nhiều lựa chọn khác nhau. Để làm sau chọn đúng sỡ thích cũng như sở trường của mình để phát huy tối đa các giá trị cao nhất.

ngon ngu lap trinh
Như nói ở đây chúng ta nói đến PHP trước là một trong những ngôn ngữ lập trình mỡ vô vàng ứng dụng của nó đặc biệt trên Web và ngoài kia có vô vàng các công cụ ứng dụng cho deskop bằng ngôn ngữ php mà chúng ta có thể tìm thấy phát huy chúng, sữa chữa chúng, cũng như đem lại giá trị cao nhất trong các ứng dụng. Phát huy tối đa sự sáng tạo của nhà lập trình và nhà phát triển chúng.
Còn ASP.Net là một trong những nền tạng rộng lớn của ngôi nhà .Net cũng như PHP nó là một mã nguồn mở cho người sự dụng và phát triển.
Lời khuyên dành cho các bạn học ngôn ngữ lập trình. Nên tìm hiểu cả hai, sau đó rút ra cái hay và có tốt của 2 ngôn ngữ. Và đem lại giá trị cao nhất và quyết định theo đuổi một ngôn ngữ làm thế mạnh của mình.’

10 dotNET Articles You Should Not Miss

This is the first edition of the monthly post that collects not to be missed articles from around the web that relates to .net. The amount of articles may vary from month to month but the quality will never.

This month we cover topics such as Multi-Lingual Language Translations for ASP.NET, Dependency Injection using Spring.NET, How to Find Memory Leaks With CLRProfiler, WPF, PowerShell and many more. Enjoy!

Multi-Lingual Language Translations for ASP.NET

Here are a few free (paid for by me) language translations of common software terms for use in your multi-lingual ASP.NET application. This is particularly helpful if you want to create a list of available languages in Spanish, German, Chinese, etc… The language translation spreadsheet has generic term translations for Spanish, English, German, Italian, French, Chinese-Simple, and Japanese. The language name translations also includes Dutch, Korean, and Russian.

Dependency Injection using Spring.NET

Spring.NET is one of the popular open source framework ported from Java platform. It offers lot of functionality and in this article I will discuss about Dependency Injection and how it is supported in Spring.NET

Obfuscation and Packaging of .NET Applications via Compressed Embedded Assemblies

Shows a technique for embedding all the assemblies for an application as compressed, embedded resources into a single stub loader executable, extracting, decompressing and loading into the AppDomain at startup.

WPF & PowerShell – Part 7 (Sharing Hosts)

Well here we are at the end of a week of WPF. We’ve learned how to create basic, simple user interactive interfaces. We’ve seen a brief glimmer of the golden UI layer that is WPF, and have seen how we can use PowerShell to add easy interactivity to XAML. You’ve seen tricks to help you work your way through .NET code, and help you unwrap the mysteries of WPF. We’ve seen how we can use PowerShell’s list processing technology allows for simple binding to WPF’s controls, and how WPF applets can help you present a simple front ends to PowerShell functionality. We’ve gotten a very brief taste of what the pipeline can bring to User interfaces, and we’ve showed you how to make controls that run in the background so you can build your control in PowerShell and still use PowerShell.

Patterns in Practice – The Open Closed Principle

This is the first installment of a new MSDN® Magazine column on software design fundamentals. My marching orders are to discuss design patterns and principles in a manner that isn’t bound to a specific tool or lifecycle methodology. In other words, my plan is to talk about the bedrock knowledge that can lead you to better designs in any technology or project.
I’d like to start with a discussion of the Open Closed Principle and other related ideas popularized by Robert C. Martin in his book, Agile Software Development, Principles, Patterns, and Practices. Don’t be turned off by the word “agile” in the title, because this is all about striving for good software designs.

How to Find Memory Leaks With CLRProfiler

We all know managed code can have memory leaks. You can find a good example here: A .NET memory leak you did not think about. Microsoft provides us with the CLR Profiler, an open source tool for analyzing the behavior of your managed application, which you can download here. It contains very good documentation about the different functions of the tool, however I still find it a bit hard to start with, so here is a simple step-by-step example of how to use it.

Animation in-depth with Silverlight 2.0 Beta – Part Four

In this example I’ll show you how animations can be performed using a VideoBrush. This is one of the examples that attracts the users attention by completing the animation at the right time. The video will be clipped and rotated during the animation.

IronRuby on Rails. Microsoft makes it happen.

Now… No more doubts about Open Source Support by Microsoft. The first ever Open Source Project comes live now.

Mr. John Lam, the person behind IronRuby has provided more information on his blog here… Here are the Highlights of his blog.

Optimization Tips: Using HTTP Compression

I know it has been a few weeks since the last installment in this series, and with TechEd on the horizon it’ll probably be a couple ’til the next, but as long as there is some time in between let’s explore another area of performance optimization with the RadControls for ASP.NET AJAX. This week, we’re going to take a look at HTTP compression and how this simple technique can deliver a valuable performance boost to your website.

ASP.NET Memory: Thou shalt not store UI objects in cache or session scope

Surprisingly the issue I wrote about in “the eventhandlers that made the memory baloon” (Jan 2006) is something that still happens very frequently, I reference it in cases at least a few times a month. Just this last week I had different variations of it crop up in different cases so in this post I will show a different variation, what to look out for and how to identify it.

Choosing the Right Technology for Your Next .NET Desktop Application

Choosing the right technology for your desktop application project can be hard. We’ve created a short questionnaire to help you make an informed decision.

The Developer Dilemma

Developers often find themselves at a crossroads when choosing between various technologies and frameworks to use in a new desktop app project. StackOverflow is filled with threads on this topic, illustrating the conundrum developers often face when starting the development of a new application. Sometimes the project requirements can narrow down the options to only a few, or even, perhaps, a single one. However, there are cases in which a thorough evaluation is required in order to make the right decision.

Last year, we surveyed over 1,000 .NET developers on topics ranging from technology adoption to favorite tools and learning habits. We also asked about trends and perceptions of the latest Microsoft technologies. It is obvious that when in comes to building Windows desktop applications, WPF and WinForms are the most popular technologies.

Windows Desktop Technology .NET developer survey
However, these results might exclude the project requirements and there are quite a few factors to be considered before drawing the line.

Making a Choice

There are various things to consider when picking the best technology to use for developing a desktop application. They include, but are not limited to:

  • What environment or OS are you targeting?
  • How important is ease of development and the memory footprint?
  • What is your budget for the project and what are the deadlines for production?
  • How crucial is the stability of the applications?
  • What development language do you and your team specialize in and feel comfortable with?

Additionally, developers have to consider factors such as framework sustainability and long term usability, the ease of setting up a build-environment to ensure an easy hand-off to other people maintaining the app, as well as documentation to help your developers get started.

In order to make the right decision, you first need to answer these questions for yourself and assess the possible options based on them. This topic is pretty massive and there is no one size fits all solution. Not only that, but as we are embracing the mobile-first mindset, you have to think about extending your desktop app experience towards other device families, such as phones or tablets.

Choosing the RIGHT Technology for Your Next .NET Desktop Application

.NET Tech Choice WinForms vs WPF vs UWP image

Here at Progress, we have a long history with the .NET stack and the various technologies and frameworks revolving around it. Our mission has always been to empower developers and provide them with the right tools, whether UI or productivity, to enable faster and more robust application development. With that in mind, we felt the need to step in and help you solve the challenges you face in your day to day tasks.

We’ve created a short questionnaire to guide you in the right technology of choice for your next .NET desktop application. The questions are aimed at narrowing down the options and providing the best solution for your case. Based on your answers, we will suggest the best match of technology for you, backed up by a detailed overview, a comparison with alternative options and resources to kick-start your development.

.NET basic technologies overview

It can be difficult to navigate the .NET waters, especially if you are new to the arena. Over the next couple of months, I will write about some of the biggest areas of the .NET ecosystem and offer overviews of the major players in those areas. If you are new to .NET, this series will help you figure out what technologies you need to learn and understand the various parts of the .NET system. Part one covers the basics of .NET.

  • Visual Studio is Microsoft’s IDE for .NET development. The current version is Visual Studio 2010. It comes in a number of editions, from Visual Studio 2010 Express (which is free) to Visual Studio 2010 Ultimate (which is quite expensive).
  • C# is the most popular language for writing .NET applications. C# is a C-style language that initially took a lot of cues from Java, but it has branched out quite a bit in the last couple of versions. For a while, C# was receiving new language features before VB.NET, but now the two languages are almost completely in parity with each other. C# has been incorporating elements of functional, dynamic, and declarative paradigms lately.
  • VB.NET has virtually the same capabilities as C#, but it relies more upon words and less upon symbols than C#. Notably, VB.NET uses the new line character to separate statements, which makes things like multi-line lambdas a problem.
  • F# is an object-oriented functional programming language based on OCaml. F# is best suited for algorithmic work.
  • IronRuby and IronPython are open source implementations of Ruby and Python, respectively, that run on the .NET Common Language Runtime (CLR). The integration is not totally seamless in terms of using IronRuby and IronPython within other .NET applications, or calling into the .NET Framework from inside, but if you are interested in either use, these languages are options.
  • The .NET CLR is a virtual machine that .NET code runs within. When you compile and link a .NET application, it does not create a native binary, it creates a binary that targets the .NET CLR. This means that anyone can write a .NET CLR for another platform and run .NET apps without recompiling/relinking them. The only alternative .NET CLR of any note is Mono, and while it is compatible with the .NET CLR, its implementation of the .NET Framework is not 100% identical.
  • The .NET Framework is a set of standard libraries providing the most common functionality to a .NET application. The .NET Framework encompasses thousands of objects and dozens of namespaces. A good part of being an effective .NET developer is learning where things are located in the .NET Framework, and understanding what is in it so you do not reinvent the wheel.
  • WinForms is the traditional .NET way of working with UIs in desktop applications. Code is written to create objects procedurally that represent UI elements, and the same code manipulates them. WinForms depends on an event handling mechanism to have user actions trigger code to be run. WinForms is being superseded by Windows Presentation Foundation (WPF) fairly quickly.
  • WPF is a set of technologies introduced with Windows Vista and .NET 3.0 that allow UIs to be declaratively defined via XML in a language called XAML. WPF is the foundation for Silverlight, and allows developers to create animations, transitions, and other effects much more easily than they could in WinForms. Visual Studio 2008 was not very good at handling WPF, but Visual Studio 2010 is good enough that for many uses, you don’t need to directly learn XAML or Expression Blend (a tool dedicated to XAML).
  • Silverlight is a somewhat portable system for running .NET code (using a stripped down version of the .NET Framework) with WPF as its UI. Right now, Silverlight runs on Windows and Mac OS X with Microsoft-made binaries, and on Linux with the Moonlight application. While Silverlight is most commonly associated with in-browser plugins, Silverlight apps can also run out of the browser environment, and will get more access to the local OS when they do so.
  • ASP.NET is to Web applications as WinForms is to desktop applications. In fact, ASP.NET deliberately tries to implement the WinForms model for Web development. While ASP.NET works, it can be very confusing and takes a lot of control away from developers. A lot of development work is shifting to ASP.NET MVC.
  • ASP.NET MVC, like WPF, is a much more declarative way of writing Web applications and gives the developer more control compared to ASP.NET. ASP.NET MVC is based on ideas found in systems such as Ruby on Rails. In particular, ASP.NET MVC “prefers convention over configuration” and focuses greatly on separation of concerns. As ASP.NET MVC matures, it is becoming a viable option for most .NET Web development projects.

In my next edition of this .NET series, I will talk about technologies that are specific to working with data (and not just databases).