Simple javascript show / hide for Oracle UCM

If you work with the Oracle UCM platform for content management, you understand that it isn’t necessarily the most visually appealing or functional product on the market in its out-of-the-box format. You have to invest a good bit of time and, more importantly, development dollars customizing it to get a compelling front end-interface. Having worked on this platform for a while now, I have discovered some tricks that work well with the standard Oracle UCM implementation. For starters, all in-page javascript works like a champion! This is a great thing for a front end developer if you have limited access to the back end. (In most enterprise-level implementations, this will be the case.) If you are working with large amounts of written content, one of the more useful things you can do is add a show more/less function to the page. I ran across this by accident, having developed a page that was just way too long and needed to be shortened or broken into several smaller and more digestible sections. Our compliance team was adamant about having all of the information on the same page, so there began the search for a single-page solution. As you probably know, you can have different templates with different functionality in Oracle’s UCM product. The jQuery library offers easy implementation of dropdowns, sliders, transitions and more and it works great in Oracle UCM. We have jQuery installed on some of our templates, but it was not available for our compliance template. Uggghhhh!!!!!!

So, needing a quick solution, I began digging around to see what I could find. And there was nothing! What? how could it be that in this day and age there isn’t a readily available solution to my problem on the internet? Bummer. So I started playing around with UCM and some inline javascript. I knew I couldn’t access the header and put the script there, so I tried some inline scripting and it worked straight away. From there, I knew I just had to write the script in the right manner and I should have some jQuery-like functionality right there in UCM. As it turns out, it was a simple solution and it works great.

So, if you need a quick and easy Oracle UCM expandable regions solution, just download the attached zip file and copy and paste the code into the page UCM Content Contributor and edit the text. Simple solutions are sometimes elegant as well.

 

Download Oracle UCM Dropdown here

 

Call of Duty: Modern Warfare 3 review from PopWatch

If it ain’t broke, don’t fix it. That’s the general aesthetic strategy behind the multiplayer system in Call of Duty: Modern Warfare 3, which feels essentially identical to the multiplayer system Modern Warfare 2. Yes, there’s a new coat of paint, and I’m sure that a hardcore CoD nut could point to a million granular improvements. Here’s what I noticed after several hours of gameplay: There’s still a big map in a brokedown city, and a small map with a climbing structure, and a medium-sized map with a bunch of corridors. The available weapons are still incredibly realistic, accurately acronymic, and relentlessly dull. The Killstreak has been redefined into a “Pointstreak,” which allows you to earn rewards by doing more than just killing people. If you’re an expert, the new system adds a Sabermetric-ish depth to the gameplay: Assists are worth something! If you’re an average/mediocre player like me, then the Pointstreak just enhances the sensation that literally everything you do in Call of Duty earns you some kind of reward. It reminds me of playing Little League Baseball: Even if our team never won a single game, we still got a trophy for participation.

Here’s something else that hasn’t changed in Modern Warfare 3‘s multiplayer: It’s still shockingly addictive. I haven’t been a first-person-shooter nut in a long time. (Specifically, not since my freshman year of college, when — in the days before XBox Live — we’d use the dorm ethernet to have 16-player Halo deathmatches. At my height, I think I was the fourth-best player in the dorm.) But I can play Call of Duty for hours. It’s such a pristine, smooth experience, and the constant rewarding — You won a new Callsign! You’ve shot twenty people in the leg with an UMP45! — feeds into a genuine sense of accomplishment: You can feel yourself improving every time you play the game.

You could criticize the CoD franchise for playing it safe. Certainly, the more strategy-oriented Battlefield 3 offers a valuable counter-example of what a military shooter multiplayer could look like: Brainier, more strategic, more team-oriented. But there’s a reason why Battlefield 3 sold pretty well and Modern Warfare 3 set the franchise’s latest record for Biggest First Day Sales in the Recorded History of Pop Culture Things. There’s a pleasant simplicity and straightforwardness to the CoD multiplayer that allows casual and hardcore fans to play in the same sandbox. Coupled with the recent creation of the Call of Duty Elite service, Modern Warfare 3 feels like another step towards the ultimate singularity point, when Call of Duty will stop being a product you buy each year and will start to be a multimedia platform. In a funny way, playing the Modern Warfare 3 multiplayer feels a little bit like walking through an Apple Store, or spending a couple hours toodling around Facebook: Comfortable, repetitive, unarguably pleasant.

