记录学习过程中的点点滴滴
2009年十一月
8 Web Trends to Watch in 2010
十一 30th
- social media
- business
- mobile
- marketing
- search
- SEO
- web design & development
- software
Social Media
- Twitter integration and apps were king in 2009 and are here to stay. Either you integrate or you perish
- Tumblr is successful and growing in the shadow of Twitter, when Twitter finally loses steam will Tumblr be the new darling?
- Market consolidation in social media leaving only a few major players on the scene: Twitter, Facebook and who else?
- Social news (Digg, Reddit) and bookmarking (Delicious) will become obsolete. Already the first wave of social media that is social news and bookmarking lose against Twitter.
- Social browsing (StumbleUpon etc.) is already dead. There were more than a dozen of social browsing services in 2008. Most of them are dead or on hiatus already. More to follow.
Business
- We’ll witness a demise or hiatus of most startups without critical mass of users as the money runs out
- We can expect a proliferation of premium and freemium business models as venture capital stays scarce
- Companies and brands will have to develop a social media strategy in 2010 to stay afloat
- With business accounts and data access selling like hotcakes and additional revenue sources Twitter will become profitable in 2010 already
Mobile
- We’ll see a smartphone systems death match as the market isn’t big enough for all the often incompatible systems we have right now.
- Apple will be losing market share. The iPhone still looks like years ago. They don’t even have a netbook yet. They can’t rely on cult tactics forever.
- Phones and calls for free thanks Google: Google prepares the real Google Phone combining Google Voice and Gizmo5 VoIP to offer free calls.
Marketing
- We’ll see less bullshit and more substance in the online marketing field. As the Web matures more and more people become too savvy to get fooled.
- Advertising replaced on the Web by “ad content” that is non promotional content about the brand, company or products: Less banners more reports.
Search
- Real time search will go prime time for everyone, not just the search geeks and early adopters
- Google and Bing will keep on copying each other in order to capitalize on the search advertising market
- Advanced personalization will lead to your own personal search results for most people rendering ranking checks useless
SEO
- SEO is becoming ubiquitous, everybody does it (BBC etc.) and in 2010 those who don’t will fail to compete
- More SEO experts will return underground again inspite of ubiquitous SEO due to wide spread prejudice of the ignorant against the trade
- Like it or not but we’ll see more jQuery pop ups due to their high conversion rate. Thanks to @rhyswynne for the suggestion
Web Design & Development
- Mobile apps will continue to boom and optimized web pages for mobile use will become common place finally
- HTML5 and CSS3 will allow web designers to offer extra features possible backed by graceful degradation in oder to support for older browsers
- YouTube censorship spawns an open source and DIY video embedding counter movement. We already witness it but in 2010 you’ll look like a noob using YouTube on your site
Blogging
- Blogs get even more authoritative and accepted, becoming the “old media” of the Web
- Quick and clean miniblogging (Tumblr, Posterous etc.) establish a lively sphere between Twitter-like microblogging and blogging. @richardbaxter of SEOGadget agrees about Posterous continuous growth
- Video content finally gets the importance we expected for years now with growing band width etc.
Software
- There will be more cloud computing and web based software or rather webware around and people will use it more often
- Most notably Google Docs will convince more users of the Microsoft Office desktop edition to switch
- At the same time Google Chrome OS will be competing successfully with Windows at least on netbooks
Eclipse下使用Ant
十一 29th
目前的Eclipse都集成了ant,本文图示如何在eclipse下使用ant。
1.新建Java Project-新建Java文件HelloWorld.java
HelloWorld.java
package example;
public class HelloWorld {
public static void main(String[] args) {
System.out.println(“Hello World”);
}
}
2.在工程根目录下新建build.xml 更多 >
ant用法简介
十一 29th
Ant是什么?
Ant是一种基于Java和XML的build工具。
主页:http://ant.apache.org/index.html
详情:http://blog.csdn.net/lx999501/archive/2006/06/30/856024.aspx
Linux与Windows 共享文件-使用Samba
十一 29th
以前实习的时候mentor在windows下建立网络映射时,以为很简单,今天常识了一把,原来是需要linux下第三方软件的支持的-samba,才能建立linux和windows下的磁盘映射。
参考资料:http://linux.vbird.org/linux_server/0370samba.php#server_share【鸟哥私房菜】
java-追加内容到文件末尾的几种常用方法
十一 27th
代码实现是我从别处拷的,记录下
import java.io.BufferedWriter;
import java.io.FileOutputStream;
import java.io.FileWriter;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.io.RandomAccessFile;/**
* 描述:追加内容到文件末尾
* @author Administrator
*
*/
public class WriteStreamAppend {
/**
* 追加文件:使用FileOutputStream,在构造FileOutputStream时,把第二个参数设为true
*
* @param fileName
* @param content
*/
public static void method1(String file, String conent) {
BufferedWriter out = null;
try {
out = new BufferedWriter(new OutputStreamWriter(
new FileOutputStream(file, true)));
out.write(conent);
} catch (Exception e) {
e.printStackTrace();
} finally {
try {
out.close();
} catch (IOException e) {
e.printStackTrace();
}
}
}/**
* 追加文件:使用FileWriter
*
* @param fileName
* @param content
*/
public static void method2(String fileName, String content) {
try {
// 打开一个写文件器,构造函数中的第二个参数true表示以追加形式写文件
FileWriter writer = new FileWriter(fileName, true);
writer.write(content);
writer.close();
} catch (IOException e) {
e.printStackTrace();
}
}/**
* 追加文件:使用RandomAccessFile
*
* @param fileName
* 文件名
* @param content
* 追加的内容
*/
public static void method3(String fileName, String content) {
try {
// 打开一个随机访问文件流,按读写方式
RandomAccessFile randomFile = new RandomAccessFile(fileName, “rw”);
// 文件长度,字节数
long fileLength = randomFile.length();
// 将写文件指针移到文件尾。
randomFile.seek(fileLength);
randomFile.writeBytes(content);
randomFile.close();
} catch (IOException e) {
e.printStackTrace();
}
}public static void main(String[] args) {
System.out.println(“start”);
method1(“c:/test.txt”, “追加到文件的末尾”);
System.out.println(“end”);
}}
java中遍历文件目录的方法
十一 27th
代码如下:
/**
* 返回该目录以及子目录的所有文件列表
* @param absolutePath 目录的绝对路径
* @return 文件列表
*/
public List<File> readAllFiles(String absolutePath)
{
List<File> allFileList = new ArrayList<File>();
File curPath = new File(absolutePath);
for ( File file:curPath.listFiles())
{
if ( file.isDirectory() )
{
if ( file.getAbsolutePath().endsWith(“.svn”) == false )
{
allFileList.addAll(readAllFiles(file.getAbsolutePath()));}
}
else
{allFileList.add(file);
}
}
return allFileList;
}
redis是什么
十一 26th
今天发现一个类似与memcache的key-value的开源软件,比较新,不过貌似用得已经比较广泛了
记录下,抽时间看下.
redis 是一个高性能的key-value数据库,redis的出现,很大程度补偿了memcached这类keyvalue存储的不足,还有一个key-value数据库就是bdb(Berkeley DB).
google-code:http://code.google.com/p/redis/
安装方法:http://hi.baidu.com/thinkinginlamp/blog/item/3358c93d174e35ce9f3d62bf.html
今天终于装上ubuntu了
十一 26th
今天在虚拟机上装了ubuntu,没想到一装上就可以联网,原来虚拟机是使用NAT方式与主机共享一个ip,想当年大学时搞了好几天就没把虚拟机上网呀!然后赶紧下了个securecrt远程登陆软件,在ubuntu下使用下面的命令安装ssh:
sudo apt-get install ssh 利用securecrt登陆系统即可,以后要多在linux上开发php了。 本文地址:http://www.yaronspace.cn/blog/index.php/archives/227
近期评论