|
|
|
|
|
Seems I’ve decided to stuff my IDEA with all possible things that i use daily and since I love comfortable living, i want to have things doing job in a right way. Days ago i wrote about Wrapping YUI Compressor into your IntelliJ IDEA so today I've got one more hint for you – adding JSBuilder, just this time I will explain things in less steps since previous article explains primary steps. JSBuilder2 is a JavaScript and CSS project build tool. You can download it from here: http://www.extjs.com/products/jsbuilder/ Why I needed it first of all, – one simple reason, when you working with ExtJS SVN there are tons of files, sometimes you can get new files daily, but you need to have a build tool that will wrap gazillion of standalone JavaScript files into one single ext-all.js (in my case, in reality you can create your own scenario and create own builds for others projects). So that’s why you need to have JSBuilder next to you. So let’s have job done, go into your IDEA Settings\External Tools and hit Add and following dialog will popup: Name your tool let’s say JSBuilder, you can put it into the same group as you did with YUI Compressor – JavaScript Tools. Now let’s add program settings, since it’s a Java application, our program will be java. Parameters would be following line: -jar "D:\FTP\Devx\JavaScript\JSBuilder2\JSBuilder2.jar" --projectFile "$FilePath$" --homeDir "$ProjectFileDir$" Notice that i wrapped "$FilePath$" and "$ProjectFileDir$" into quotes, this will save you from issues where file path contains spaces. And the last thing is working directory which is equal to $FileDir$. Then just hit Ok and you’ve got new tool added to your IDEA. 
After these news about JetBrains releasing IDEA to open source, I’m sure this IDE will get even more attention now. For last few years I’ve tried gazillion of IDEs for JavaScript in my recent favorite was always Visual Studio, it’s just had all i needed, one IDE to develop any kind of things. Well it was like this until i actually tried IntelliJ IDEA. Funny thing is that this IDE is pushed as Java dedicated one and you barely can find some straight away notice that it has ass kicking JavaScript support, you can read about it here: http://www.jetbrains.com/idea/features/javascript_editor.html Well reading was not enough for me, I had to try it, and guess what, i moved out from Visual Studio… Okay, that was a preface let’s say, all i wanted today here is to bring some light how you can expand IDEA functionality with few more external tools. My today’s issue on the table is how to stick YUI Compressor into IDE and compress my JavaScript files with one click. Whole thing takes 5 mins actually, let me show you few steps to get it done. So for a start you need to get YUI Compressor. You can grab it from here: http://yuilibrary.com/downloads/#yuicompressor Unpack downloaded ZIP file into some folder and get back to your IDEA, click there in File menu item titled ‘Settings’, or just press Ctrl+Alt+S, it will do the same, open the Settings Dialog that would look some what like this: Under IDE Settings section in this dialog select External Tools and then Click ‘Add’ button in the top right side of this dialog. Now let’s fill it with some data. I named this tool as YUI Compressor. And the group I defined for this tool and for all others of this kind I will have in the future is JavaScript Tools. There is a menu section you can see below Name and Description input fields, there you can unselect all except Project Views. Now let’s setup some command lien arguments. Program that executes whole thing in our case will be java, to which we are passing list of parameters: -jar "D:\yuicompressor-2.4.2\build\yuicompressor-2.4.2.jar" -o $FileNameWithoutExtension$-min.js $FileName$ As you ca see i specify path for YUI Compressor and then it’s options, that means that any file i take to compress it will create a packed/compressed file with filename-min.js pattern. And the working directory for this action will be current project folder, that’s why we have it set to $ProjectFileDir$. Now just click OK button and you’ve got yourself new tool. Now when you right click on some JavaScript file you have new group of tools – JavaScript Tools and it has our YUI Compressor in it. That’s it. Job is done. About YUI Compressor The YUI Compressor is written in Java (requires Java >= 1.4) and relies on Rhino to tokenize the source JavaScript file. It starts by analyzing the source JavaScript file to understand how it is structured. It then prints out the token stream, omitting as many white space characters as possible, and replacing all local symbols by a 1 (or 2, or 3) letter symbol wherever such a substitution is appropriate (in the face of evil features such as eval or with, the YUI Compressor takes a defensive approach by not obfuscating any of the scopes containing the evil statement) The CSS compression algorithm uses a set of finely tuned regular expressions to compress the source CSS file. The YUI Compressor is open-source, so don't hesitate to look at the code to understand exactly how it works.
Source: InfoWorld JetBrains, which has provided its IntelliJ Idea Java IDE as a commercial product, now is offering a preview of a free, open source [1] version of the IDE. The company on Thursday unveiled the free Community Edition of IntelliJ Idea, downloadable at this Web page [2]. The upcoming version 9.0 [3] of the IDE marks the first time the product will be offered in two editions, with the commercial product to be called the Ultimate Edition. The two editions are due for general release in late November. With the free edition, JetBrains said it hopes to remove the only barrier to wider use of the product -- its price tag. A commercial license for IntelliJ Idea costs $599. "We've always been open to the community -- with our public EAP (Early Access Program), issue trackers, forums, and so on. This made for a tight and direct feedback loop with our users, even at a time when this wasn't a widely accepted practice in the industry. Since then, we've supported hundreds of open source projects with free product licenses, contributed code to various open-source projects like Groovy and Scala, and developed several open-sourced IntelliJ Idea plugins ourselves," said Sergey Dmitriev, JetBrains CEO, in a statement released by the company. "So, you can see how offering the IntelliJ Idea experience for free, through an open source license, goes hand in hand with our focus on the community. Open source has become the mainstream, and we continue to embrace it as an exciting challenge. In brief, we're not changing direction -- we're moving forward." The Community Edition is geared to pure Java/Groovy applications or Swing development. It features such IntelliJ capabilities as refactorings, code inspections, coding assistance, debugging, and JUnit testing. Subversion also is supported as are Ant and Maven build integration. The Ultmate Edition is a full-featured commercial IDE with a complete set of Web and enterprise development tools. Version 9 will support Java Enterprise Edition 6, Android, Google App Engine, Google Web Toolkit, Adobe AIR (Adobe Integrated Runtime) and FlexUnit. Other capabilities include JavaScript refactorings and debugging, OSGi backing and PHP support. The Ultimate version also offers advanced code manipulation and integration with Rational ClearCase and Microsoft Team Foundation Server. The Community Edition is built on the IntelliJ Platform, which has served as the basis for the IntelliJ Idea IDE and other JetBrains tools. Users can access the source code to both the Community product and platform via the Apache 2 license. This story, "JetBrains readies open source version of its Java IDE [5]," was originally published at InfoWorld.com [6]. Follow the latest developments in open source [7] at InfoWorld.com. Links: [1] http://www.infoworld.com/d/open-source [2] http://www.jetbrains.com/idea/nextversion/free_java_ide.html [3] http://www.infoworld.com/d/developer-world/jetbrains-adds-java-ide-494 [4] http://www.infoworld.com/t/application-development/fate-some-sun-technologies-still-in-air-584?source=fssr [5] http://www.infoworld.com/d/developer-world/jetbrains-readies-open-source-version-its-java-ide-168?source=footer [6] http://www.infoworld.com?source=footer [7] http://www.infoworld.com/d/open-source?source=footer
Source: InfoWorld CouchDB, an Apache project providing a Web-accessible, key-value database, is emerging as an essential technology for running Web applications offline. CouchDB, which is being updated this week with release 0.10, itself is a Web server, with the ability to store bits and pieces of the Web application, said Chris Anderson, a committer on the project. [ Find out how CouchDB stacks up against other new-school databases such as Amazon SimpleDB and Google App Engine in InfoWorld Test Center's review: "Slacker databases break all the old rules ] "The Web application will be stored in the database and then the only client you need is the Web browser," Anderson said. "The whole inspiration [behind CouchDB] from the beginning has been to do Lotus Notes-style synchronization so that wherever you are, you have all your data," Anderson said. Anderson is part of a new venture called Relaxed Technologies, which is building small business/office software that works in a Web browser and uses CouchDB for synchronization between disconnected instances of applications. Relaxed Technologies software will keep working when an Internet connection goes down. CouchDB joins other offline application technologies such as Google Gears and Adobe AIR (Adobe Integrated Runtime). The main difference between CouchDB and a technology such as Gears is CouchDB offers the same application code running on the server and locally, Anderson said. Normally, developers have a lot of work to do to make an application run offline, he said. "If you build a CouchDB application, it runs offline right away," said Anderson. Ad hoc synchronization can be done with a laptop, he said. Also, if a business uses CouchDB as its server technology and a server or the Internet goes down, the business can keep running, he said. "CouchDB is pretty much the only open source project that can do offline synchronization," Anderson said. The database features a RESTful JSON API accessible from any environment allowing HTTP requests. CouchDB is designed to run on PCs and servers, with support for mobile devices planned. Canonical supports CouchDB in the client version of Ubuntu Linux. Version 0.10 features continuous replication. Users can link to CouchDB servers and stay up-to-date in real time. Cookie and OAuth authentication is also in the release, along with Windows build support. A 1.0 release is planned for later this year. "For developers writing Web applications, CouchDB is designed to be just easier and [resulting in] less fuss" than relational databases or Java application servers, Anderson said. The slogan of CouchDB is "relax," as in users can relax that their data is safe, he said. "We pride ourselves on having a very reliable storage engine," said Anderson. "We're not trying to build the Ferrari of databases; we're trying to build the Honda Accord of databases and that's a little different sweet spot," Anderson said. Developers can write a program for CouchDB and run it on a local machine or move it to a server or group of servers if the program becomes popular, Anderson said. CouchDB developers are looking for someone to build a browser plug-in that would make it easier to offer CouchDB locally. "We'd love to see anyone come along and develop that," Anderson said.
Source: ComputerWorld Technology research company Eolas Technologies, which won a $520.6 million patent infringement case against Microsoft in 2003, has filed a new patent lawsuit against 22 companies including Adobe Systems, Google, Yahoo, Apple, eBay and Amazon.com. Eolas' lawsuit, filed Tuesday in U.S. District Court for the Eastern District of Texas, claims the tech vendors and other companies have violated two Eolas patents, one for allowing embedded applications in Web browsers, and the second a continuation of the first patent, allowing Web sites to add embedded applications through the use of plug-ins and AJAX (asynchronous JavaScript and XML). "We developed these technologies over 15 years ago and demonstrated them widely, years before the marketplace had heard of interactive applications embedded in Web pages tapping into powerful remote resources," Michael Doyle, chairman of Eolas, said in a statement. "Profiting from someone else's innovation without payment is fundamentally unfair. All we want is what's fair." Eolas is asking the court to prohibit the defendants from using the patented technology and to pay triple the actual damages for willful infringement of the patents. "Right now, each of these companies is using our invention, but we're receiving no compensation," said Mark Swords, CEO of Eolas. Representatives of Google, Amazon.com and eBay didn't immediately respond to requests for comments on the lawsuit. Eolas was awarded a $520.6 million judgment in the lawsuit against Microsoft in August 2003. An appeals court threw out that ruling in March 2005 and ordered a new trial to determine the original patent's validity. The U.S. Patent and Trademark Office later upheld the first Eolas patent, number 5,838,906 ('906), and Microsoft settled the Eolas lawsuit in August 2007 for an undisclosed amount. The Microsoft patent award was used as an example of problems with the U.S. patent systems, with critics pointing to the award as a reason to pass patent reform legislation in the U.S. Congress. Several large tech vendors have pushed Congress for legislation that would make it harder for patent holders to collect huge patent awards, saying awards in recent years have gotten excessive. Patent reform legislation has been stalled in Congress for several years. In late 2003, Tim Berners-Lee, director of the World Wide Web Consortium (W3C), urged the U.S. Patent and Trademark Office to reject the '906 patent. The USPTO should invalidate the patent "in order to prevent substantial economic and technical damage" to the World Wide Web, he said then. But Swords noted that the USPTO has now looked at the '906 patent three times and upheld its validity. "One of the criticisms of the patent system has been that weak patents get out," he said. "That couldn't be further from the truth" in this case. Eolas, which focuses on building bioinformatics products, would be open to settlements from defendants that are willing to talk, Swords said. The original '906 patent was filed for technology that allows researchers to work together on large data sets, he said. He rejected arguments that enforcing the patent would hurt the Web. "We heard this in our lawsuit with Microsoft, that this is going to break the Web," he said. "It didn't." Mike McKool, of law firm McKool Smith and lawyer for Eolas, said he hopes the lawsuit will put an end to the widespread unauthorized use of the company's technology patents. "What distinguishes this case from most patent suits is that so many established companies named as defendants are infringing a patent that has been ruled valid by the Patent Office on three occasions," he said in a statement. The '906 patent was granted in November 1998. The second patent, number 7,599,985, was granted Tuesday. Other defendants in the patent lawsuit include Citigroup, the Go Daddy Group, Staples, Office Depot, Sun Microsystems and Texas Instruments.
Source: Adobe Adobe Systems Incorporated (Nasdaq:ADBE) today unveiled Adobe® Flash® Player 10.1 software for smartphones, smartbooks, netbooks, PCs and other Internet-connected devices, allowing content created using the Adobe Flash Platform to reach users wherever they are. A public developer beta of the browser-based runtime is expected to be available for Windows® Mobile, Palm® webOS and desktop operating systems including Windows, Macintosh and Linux later this year. Public betas for Google® Android™ and Symbian® OS are expected to be available in early 2010. In addition, Adobe and RIMannounced a joint collaboration to bring Flash Player to Blackberry® smartphones, and Google joined close to 50 other industry players in the Open Screen Project initiative. Flash Player 10.1 is the first consistent runtime release of the Open Screen Project that enables uncompromised Web browsing of expressive applications, content and high definition (HD) videos across devices. Using the productive Web programming model of the Flash Platform, the browser-based runtime enables millions of designers and developers to reuse code and assets and reduce the cost of creating, testing and deploying content across different operating systems and browsers. Flash Player 10.1 is easily updateable across all supported platforms to ensure rapid adoption of new innovations that move the Web forward. The browser-based runtime leverages the power of the Graphics Processing Unit (GPU) for accelerated video and graphics while conserving battery life and minimizing resource utilization. New mobile-ready features that take advantage of native device capabilities include support for multi-touch, gestures, mobile input models, accelerometer and screen orientation bringing unprecedented creative control and expressiveness to the mobile browsing experience. Flash Player 10.1 will also take advantage of media delivery with HTTP streaming, including integration of content protection powered by Adobe® Flash® Access 2.0. This effort, code-named Zeri, will be an open format based on industry standards and will provide content publishers, distributors and partners the tools they need to utilize HTTP infrastructures for high-quality media delivery in Flash Player 10.1 and Adobe® AIR® 2.0 software. To learn more about Flash Player 10.1 and to see video demos visit Adobe Labs. “With Flash Player moving to new mobile platforms, users will be able to experience virtually all Flash technology based Web content and applications wherever they are,” said David Wadhwani, general manager and vice president, Platform Business Unit at Adobe. “We are excited about the broad collaboration of close to 50 industry leaders in the Open Screen Project and the ongoing collaboration with 19 out of the top 20 handset manufacturers worldwide. It will be great to see first devices ship with full Flash Player in the first half of next year.” "We are excited to join Adobe and other industry leaders in the Open Screen Project," said Sundar Pichai, vice president of Product Management at Google. "This initiative supports our common goal to move the Web forward as a platform and to spur innovation in the industry through technology such as Adobe Flash." “Adobe Flash technology provides a key experience on new Windows phones, enabling people to enjoy rich Flash based games, videos and other interactive Web content on the go,” said Stephanie Ferguson, general manager, Product Management, Microsoft Corp. “We look forward to bringing in the new capabilities of Adobe Flash Player 10.1 to the Windows phone browser when it becomes available.” “Motorola is excited to be one of the first handset manufacturers to ship Android based devices with Flash Player support early next year,” said Christy Wyatt, vice president of software applications and ecosystem at Motorola. “As the No.1 platform for video on the Web, uncompromised browsing of Flash technology based content is essential for a rich mobile experience and something users expect from Motorola today.” “As a longtime partner of Adobe, and more than 400 million Nokia phones shipped with existing Flash technology to date, we are excited to see Flash Player becoming a reality for mobile phones and other mobile devices,” said Purnima Kochikar, vice president, Forum Nokia. “Nokia is excited about full Flash Player coming to devices and we are committed to supporting Flash Player 10.1 on mobile devices in 2010.” Open Screen Project Led by Adobe, the Open Screen Project includes close to 50 industry leaders working together to provide a consistent runtime environment across mobile phones, desktops and other consumer electronic devices. The initiative addresses the challenges of Web browsing and standalone applications on a broad range of devices, and removes the barriers to publishing content and applications seamlessly across screens. Participants of the initiative include Antena 3, Atlantic Records, ARM, BBC, Burda, Cell, Chungwha Telecom, Cisco, Comcast, Conde Nast, Daum, Disney Interactive, Fox Mobile, Google, HTC, Intel, LG Electronics, Lionsgate, Marvell, Motorola, MTV Networks, NBC Universal, Nokia, NTT DoCoMo, NVIDIA, OpenTV, Palm, Paramount, QNX Software Systems, Qualcomm, Stern.de, RIM, RTL, Samsung, Sony Ericsson, Texas Instruments, The New York Times, Toshiba, Verizon Wireless, Ziilabs and many others. For more information about the Open Screen Project visit www.openscreenproject.org. About Adobe Flash Platform The Adobe Flash Platform is the leading Web design and development platform for creating expressive applications, content, and video that run consistently across operating systems and devices and reach over 98 percent of Internet-enabled desktops. Flash Player 10 was installed on more than 93 percent of computers in just the first ten months since its release. According to comScore Media Metrix, approximately 75 percent of online videos viewed worldwide are delivered using Adobe Flash technology, making it the No. 1 format for video on the Web. Major broadcasters and media companies including Disney.com, MLB.com and DIRECTV rely on the Adobe Flash Platform for delivering video on the Web and the platform powers social network sites such as YouTube and MySpace. For more information about the Adobe Flash Platform visit www.adobe.com/flashplatform. About Adobe Systems Incorporated Adobe revolutionizes how the world engages with ideas and information – anytime, anywhere and through any medium. For more information, visit www.adobe.com.
|
|
|
|
|
|
|