Tuesday, September 28, 2010

Open-source framework for thinking about [2]



Although we have stressed the whole is greater than the sum of the individual, but how a single "individual" right to play a greater effect of the combination into the "whole" is not easy. Because these single framework developed by different teams, the framework and the framework of the impedance between the natural, between this framework and the framework of the "generation gap" requires additional configuration and coding to close.

Each frame has its own configuration file, the framework of the integration of disaster often brings configurations, such as the Spring and Struts integration, not only a Struts configuration file itself, not less, in Spring Action also needs to provide configuration information for each, and both need to comply with certain contract.

Framework and the framework with each other often occur between similar or duplicate functions, how to choose, how to use the often difficult for developers. Such as Spring AOP method itself provides a cache function to return the results, and Hibernate itself to provide two cache, whether both use it, or choose one from? The middle will often lead to much debate.

Framework integration problems have become increasingly prominent, we can find the open source community a large number of forums or discussion topics.

Currently there have been some attempts to solve the framework of the integration of open source projects, such as foreign AppFuse, domestic SpringSide, the integration of the framework to provide professional guidance. But there is no good solution to the actual needs of real development. The integrated framework in order to increase interoperability, network are spread too wide, leading to integration of the framework itself like a giant, daunting, and dexterity of the custom there, and reduce their utility, these integrated open source projects are often reduced to an instance of guiding.

Upgrade troubles

Active in the framework of the daily upgrade, feature-rich. Second, because of open source frameworks exist to some extent arbitrary, often leads to the actual use of the framework, we found lot of hidden Bug, it sometimes becomes inevitable upgrade to a frame. Open-source framework for formal specification than the Sun have a more flexible upgrade path, high and low version compatibility issues have become a common occurrence. Such as the famous Hibernate, the 3.0 version and 2.0 versions of the package names have undergone radical changes, just-released versions of Acegi and low very different, incompatible.

An integrated framework consists of a number of different team from the framework of the composition, integration framework in the framework of these combinations on high, the upgrade changes the underlying framework of the portfolio has caused a corresponding rise in the framework of the situation, the fragile stability of the integration framework is easily break.

The upgrade also has a direct combination of the framework development team brings the pressure of learning, in order to familiar with the framework of the new features and improvements in the development of spare time, they had to squeeze their spare time to learn continuously charge. Always a framework for learning the new features not yet been completed, another new version of the framework of another burst of cheers in the debut, allow developers to find all his efforts to just a horse ride a cow chasing the game.

3, the developer how to get out puzzle

Framework of explosive growth and the rapid pace of technological change, so just from traditional J2EE puzzle to get out of developers fall into a new dilemma. There are many personal experience of the developers a large fall in the line of grievances, and even many voices crying out, hope to return to JSP + JavaBean + JDBC to that era of innocence.

Framework of software development were also present to the world a fresh and happy, do not want to look forward to healthy individuals of the chaos into a holistic dispute. In the complicated puzzle out how the open source world and the plight of the ship to grasp the direction of their technology, is a meditative reverie every developers to do.

Focus on learning by analogy

Everyone's time is limited, for the periodic tight schedule anxious to work overtime and more so for the developers to make the developer could not "know the word all over the world to read the book to make world" learning-by-frame. Select good for themselves, for the project framework is particularly important focus of study. Not only master the technical details, but also to understand the framework of the principles and ideas, so that when in contact with the relevant framework, we can comprehend by analogy, identify what is true.

If you are in-depth understanding of the Struts MVC framework of principles and ideas, in contact with Tapestry, Spring MVC and other framework, you will find the difference between the two is metaphysical, rather than qualitative differences, even if the actual need for the framework really want to convert When you can easily smooth transition.







Recommended links:



MJPEG to AVI



Evaluate Java And JavaScript



IPTV: the problems faced by the outbreak of



Big Money 2



Easy to use FTP SERVERS



evaluation Audio Video Tools



ASF to MPEG



The Budget System Is Inadequately Prepared Elder Wu



Of c # (11) enumeration (Enums)



Articles about Remote Computing



Log multiple Gmail accounts at the same time - Firefox extension



MTS To MOV



Flash5 ACTIONSCRIPT Advanced Programming Guide (6)



Europe and the United States will not be outsourced as "mirage"?



Dealers said the switch to the sale of genuine OEM version of Win7 low profits



Rongcheng SCHOOL Link



Monday, September 13, 2010

On FreeBSD5.2 common operations (setting) changes


1. Chinese locale
FreeBSD 5.2 currently supported by the Simplified Chinese locale has the following:
zh_CN.GB18030
zh_CN.GBK
zh_CN.EUC
zh_CN.eucCN
As zh_CN.EUC is not a formal Chinese locale, FreeBSD 5.2 Release of XFree86 removed the support of zh_CN.EUC only support zh_CN.eucCN, for zh_CN.GBK and zh_CN.GB18030 in most Chinese ports that have not yet appropriate support. Is still zh_CN.eucCN (using GB2312 encoding) locale is most formal, but also the most mature.
The Chinese locale set methods (bash, can be used chsh to change, fcitx input method):
[Code: 1:4623 c8c5ca]
# File / etc / profile
export LANG = "zh_CN.eucCN"
export LC_CTYPE = "zh_CN.eucCN"
export XMODIFIERS =''@ im = fcitx''[/ code: 1:4623 c8c5ca]
Zh_CN.eucCN by the zh_CN.EUC to trigger the ports of some new problems. If fcitx to start, but the control panel can not display Chinese characters. The solution is to open / usr / ports / chinese / fcitx / Makefile, change all the strings zh_CN.EUC zh_CN.eucCN can.

