Soliton and wave pattern dynamics in optical fibers