Here’s the funny thing: Everything I’m saying about the Modern Warfare 3 multiplayer system has absolutely nothing to do with the Modern Warfare 3 campaign, which is completely bananagrams insane. It only took me around seven hours to complete the campaign, which sounds ridiculously short — in a Zelda game, “seven hours” is about the point when you finally find the Hookshot and the game seriously gets started. But there is a dizzying array of spectacle packed into those seven hours.

Read More

5 more days to Call of Duty MW3

Published by in Games, Gaming on November 3rd, 2011

No discussion of programming and or design is complete without touching on one of my personal favorite subjects, Call of Duty. Perhaps the most anticipated video game of all time, the latest installment of the Call of Duty franchise is due to be delivered in only 5 more days!!! Needless to say, I, along with about a million other people, am completely stoked and salivating at the chance to play it. The reviews have been stellar, and there are some new features as well.

A little online research tells us that the game will immediately follow the events of Call of Duty: Modern Warfare 2, where the Russian Federation continues its invasion of the United States of America, and has also expanded its offensive to Europe, including England, France and Germany. Campaign stages are also planned for Somalia, Sierra Leone, Moscow and Dubai. Gameplay videos from E3 2011 in Los Angeles showed Delta Force soldiers helping Navy Seal Teams force a Russian submarine to surface in the East River and boarding it to destroy the other boats in the harbor. Before this, Delta Force soldiers are on a mission to destroy a radar jamming installation on top of the New York Stock Exchange. On Episode 502 of GameTrailers TV with Geoff Keighley, footage was shown of SAS soldiers fighting terrorists in the streets of London, eventually chasing them through a subway and killing them. They proceed to a subway station and eventually end up on the streets of London once again. Michael Condrey, Co-Founder of Sledgehammer Games, explained that the SAS are tracking a package belonging to ultra-nationalist Vladimir Makarov and is considered deadly and must be found and captured. Sounds great huh? Well it gets even better!

In Campaign Mode the player assumes the role of various characters during the single-player campaign, changing perspectives throughout the progression of the story. Each level is a mission that features a series of objectives that are displayed on the heads up display, which marks the direction and distance towards and from such objectives. Damage to the player is shown by blood shown on the screen. The player’s health regenerates as time passes. Tasks vary in their requirements, having the player arrive at a particular checkpoint, eliminate enemies in a specified location, stand their ground to defend an objective, or plant explosive charges on an enemy installation. The player will be accompanied by troops who cannot be issued orders.

Further reading has also revealed that Modern Warfare 3 will feature a new Survival Mode. Survival Mode features one to two players fighting endless waves of enemies with each wave getting more difficult. Despite being much compared to the World at War Nazi Zombies mode, enemies do not spawn at fixed locations like the zombies do, but instead, at tactical positions based on the current location of the player. The mode will be available on all multiplayer maps in the game and in the mode, players can earn “cash” for items such as weapons, upgrades and ammo. Spec Ops will also be returning from Modern Warfare 2 and will feature up to 48 stars, unlike Modern Warfare 2, which featured 69 stars.

Infinity Ward and Sledgehammer Games have confirmed that they revamped the entire killstreak reward system. They have stated that while Treyarch had slightly improved the system, it was not enough to make the system feel perfect. Killstreaks are now known as pointstreaks, and kills are no longer the only way to increase the player’s pointstreak. Completing objectives such as planting the bomb in “Search and Destroy” or capturing a flag in “Capture The Flag” will award points towards the player’s pointstreak. Pointstreaks rewards are organized into three different “strike packages” called Assault, Support, and Specialist. The Assault strike package works the same as the killstreak reward system in Modern Warfare 2 and Black Ops, offering rewards like the predator drone and helicopters. The Support strike package offers support-style rewards such as UAVs and SAM Turrets. Rewards from the support strike package do not reset when the player dies, but accumulate over the course of a match. The Specialist strike package rewards players with perks of their choosing after every second consecutive kill. After eight kills, they will receive every perk in the game, but will reset back to none upon death. Players are allowed to choose which pointstreak rewards they want to use when they gain it during the match, rather than choosing them between rounds.