Of course, you can still set zh_CN.EUC, but you need to ln a zh_CN.EUC the locale:

[Code: 1:4623 c8c5ca] cd / usr / share / locale & & ln-s zh_CN.eucCN zh_CN.EUC [/ code: 1:4623 c8c5ca]

2.X under the best terminal gnome-terminal
If you use bash, and like the Linux prompt is displayed, you can / etc / profile add the following:
[Code: 1:4623 c8c5ca] if ["$ BASH"]; then
PS1 =''u @ h: w $''
else
if ["` id-u `"-eq 0]; then
PS1 =''#''
else
PS1 =''$''
fi
fi [/ code: 1:4623 c8c5ca]
If your gnome-terminal does not make any settings, / etc / profile will not play any role. Can be set as follows:
[Code: 1:4623 c8c5ca] start gnome2 (startx / usr/X11R6/bin/gnome-session) and start the gnome-terminal, open the menu and click on: Edit -> current profile (U )..., open " Title and Command "tab, select the" run shell command "after the closure can be. [/ code: 1:4623 c8c5ca]

3.mozilla other browser plug-ins (Flash, acrobat):
First, install linuxpluginwrapper the port:

[Code: 1:4623 c8c5ca] cd / usr / ports / www / linuxpluginwrapper & & make all install clean [/ code: 1:4623 c8c5ca]
And then in / etc under the accession libmap.conf which reads as follows:
[Code: 1:4623 c8c5ca] # / etc / libmap.conf for FreeBSD 5.x
# $ Id: libmap.conf-FreeBSD5.x, v 1.1 2003/11/09 07:39:33 nork Exp $


# Flash6 with Opera is not avilable.

# Flash6 with Konqueror (temporary setting)
[/ Opt / mozilla / plugins / libflashplayer.so]
libpthread.so.0 liblthread.so.3
libdl.so.2 pluginwrapper/flash6.so
libz.so.1 libz.so.2
libstdc + +-libc6.2-2.so.3 liblstdc + +. so.4
libm.so.6 libm.so.2
libc.so.6 pluginwrapper/flash6.so

# Flash6 with Mozilla / Firebird / Galeon / Epiphany
[/ Usr/local/lib/linux-flashplugin6/libflashplayer.so]
libpthread.so.0 liblthread.so.3
libdl.so.2 pluginwrapper/flash6.so
libz.so.1 libz.so.2
libstdc + +-libc6.2-2.so.3 liblstdc + +. so.4
libm.so.6 libm.so.2
libc.so.6 pluginwrapper/flash6.so

# Acrobat with Opera
# [/ Usr/X11R6/lib/browser_plugins/nppdf.so]
# Libc.so.6 pluginwrapper / acrobat.so

# Acrobat with Konqueror (temporary setting)
# [/ Opt / mozilla / plugins / nppdf.so]
# Libc.so.6 pluginwrapper / acrobat.so

# Acrobat with Mozilla / Firebird / Galeon / Epiphany
# [/ Usr/local/Acrobat5/Browsers/intellinux/nppdf.so]
# Libc.so.6 pluginwrapper / acrobat.so
[/ Code: 1:4623 c8c5ca]

4.fat32, ntfs, cd9660 partition the problem of Chinese file name.
Chinese before the directory has gbfs port support, now can be realized without installing gbfs fat32 partition display Chinese file name. Is in the implementation of load-L zh_CN.eucCN mount_msDosfs parameters, such as:

[Code: 1:4623 c8c5ca] mount_msdosfs-L zh_CN.eucCN / dev/ad0s1 / mnt / disk [/ code: 1:4623 c8c5ca]
Cd9660 for ntfs and format, then use the other parameters-C gbk, such as:
[Code: 1:4623 c8c5ca] mount_cd9660-C gbk / dev/acd0 / cdrom [/ code: 1:4623 c8c5ca]
[Code: 1:4623 c8c5ca] mount_ntfs-C gbk / dev/ad0s1 / mnt / win [/ code: 1:4623 c8c5ca]

5.gnome2 Chinese garbled in xmms and gimp problem.
Both procedures are based on older gtk +1.2, the problem can be garbled in the user directory set up. Gtkrc.mine file:
[Code: 1:4623 c8c5ca] cat / usr/X11R6/share/themes/Default/gtk/gtkrc.zh_CN> $ HOME / .gtkrc.mine [/ code: 1:4623 c8c5ca]
Of course, you need according to your practical situation. Gtkrc.mine content, specific ways to refer to a number of posts in this forum.

6.nvidia official driver problems.
Driver Download: http://download.nvidia.com/freebsd/1.0-4365/NVIDIA-FreeBSD-x86-1.0-4365.tar.gz
I configured the XFree86 nv driver that comes with (preferably xf86cfg). But after installed the nvidia driver can not start X, by constantly trying to only remove / etc/X11/XF86Config in
ChipSet
This line to start.






Recommended links:



video converter



Music TV Infringement Trial Basis Have A Special Levy To The Views Of The Community



m4v file



How to become a DBA from a beginner



Comparison Religion



In addition to resource saving, NOD32 On what basis Can beef?



what is rmvb



Articles About Office Suites And Tools



Dell GO from here



Mp4 to wmv converter free



Tencent Behind The Opponent Who Already 51.com



Customers say "yes", in fact, not difficult



Compilation of various source - hdr



SIMULATION of bar code production



My favorite Screen Savers