Recently, one of my clients needed to have a date/time field to update/create their records. So I googled a bit and found a great sample/extension for my existing project.
Yes, it is Ext.ux.form.field.DateTime. However the existing extension does not have validation function so I just made a few changes on it.
/**
* @auther Elvis Hsu
* @class Ext.ux.form.field.DateTime
* @extends Ext.form.FieldContainer
*
* inspired by http://www.sencha.com/forum/showthread.php?134345-Ext.ux.form.field.DateTime
* This class is used for user input
*/
Ext.define('Ext.ux.form.field.DateTime', [...]
Home
» Archives for February 2012
Today, I was browsing around the web and found some interesting articles which are related to minify extjs on the fly. Well, if I can minify the server response and deflate it, that would be even faster to deliver to client's browser? So I decided to give it a go.
Bang~ It is faster than just minify the content. But so far I just tested with Apache server as it is most used http server in my projects. I just added the following code in my .htaccess file
# compress text, html, javascript, css, xml:
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType [...]
I have been developing some projects with ExtJs for a while and also created some plubg-ins and extensions for these projects. Recently, I found out that I have so many *.js and *.css codes and they are somehow too fat for some slow band width users. Well, I decided to google some solutions to minify my js and css codes. Luckily, I found minify and I am loving it. However, most of my ExtJs plug-ins and extensions are called by Ext.require and it is somehow complicated to override the Ext.Loader.require so I googled again... Ha... the answer came up from here (Using .htaccess [...]
Popular Posts
-
Recently, I was trying to update our internal system from ExtJs 3 to version 4. Well, I think many V3 plugins are needed to be updated...
-
Today, I was trying to connect to our VPN with Ubuntu 11.04 and found out that was not working. Well, after a bit searches on Google,...
-
Do you use your own domain name with Blogger? Do you place " Blogger's Stats Widget " on your page? Or do you regularly chec...
-
I have been developing some projects with ExtJs for a while and also created some plubg-ins and extensions for these projects. Recently, I...
-
I have visited many blog sites and most of them have " Related Posts " or " You may also like - " section for...
Categories
Coding
(
17
)
Tips
(
11
)
Javascript
(
8
)
C#
(
6
)
ExtJs
(
6
)
NETCF
(
5
)
Windows Mobile
(
5
)
Blogger
(
4
)
PHP
(
4
)
Linux
(
3
)
MySQL
(
3
)
Ubuntu
(
3
)
Android
(
2
)
Apache
(
2
)
CSS
(
2
)
Html
(
2
)
Minify
(
2
)
jQuery
(
2
)
Agile
(
1
)
C++
(
1
)
Exchange
(
1
)
Gimp
(
1
)
Life
(
1
)
Mac
(
1
)
Scrum
(
1
)
Buy me a cuppa
Thank you for visiting my blog.
If you'd like to support me,
you can buy me a cuppa.
If you'd like to support me,
you can buy me a cuppa.