Along with revamping the entire killstreak reward system, Modern Warfare 3 will also have a completely revamped ranking and unlocks system, and will not use a currency system for unlocks.The player’s primary weapon will level up alongside the player, and unlock a number of “Proficiency” perks such as Kick (reduced recoil while aiming down the player’s sight) and Focus (stay focused under fire). Only one Proficiency can be put on each weapon. Another new addition is the ability to equip Hybrid Scopes on a weapon, such as a Red Dot Sight and ACOG Sight on a single weapon, and the player can switch between the scopes. Modern Warfare 3 will introduce a “Prestige Shop” which will unlock only after the player has selected the option to prestige for the first time. The “Prestige Shop” will allow prestige players to use tokens they gain from using the prestige option to buy exclusive features such as double XP and a extra custom class.

Infinity Ward and Sledgehammer Games have also revealed that they are attempting to balance perks that make players rely less on skill, by removing certain perks that give players a major advantage over others who do not possess the same perk. “Quick-scoping” has returned, while diving to prone or “dolphin diving” has been removed due to balancing issues.The teams have also revealed that to fix bugs and glitches, they will utilize Treyarch’s hot fix system. Modern Warfare 3 will feature a local and online split-screen option.

Several new game modes have also been added. “Kill Confirmed” requires players to collect floating dog tags from the corpse of a downed enemy before the kill can be registered. However, the opposing team can pick up the dog tag as well to deny the other team of a kill. In “Team Defender”, both teams must try to cap a flag dropped by the first person who gets killed when the match starts, and hold it to accumulate points. Private matches also now include pre-made game modes including “Infection” (where the infected kills enemies to recruit them to their team), “Drop Zone” (where the player must hold a drop zone for points and care packages), “Team Juggernaut” (each team plays alongside an AI Juggernaut character), “Gun Game” (be the first to get one kill with every gun in the game) and “One in the Chamber” (in which players are only allowed one pistol with one bullet and three lives where they can only get more bullets by killing other players). Along with this, players are allowed to create their own game modes with customized settings such as number of players and time limit.

R.I.P Steve Jobs – Apple Founder and Inventor of the Personal Computer dead at 56


Steven P. Jobs, the Apple Inc. chairman and co-founder who pioneered the personal-computer industry and changed the way people think about technology, died Wednesday at the age of 56.

His family, in a statement released by Apple, said Mr. Jobs “died peacefully today surrounded by his family.”

The company didn’t specify the cause of death. Mr. Jobs had battled pancreatic cancer and several years ago received a liver transplant. In August, Mr. Jobs stepped down as chief executive, handing the reins to longtime deputy Tim Cook.

“Apple has lost a visionary and creative genius, and the world has lost an amazing human being,” Mr. Cook said in a letter to employees. “We will honor his memory by dedicating ourselves to continuing the work he loved so much.”

During his more than three-decade career, Mr. Jobs transformed Silicon Valley as he helped turn the once-sleepy expanse of fruit orchards into the technology industry’s innovation center. In addition to laying the groundwork for the industry alongside others like Microsoft Corp. co-founder Bill Gates, Mr. Jobs proved the appeal of well-designed products over the power of technology itself and transformed the way people interact with technology.

“The world rarely sees someone who has had the profound impact Steve has had, the effects of which will be felt for many generations to come,” Mr. Gates said in a statement Wednesday.

The most productive chapter in Mr. Jobs’s career occurred near the end of his life, when a nearly unbroken string of successful products like the iPod, iPhone and iPad changed the PC, electronics and digital-media industries. The way he marketed and sold those products through savvy advertising campaigns and Apple’s retail stores helped turn the company into a pop-culture phenomenon.

At the beginning of that phase, Mr. Jobs described his philosophy as trying to make products that were at “the intersection of art and technology.” In doing so, he turned Apple into the world’s most valuable company with a market value of $350 billion.

