The growing reliance on digital systems for learning has led to an abundance of data that captures both the learning contexts and underlying processes. Learning Analytics (LA), an emerging field, utilizes innovative tools to extract meaningful insights from this data. Digital platforms like Massive Open Online Courses (MOOCs) and Free/Libre Open-Source Software (FLOSS) repositories offer unique perspectives on individual and collaborative learning. This paper explores personal constructivism in MOOCs by analyzing students' learning behaviors and their impact on performance, while also examining social constructivism in FLOSS repositories to better understand collaborative learning dynamics. By applying process mining techniques, specifically conformance alignments, and cluster analysis, we investigate how patterns of student engagement in MOOCs correlate with their learning outcomes. Our findings show that consistent engagement with videos, following a specific sequence, and minimizing time gaps between video views leads to higher performance, while irregular engagement often results in suboptimal outcomes. Additionally, we explore FLOSS repositories to examine how community interactions-such as discussions and collaborative contributions-foster knowledge construction and social learning. This study integrates insights from both personal and social constructivism to provide a comprehensive understanding of learning behaviors in MOOCs and FLOSS environments. The findings offer valuable implications for course design and community management strategies aimed at optimizing learning experiences and addressing diverse needs in digital education.