After losing considerable weight in mid-2008, Mr. Jobs took a nearly six-month medical leave of absence in 2009, during which he received a liver transplant. He took another medical leave of absence in mid-January, without explanation, before stepping down as CEO.

Mr. Jobs is survived by his wife, Laurene, and four children.

Mr. Jobs turned Apple into the largest retailer of music and helped popularize computer-animated films as the financier and CEO of Pixar Animation Studios, which he later sold to Walt Disney Co. He was a key figure in changing the way people used the Internet and how they listened to music, watched TV shows and movies, and read books, disrupting industries in the process.

“Despite all he accomplished, it feels like he was just getting started,” Disney CEO Robert Iger said in a statement Wednesday.

Mr. Jobs pulled off a remarkable business comeback, returning to Apple after an 11-year absence during which he was largely written off as a has-been. He went on to revive the struggling company by introducing products such as the iMac all-in-one computer, iPod music player and iTunes digital-music store.
Beyond PCs

Apple now produces $65.2 billion a year in revenue compared with $7.1 billion in its business year ended September 1997. Apple dropped the “computer” in its name in January 2007 to underscore its expansion beyond PCs.

Although Mr. Jobs officially handed over the reins of the company to Mr. Cook, his death nevertheless raises a question for Apple of how it will sustain its success without his vision and guidance. Other companies, including Walt Disney, Wal-Mart Stores Inc. and International Business Machines Corp., experienced some transitional woes before eventually managing to thrive after their charismatic founders passed on.

But few companies of that stature have shown such an acute dependence on their founder, or have lost the founder at the peak of his career. Several years after Mr. Jobs was fired from Apple in 1985, the company began a steady decline that saw it drift to the margins of the computer industry. That slide was reversed only after Mr. Jobs returned in 1997.

Mr. Jobs also leaves behind many tales about his mercurial management style, such as his habit of calling employees or their ideas “dumb” when he didn’t like something. He was even more combative against foes like Microsoft, Google Inc., and Amazon.com Inc. When Adobe Systems Inc. waged a campaign against Apple for not supporting Adobe’s Flash video format on its iPhones and iPads in April 2010, Mr. Jobs wrote a 1,600-word essay about why the software was outdated and inadequate for mobile devices.

He maintained uncompromising standards for the company’s hardware and software, demanding “insanely great” aesthetics and ease of use from the moment a shopper walked into one of Apple’s stores. His attention to detail shaped some of the distinctive features of Apple’s products.

Mr. Jobs enforced strict secrecy among employees, a strategy that he believed heightened anticipation for new products. News of his death came a day after Apple unveiled its newest device, the iPhone 4S, without him on stage.

Mr. Jobs, the adopted son of a family in California, was born on Feb. 24, 1955. A college dropout, he established his reputation early on as a tech innovator when, at 21 years old, he and friend Steve Wozniak founded Apple Computer Inc. in the Jobs family garage in 1976. Mr. Jobs chose the name, in part, because he was a Beatles fan and admired the group’s Apple records label, according to the book “Apple: The Inside Story of Intrigue, Egomania, and Business Blunders” by Wall Street Journal reporter Jim Carlton.

The pair came out with the Apple II in 1977, a computer that was relatively affordable and designed for the mass market rather than for hobbyists. It went on to become one of the first commercially successful PCs, making the company $117 million in annual sales by the time of Apple’s initial public offering in 1980. The IPO instantly made Mr. Jobs a multimillionaire.

Not all of Mr. Jobs’s early ideas paid off. The Apple III and Lisa computers that debuted in 1980 and 1983 were flops. But the distinctive all-in-one Macintosh—foreshadowed in a TV ad inspired by George Orwell’s novel “1984″ that famously only aired once—would set the standard for the design of modern computer operating systems.

Even then, Mr. Jobs was a stickler for design details. Bruce Tognazzini, a former user-interface expert at Apple who joined the company in 1978, once said that Mr. Jobs was adamant that the keyboard not include “up,” “down,” “right,” and “left” keys that allow users to move the cursor around their computer screens.

Read more

© Development Newswire